Viewing 15 posts - 481 through 495 (of 1,065 total)
It seems that a small change to the TSQL select statement will make the query much slower. Just adding one more (int) field to the output column list causes a...
September 3, 2009 at 10:29 am
You aren't limiting the list to a particular type of backup (Full, Differential or Log)... is this really what you want?
I suspect the script should include AND Type = 'D'
September 3, 2009 at 7:11 am
Ian Hockaday (9/2/2009)
When I add the local variables instead of using constants, then the TSQL is bad too! ...interesting.
... which is progress of a sort.
Can you post the DDL for...
September 2, 2009 at 1:30 pm
GSquared (9/2/2009)
September 2, 2009 at 1:07 pm
Ian Hockaday (9/2/2009)
Captain Scarlett:ReadingID is a BIGINT - same as param (when used)
Thanks
Darn... Just a hunch, but I remember seeing a case (on SQL2000) where a parameter of Bigint for...
September 2, 2009 at 12:14 pm
What is the datatype of ReadingID in the table?
Does it match the datatype of the SP parameter?
September 2, 2009 at 7:55 am
Not sure what your question is, but...
The error message you are getting means that SQL Server is trying to replicate an UPDATE or DELETE command to the subscriber database, and...
September 2, 2009 at 7:39 am
I doubt anything's wrong, the SP2 you're refering to is going to be the OS version, not the SQL Server version.
September 2, 2009 at 7:05 am
I've looked at log shipping but the limitation that it can't handle file operations such as adding files is a problem.
What do you mean here?
I'm certain I have added files...
September 2, 2009 at 3:30 am
From a SQL point of view, you can't improve the performance... selecting all columns from all rows in a table will just have to read all the pages allocated to...
August 22, 2009 at 6:08 am
From a performance perspective... they are the same. Have a look at the query plans, and you will see that they should be the same.
The second type query has been...
August 22, 2009 at 6:02 am
Lynn Pettis (8/22/2009)
August 22, 2009 at 5:18 am
How about posting a list of "stroppy" posters?
I'd hate to accidentally help anyone whose is rude and ungrateful or just plain unwilling to make an effort themselves.
Anybody who is willing...
August 22, 2009 at 1:45 am
Yes, it's possible using the WITH MOVE part of the restore command e.g.
RESTORE DATABASE DB11NEW
FROM DISK='{drive\path}\DB11.bak'
WITH
MOVE 'DB11_Data' TO '{drive\path}\DB11NEW.mdf',
MOVE 'DB11_log' TO '{drive\path}\DB11NEW.ldf'
(assuming DB11_Data and DB11_log are the logical...
August 20, 2009 at 3:43 am
And when you've done what Gus suggests, it's worth reading Gail's article on managing the transaction log http://www.sqlservercentral.com/articles/64582/
August 19, 2009 at 1:29 pm
Viewing 15 posts - 481 through 495 (of 1,065 total)