Viewing 10 posts - 13,441 through 13,451 (of 13,451 total)
This does what you wanted; the select at the end shows how you can find the # days before /number of days until the users next birthday:
CREATE VIEW UserBirthDay
AS...
July 23, 2003 at 2:22 pm
OK I'll bite;
I've never seen anything like WITH TIES;
I looked to see if it was a query hint, but it looks like its a named set, right? i found something...
July 15, 2003 at 3:25 pm
I found an answer from a Microsoft Guru that seems to explain how to fix your issue:
Hope it helps:
From: "Bill Hollinshead [MS]" (billhol@online.microsoft.com)
Subject: RE: SQL 2000 Enterprise manager unknown error...
June 25, 2003 at 8:11 am
there's at least 3 scripts in the script library of this site that compares table structures; i used "Compare Tables" in the search engine to find them here, and this...
June 16, 2003 at 12:26 pm
Other's have suggested this and it's worked well for me;I take no credit for the idea itself: The question is can you change the way the data is "deleted" ....
June 16, 2003 at 7:52 am
Info you are going to use a temp teable, then the Identity() function might help you out. I've used it before and It provides the identity field for the column....
June 9, 2003 at 7:08 am
Essentially, that is exactly what I was wondering;
For fun, I wrote a script that would create an index for every foreign key that did not have an index yet; but...
May 6, 2003 at 8:52 am
I would suggest using XACT_ABORT; it will automatically rollback a transaction, and stop further statements from executing in the transaction when an error is encountered:
SET XACT_ABORT ON
BEGIN TRAN -- with...
May 5, 2003 at 8:38 am
@@fetch_status is the problem here; it doesn't revert back to the outer loops 'previous' fetch status after it complete's the inner loop.
wouldn't @@fetch_status only allow the inner loop to run,...
March 27, 2003 at 10:05 am
I just contributed a script that does this; everyone always points at tools to do it, but I felt it was a good challenge to try and write a SQL...
March 27, 2003 at 9:22 am
Viewing 10 posts - 13,441 through 13,451 (of 13,451 total)