Viewing 15 posts - 976 through 990 (of 1,065 total)
I disagree with Chief78CJ7. Nulls are indexed.
You can prove this by creating a simple table, inserting say 1000 non-null rows and a single null row. Add an index and...
May 6, 2003 at 7:34 am
According to BOL (look under 'limitations-SQL Server objects'), the maximum no of parameters is 2100.
It doesn't specify whether there is a specific limit on input vs output parameters.
Not...
May 2, 2003 at 9:03 am
I think the answer to this is down to where the filtering of data is done.
The query using the where clause (your second example) is filtering the TblLog rows before...
April 30, 2003 at 7:48 am
During failure testing, we have seen databases left in 'suspect' mode quite frequently when SQL Server has been stopped in the middle of a transaction log restore.
In the majority of...
April 28, 2003 at 7:53 am
You will need to re-run the SQL Server setup program again.
Setup knows that the server software is already installed, so won't actually do a re-install (so you won't lose...
April 28, 2003 at 1:44 am
Just what I was after.
Thanks very much Allen.
April 25, 2003 at 10:14 am
Your variable @ExecSP must be defined as nvarchar. I suspect you are defining it as varchar
April 25, 2003 at 6:40 am
You won't necessarily see deadlocks as they would come back to the client with the dealock error, but have you tried running sp_who2 to see if there is any blocking....
April 24, 2003 at 10:14 am
I haven't had a chance to try this out, but changing the update statement to something like this should get the updates done in the correct order.:-
update tablename set colname=@ctr,@ctr=@ctr+1...
April 24, 2003 at 10:08 am
I totally agree with both Jeremy and David.
Cursors may not be liked by the 'purists', but they are part of the SQL language, so why shouldn't you use them. Especially...
April 24, 2003 at 2:17 am
This should do it:-
declare @ctr int
set @ctr = 0
update tablename set colname=@ctr,@ctr=@ctr+1
April 24, 2003 at 1:23 am
SELECT INTO is not logged (see BOL for details), and can be used to create and copy rows into the archive table.
You may also find it quicker to create a...
April 23, 2003 at 1:30 am
You will find specific instructions for doing this in the help that comes with SP3
I can't remember what the document is called, but if you unpack the service pack, I...
April 23, 2003 at 1:24 am
If you are doing an UPDATE tablename WHERE col=x ..., what may be happening is that SQL Server is reading all of the rows in the remote table over the...
April 23, 2003 at 1:18 am
You can set MAXDOP on a whole server basis from the Processor tab on the Server Properties dialog in Enterprise Manager.
But it kind of defeats the object of having multiple...
April 17, 2003 at 7:08 am
Viewing 15 posts - 976 through 990 (of 1,065 total)