With regards to Identity columns in ms sql server 2000, what is the best way to manage the gaps after rows have been deleted?
I read somewhere about using :
DBCC CHECKIDENT (TableName, RESEED,1)
DBCC CHECKIDENT (TableName, RESEED)
But i think it only works if the rows are removed from the...
Hi,
I am having problems making a query that will return the rows for a specified date AND the preceding N number of days (not necessarily just date - N days).
I.e.
table date column consists of:
Date Column
...
Aug 5,2002
Aug 7,2002
Aug 8,2002
Aug 10,2002
Aug 12,2002
...
If i want to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.