Viewing 15 posts - 2,221 through 2,235 (of 3,233 total)
JOINing a derived table in place of the IN clause should do the trick. Try this (and keep in mind I haven't tested it):
SELECT NULL CompanyName, NULL OrderDate
UNION ALL
SELECT...
June 22, 2007 at 12:27 pm
It would be great if you knew for sure that it was a good or bad backup; however, all backups would fall into your #3 category. One never truely knows...
June 22, 2007 at 10:17 am
You can try a RESTORE VERIFYONLY on the file, but I would suggest restoring the full and incrementals on a test server as this would be the best way to...
June 22, 2007 at 9:50 am
I like Sergiy's solution. Just to add in another option for you, you could use an UPDLOCK hint on your first SELECT from the MyControlTable.
June 22, 2007 at 8:47 am
Exactly which performance reasons are you concerned about that would keep you from using SELECT COUNT(*)???
June 21, 2007 at 9:00 am
I'm not sure what is going on with your breakpoints as they work fine for me here including the step in/out functionality. The problem with your stored proceudre not updating the...
June 20, 2007 at 1:10 pm
What is the hostname and applicationname values for this entry in Profiler? Both ALZDBA and mkeast are correct. Someone is running this stored procedure and then using the statement 'select...
June 19, 2007 at 10:49 am
There really isn't any sort of precedence for T-SQL commands. The precedence is done in the locking. Your 'DROP TABLE' command is being blocked by the locks that the ROLLBACK...
June 14, 2007 at 4:22 pm
Put your UDF logic into a stored procedure and only allow inserts to happen through calls to that SP or use an INSTEAD OF INSERT trigger on the table.
June 14, 2007 at 3:59 pm
Check out the zip functionality in this link. It has worked great for me.
http://www.sqlservercentral.com/columnists/ckempster/customlogshipping.asp
June 12, 2007 at 1:32 pm
Oops, sorry.....
I guess that we all get to run our post count up in this thread![]()
June 11, 2007 at 3:09 pm
Just so you all know, there are definately more than 5 that have been reading this since the beginning. ![]()
June 11, 2007 at 3:08 pm
Just so you all know, there are definately more than 5 that have been reading this since the beginning. ![]()
June 11, 2007 at 3:08 pm
Just so you all know, there are definately more than 5 that have been reading this since the beginning. ![]()
June 11, 2007 at 3:08 pm
Just so you all know, there are definately more than 5 that have been reading this since the beginning. ![]()
June 11, 2007 at 3:08 pm
Viewing 15 posts - 2,221 through 2,235 (of 3,233 total)