Viewing 15 posts - 2,506 through 2,520 (of 3,543 total)
Another way is to BACKUP the db and use RESTORE ... WITH MOVE
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
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...
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...
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... |
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...
October 14, 2004 at 7:21 am
![]() | Gosh, don't we all take these things a bit too seriously. |
Probably
Bragging...
October 14, 2004 at 6:55 am
![]() | How can a question like this get through QA ? |
Wow a volunteer for QA !!!
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.
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...
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...
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...
October 13, 2004 at 6:46 am
As written you must use
EXEC sp_executesql
or do you mean that the sql works with EXEC but not sp_executesql ?
Trigger, yes sp_executesql will cache query plans but if I remember...
October 13, 2004 at 3:04 am
Viewing 15 posts - 2,506 through 2,520 (of 3,543 total)