Viewing 15 posts - 58,411 through 58,425 (of 59,053 total)
Yep... I agree with Trigger... don't ever use @@IDENTITY because if a trigger fires and that trigger inserts into another table, @@IDENTITY will not contain the value you think it...
January 30, 2006 at 8:12 pm
Ummmm.... you could us sp_lock to see if the table is being worked on by the type of lock it has. You would, of course, need to know the ID...
January 30, 2006 at 8:08 pm
You bet, Charles. Thank you for the feedback.
January 30, 2006 at 8:02 pm
Great idea... a word of caution, though. I've found that sp_Depends will sometimes miss things... I believe that problem is also documented (somewhere) on this forum. Not sure if they...
January 30, 2006 at 4:02 am
You could convert this to a sproc or use it as is...
SET @ObjectToFind = 'PutNameOfObjectToFindHere'
so.Name,so.XType
FROM dbo.SysObjects so,
dbo.SysComments sc
...
January 29, 2006 at 3:49 pm
Ok, thanks... always a pleasure Sergiy.
January 28, 2006 at 8:40 pm
I agree with PW... store the date as a DateTime field or you'll kick yourself in the near future.
One method to display the date from a DateTime column using the...
January 28, 2006 at 12:44 pm
Serqiy, As you are aware, in MS-SQL Server 2000, you can't create a variable with the TEXT datatype. Where did you store the 20k XML before you used it as...
January 28, 2006 at 12:37 pm
Roger that! Confirmation in both directions is always a wonderful thing...![]()
January 28, 2006 at 9:07 am
It doesn't work quite like you'd expect... although the VALUE of the seed works as posted above and in Books-Online, it doesn't work WHEN you'd like it to if you...
January 28, 2006 at 8:28 am
It could also be a 2 digit year Julian date format in the form of DDDYY where "DDD" is the day of the year. But, as many have already said,...
January 27, 2006 at 7:21 pm
Hmmmm... Ken, I can't say I agree... here's some test code to demonstrate why...
The first part of the code makes a test table of a million rows. After all, if...
January 27, 2006 at 7:01 am
Yakov,
As many have said, this is (or should be) common knowledge. But, I for one, appreciate your boldness for publishing what you did. You found a nifty tool in Query...
January 27, 2006 at 4:22 am
Uh huh... The only difference between what you and the author did is you didn't list all the steps.
January 27, 2006 at 4:10 am
Viewing 15 posts - 58,411 through 58,425 (of 59,053 total)