Viewing 15 posts - 2,506 through 2,520 (of 3,544 total)
In addtion, two things
When you transfer logins they will not necessarily retain their default database.
If you transfer sql logins be careful of passwords. If the destination server has a different...
Far away is close at hand in the images of elsewhere.
Anon.
October 19, 2004 at 7:08 am
Another way is to BACKUP the db and use RESTORE ... WITH MOVE
Far away is close at hand in the images of elsewhere.
Anon.
October 19, 2004 at 6:58 am
Use CREATE DATABASE ... FOR ATTACH see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_create_1up1.asp
Far away is close at hand in the images of elsewhere.
Anon.
October 19, 2004 at 6:54 am
When a SQL7 db is attached to SQL2K it is converted, the same is true of restoring a db from a backup.
A SQL2K database cannot be attached to SQL7.
I have...
Far away is close at hand in the images of elsewhere.
Anon.
October 19, 2004 at 6:45 am
Alternatives to Kenneth's
select number
from master.dbo.spt_values
where type ='P'
and number between 1 and 52
order by newid()
select top 5 number
from master.dbo.spt_values
where type ='P'
and number between...
Far away is close at hand in the images of elsewhere.
Anon.
October 18, 2004 at 6:48 am
| Correct me if I am wrong, but I thought Parameters had to be added in order of SP... |
Far away is close at hand in the images of elsewhere.
Anon.
October 14, 2004 at 7:32 am
The error is a result of passing and empty string to a int parameter (int,smallint,tinyint). .NET will not convert empty strings to integer.
As an additional note you are implicitly converting...
Far away is close at hand in the images of elsewhere.
Anon.
October 14, 2004 at 7:21 am
| Gosh, don't we all take these things a bit too seriously. |
Probably ![]()
Bragging...
Far away is close at hand in the images of elsewhere.
Anon.
October 14, 2004 at 6:55 am
| How can a question like this get through QA ? |
Wow a volunteer for QA !!! 
Far away is close at hand in the images of elsewhere.
Anon.
October 14, 2004 at 3:52 am
Well, Kelvin, you sure know how to kill a lively debate stone dead. ![]()
You are correct of course. ![]()
Far away is close at hand in the images of elsewhere.
Anon.
October 14, 2004 at 3:13 am
I agree with you Scott, plan reuse in this scenario is probably minimal, I just answered the questions stated without commenting on the usage.
Again, not in this case, but sql...
Far away is close at hand in the images of elsewhere.
Anon.
October 14, 2004 at 2:07 am
From BOL
varchar[(n)]
When n is not specified in a data definition or variable declaration statement, the default length is 1. When n is not specified with the CAST function, the default...
Far away is close at hand in the images of elsewhere.
Anon.
October 13, 2004 at 6:53 am
Table Scan
SQL processes all rows in the table looking for a match
Index Scan
SQL processes all rows in the index looking for a match
Index Seek
SQL processes the leaf layers and leaf...
Far away is close at hand in the images of elsewhere.
Anon.
October 13, 2004 at 6:46 am
or
WHERE DATEDIFF(day,RemovedDate,GETDATE()) < 7
Far away is close at hand in the images of elsewhere.
Anon.
October 13, 2004 at 3:26 am
Viewing 15 posts - 2,506 through 2,520 (of 3,544 total)