all groups > sql server new users > december 2005
Filter by week: 1 2 3 4 5
SQL 2005 Express: Scheduling Backups
Posted by Ed Warren at 12/31/2005 4:20:01 AM
I want to backup a SqlServer Database on a schedule (database:: MyData,
(nightly)). It appears you can do this using the management wizard in SQL
2005 standard but not in Express. Is there a work around for SQL Express?
Thanks
Ed Warren
... more >>
Visual Studio 2005 - Recent Projects List
Posted by Jay at 12/30/2005 10:37:11 AM
How do I edit the recent projects list. I may create test projects, etc
that I do not want to appear in that list.
Thanks.
jay
... more >>
Location of "SQL Server Management Studio" Folder
Posted by Jay at 12/29/2005 1:44:44 PM
When I installed SQL Server 2005 it setup a folder for projects in "SQL
Server Management Studio" which by default is in My Documents.
How can I change this location? I have looked in the typical places (Tools
| Options), etc. but cannot see anything.
Jay
... more >>
Copy SQL Server Objects Fails for certain views
Posted by Jonathan Orgel at 12/29/2005 12:05:29 PM
We have been using the 'Copy SQL Server Objects' with success for some time
to copy an entire database to another server. Recent changes to our database
infrastructure cause DTS to fail:
1) We have a check constraint which uses a user function (which refers to
the table on the check constrain... more >>
Can I keep bookmark persistently?
Posted by Frank Lee at 12/27/2005 10:24:41 PM
Can I keep bookmark persistently?
I mean I can set bookmark by using Microsoft SQL Server Management Studio,
create Folder for bookmarks or rename bookmark. However, can I save the
informations for all bookmarks so that I will see the bookmarks next time I
reopen Management Studio?
... more >>
Passing parameters to isql/osql
Posted by Wladimir Mutel at 12/27/2005 6:19:57 PM
Hi,
In isql docs, I see and example :
isql /Q "EXIT(SELECT COUNT(*) FROM '%1')"
How should I interpret it ? Where are these percent-parameters
documented ? In fact, I am looking for a way to pass some parameters to
the script executed by isql, be it through environment or ... more >>
Typical number of clients supported by one server?
Posted by Jesper at 12/27/2005 2:57:22 PM
I have developed a winforms DotNet application which has been tested for
performance and concurrentcy with a few clients on a small MSDE engine. But
I've never done any real scalability testing. The application will go live
with about 50 clients to begin with, but likely to multiply 10 fold so... more >>
how do I import a database?
Posted by middletree at 12/27/2005 2:15:29 PM
Cannot figure this one out. I installed 2005 Express, and can create a new
db just fine. But I want to copy a full db, which has 40-something tables,
from a SQL 2000 instance on another machine. If this was 2000, I'd just
right-click and select All Tasks-->Import.
But 2005 has no such optio... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do you implement a dictionary?
Posted by Paul at 12/27/2005 1:54:15 PM
OK, I understand that a table with a single row IS a dictionary.
Actually that's how my app stores its globals right now, but
predictably this row is getting unmanagably long.
So I was thinking it's time for a do-it-yourself dictionary table, what
I had in mind was a key column (VARCHAR), valu... more >>
Sql Server classes in SF, CA
Posted by mrmagoo at 12/26/2005 5:27:35 PM
Can anybody recommend an instructor-led class or training organization in
SF?
Boot camps or 1 week training are good.
Thanks.
... more >>
MS SQL Express and setup to users PC
Posted by Washington at 12/26/2005 9:52:34 AM
Hi,
I had used MS Access with my application. I wasn't satisfied with MS Access
security and I decided to use MS SQL Express.
I upsized database and everything works well...
I have to deploy this application on users PC with setup. Anyway application
had made by VS 2003, c# if is importan... more >>
SQL Express, No of users
Posted by John at 12/25/2005 4:08:05 PM
Hi
What is the maximum number of users supported on sql server 2005 express?
Thanks
Regards
... more >>
Synchronising/replicating access with sql server
Posted by John at 12/25/2005 3:10:26 PM
Hi
Is there a way to synchronise/replicate an access db with sql server 2000
db, short of writing the code oneself?
Thanks
Regards
... more >>
Simple Select ?
Posted by Vishal at 12/25/2005 1:13:04 AM
Hi,
I have one Table which has Sales for 5 Year, the structure is as follows
Store ID INT
Year INT
Month INT
SALES MONEY
Is it possible to get the sales for Feb 2004 & Feb 2005 in a single query ?
Something like this
Store ID Year Month Sales
1 ... more >>
Synchronising with remote server
Posted by John at 12/25/2005 1:01:02 AM
Hi
We have an internal ms access database which we need to synchronise with our
website with sql server 2005 backend which is hosted on a public host. My
question is; is there a way to keep the two databases synchronised using the
technologies built in sql server 2005 and/or access? We also... more >>
isql printing prompts to its output
Posted by Wladimir Mutel at 12/23/2005 6:33:56 PM
Hi,
I am trying to run isql with some script on its input, and I am getting
something like 1>2>3>
at the beginning of the output. I suspect these are isql prompts, but I
don't need them in my output.
How should I suppress their printing ? I could not find an obvious way.
... more >>
Conversion of SmallInt data type to Unsigned data type
Posted by Uma at 12/23/2005 3:25:15 PM
Hai,
In a table, I am having a field of data type SmallInt, whose limit
is -32,768 to 32,767. How can I modify this data type to UnsignedSmallInt,
with limit, 0 to 65535, is it possible? Or should I use only Integer?
Thanks in advance.
Regards,
Uma
... more >>
Service Account
Posted by David Veeneman at 12/22/2005 4:28:12 PM
I am installing SQL Server 2005 (Developer Edition) to use with Visual
Studio 2005. I am installing it on my development machine, which is not part
of a domain, and I am going to use it strictly for development, not in
production.
Here is my question: What is the best way to set up the serv... more >>
Copying Database from sql 2005 to sql 2000
Posted by Ed Warren at 12/21/2005 5:46:23 PM
Got myself into a box!!
Did my development work in sql 2005 -- neat works great
Gotta put it into a sql 2000 instance for deployment.
--- sql 2005 -- Database Properties -- Compatibility level set to SQL Server
2000 (80)
detached the database
copied the files into the data directory for SQL... more >>
'Group by' problem
Posted by Digit24 at 12/21/2005 4:39:57 PM
This is an SQL statement that we had working in an Access database:
Select First(tblProducts.ProductName) AS TheProduct, First(TheDescription)
AS TheDescriptionText, tblProducts.ProductID, First(tblVersions.TheMedium)
AS TheMedium, First(tblProducts.TheOrder) AS TheOrder FROM tblProducts LEFT... more >>
SQL Server Tools
Posted by Jason Williard at 12/20/2005 6:01:50 PM
I have a SQL Server 2000 server running on a leased server. As they
installed the server, I don't have access to the installation CD. Is
there a way to download the utilities, such as Query Analyzer and
Enterprise Manager so I can run these from other servers not running
SQL Server?
Thank Y... more >>
Debugging a Stored proc - how?
Posted by Bob at 12/20/2005 1:49:45 PM
I'm writing a stored proc in SQL 2005 Management studio. My syntax checks
out. I select the stored proc and in the popup menu I select Execute stored
procedure. In the dialog I see the parameters needed and pass it a parameter
then click OK. The stored procedure starts but returns an error mes... more >>
Z Cardinality
Posted by Howard Swope at 12/19/2005 3:51:51 PM
Is there a way to enforce Z or N cardinality through SQL Server ?
TIA
Howard
... more >>
Recovery model for system databases
Posted by isabelle at 12/19/2005 3:51:02 PM
Hi,
I've inherited a SQL Server and one of the changes I made was put all the
user databases in full recovery mode. Current backups are set for a full
database backup at midnight every night and a log backup shortly thereafter.
My question is:
- I was told that the system databases shoul... more >>
Insert Today's Date Into Table
Posted by RC- at 12/19/2005 3:06:56 PM
I have an INSERT INTO statement that I am trying to modify. I am trying to
insert today's date into the table. How can I insert today's date into the
table using a SQL Statement. Here is a copy of what I have so far.
INSERT INTO cfj_jobs_added_log (Job_ID, Job_Description)
SELECT Job_ID,... more >>
Seeing line numbers in query editor (sql 2005) how
Posted by Bob at 12/19/2005 12:23:52 PM
Is it possible to see the line numbers of the T_SQL code in query editor, it
would be usefull when writing code and you get a really explicit message
like syntax error near ' at line 49 <GGGG>
Thanks for any help,
Bob
... more >>
SQL2K Table linked with a Progress table
Posted by Tyler D. at 12/19/2005 9:15:15 AM
Our MRP is running on Progress. We connect to it using the Merant driver. We
run scheduled DTS overnight, but I need a particular sql table to be synced
with the Progress table. I will only read the SQL table. I'm not sure where
I should start. Any pointers would be appreciated.
Thanks
TD
... more >>
Remove leading zeros
Posted by Devibez at 12/19/2005 7:40:02 AM
I have a nvarchar column that was imported from a fox pro table and I want to
continue to use it as my primary key but, it has leading zeros.
eg. ('0000000027')
How can I convert this string to a data type that I can utilize
identity(auto incrementing) in order to continue using this column... more >>
Stored Proc T-Sql question
Posted by Bob at 12/18/2005 10:59:15 AM
Create Procedure <MyProcedure>
as
Declare @MyNewKey as integer
INSERT INTO MyTable (Myfield) Select Myfield from MyOtherTable where
myOtherPrimaryKey = 1
--Can only return one record from select so I can only insert 1 record
into my table which is fine.
Question is,
... more >>
Question regarding variables in Stored Proc
Posted by Bob at 12/18/2005 10:16:04 AM
CREATE PROCEDURE <sp_MYstoredproc>
@Myvar1 int, -- this one I will need to pass from the calling
code
@MyVar2 OUTPUT -- This one I do not wish to call from the calling
procedure or sub, nor do I wish to receive it back in the calling procedure
, I just want to use it i... more >>
Connection string problem
Posted by John at 12/17/2005 3:41:39 PM
Hi
I have a typical vs2005/sqlexpress2005/sqlserver2005 setup. I am using the
following connection string;
<add name="Membership" connectionString="Data Source=.\SQLEXPRESS;Integrated
Security=True;User
Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf"/>
with sqlexpress 2005... more >>
Question regarding sql 2005
Posted by Bob at 12/17/2005 1:24:05 PM
Sometimes when I enter new data in a table row in the Management studio. I
get an exclamation mark after I entered the data on a row and moved to the
next row. The message I get when I hover over the exclamation mark icon at
the left of the row says that the row was committed to the database b... more >>
2000 and 2005 on same box
Posted by Evan Camilleri at 12/17/2005 10:45:48 AM
Can I install Sql 2000 and Sql 2005 on same box?
Any website with instructions?
Evan
... more >>
Return remainder on query that includes integer division?
Posted by Chris at 12/16/2005 3:11:14 PM
I'm trying to return the average of an integer field for a group of records
in my database. I'd like the average to include the integer and the
remainder as one rounded decimal point; e.g., 7.299999 = 7.3. So far, all
I've been able to return is an integer. I've reduced my testing to just
us... more >>
having problem with backup device
Posted by Fei at 12/16/2005 4:15:02 AM
in the SQL Books Online, i read this:
++++++++++++++++++++++++++++++++++++++++++++
How to create a logical disk backup device (Enterprise Manager)
To create a logical disk backup device
Expand a server group, and then expand a server.
Expand Management, right-click Backup, and then click N... more >>
error 4425 why ?
Posted by Adrian Parker at 12/15/2005 2:25:54 PM
Can someone please explain why you get error 4425 when joining an already
joined table to another table ?
/* This query works as expected */
SELECT t1.somedata,
(SELECT somedata
FROM table3 t3
WHERE t3.key_ref = t2.key_ref)
FROM table1 t1,
table2 t2
WH... more >>
Aggregate Function Error
Posted by Preacher Man at 12/15/2005 8:13:10 AM
I am having a problem with a query statement when I try to use sum( ) on a
field in the query. For example:
select somast.fsono, somast.forderdate, somast.fcompany, sorels.fduedate,
sum(fnetprice)
from somast inner join sorels on somast.fsono=sorels.fsono
where somast.fstatus<>'CANCELLED'
... more >>
Trying to copy data
Posted by Doug Handler at 12/15/2005 4:37:33 AM
Hi,
I'm trying to copy data from db1.table1 to db2.table1 in 2k5, but can't seem
to find a tool that does that. What can i use to do it?
dh
... more >>
How do I report a bug in SQL server to Microsoft?
Posted by Volcano at 12/14/2005 9:10:57 PM
I'm just a test user (MSDN license), not a customer.
... more >>
make changes with scripts
Posted by Sam at 12/14/2005 12:55:28 PM
i have some changes to make in user's database
for this i have scripts with "alter view/alter proc ...."
how i can make those changes without opening each script, but by taking all
of them in some automatic way?
sam
... more >>
Shared SQL Server Express Database on a network path
Posted by Peter Huber at 12/14/2005 9:55:29 AM
Hi
I am new to SQL Server Express and have done my first steps with a local
test database together with Visual Basic 2005 Express. Now I want to install
te database file in a shared folder to give access to other users too.
Now I have the error message, that the file is located on a UNC shar... more >>
Valid SQL server database file
Posted by claudia_usa at 12/14/2005 6:32:02 AM
Hi,
I have the mdf and ldf files of a database I want to use on my server. In
enterprise manager, I select “attach database†and chose the mdf file. I
immediately get the error “The file you’ve specified is not a valid SQL
server database fileâ€. I don’t think these files are physi... more >>
How to Change?
Posted by Vasant Srisanan at 12/14/2005 4:03:29 AM
From Windows authentication to Sql authentication
How to set?
Thank you.... more >>
MDF file not a valid SQL server database file
Posted by claudia_usa at 12/14/2005 12:01:02 AM
Hi,
I have the mdf and ldf files of a database I want to use on my server. In
enterprise manager, I select “attach database†and chose the mdf file. I
immediately get the error “The file you’ve specified is not a valid SQL
server database fileâ€. I don’t think these files are physi... more >>
SQL 2005 Beta2 databases cannot be attached into final ver
Posted by BRAT, Juraj at 12/13/2005 1:04:21 PM
Hello all,
I would like to ask you about compatibility, because I detached all
databases before upgrade Beta to final version.
After successfull upgrade I have been try to attach databases back and I get
information about incompatibility :(((
Is there any way how to get the databases wo... more >>
Join two different data types?
Posted by eagle at 12/13/2005 10:45:48 AM
I have 2 Client tables (for reasons I won't get into), we'll call them
tblClient1, tblClient2. I have a 3rd table (tbl3) that has a ClientID
column (varchar) and each record may reference data from either table, never
both.
tblClient1, however, uses an integer as the ID field, and tblClient2... more >>
Cannot connect to SQL 2005 Express instance using SQL Server Management Studio
Posted by Volcano at 12/13/2005 12:13:02 AM
Hello:
I cannot seem to connect to a SQL 2005 Express instance using SQL Server
Management Studio. Is this not supported?
Thanks,
-V
... more >>
eliminate duplicate records
Posted by Loane Sharp at 12/11/2005 2:04:04 PM
Hi there
A couple of bright sparks decided to clean up some of our databases, and in
the process permanently deleted about 300,000 records from a particular
table. I've spent a month trying to identify the missing records from
archives and previous backups, and I've finally made some progress... more >>
SQL Express NT File Permissions
Posted by David Veeneman at 12/11/2005 12:42:51 PM
I'm just getting started with SQL Server, using SQL Server Express. One of
he first issues I ran into was SQL Server being denied access when I tried
to attach a database file.
I looked up SQL Server in Control Panel > Administrative Tools > Services
and saw that SQL Server was logged on as... more >>
Binary Data
Posted by Wolverine at 12/9/2005 8:52:20 PM
Hi anyone,
I'm new in SQL Server and I'm trying to write a query that stores binary
data in a table.
Binary data consists in an SHA 512-bit hash and I don't know how to
store it.
This is my SQL script:
CREATE TABLE Permission (
username varchar(16) not null,
pa... more >>
|