Viewing 5 posts - 1 through 5 (of 5 total)
Cut and paste the following script into Query Analyzer and execute it. I believe it will give you the results you are looking for. If it does, it should be...
July 19, 2005 at 6:55 am
For a dynamic number of weeks AND columns that show the date you might try (note that I changed your table variable into a temporary table):
SET NOCOUNT ON
June 10, 2005 at 7:23 am
See if this might meet your needs:
DECLARE @Dates TABLE (SeqNo int NOT NULL IDENTITY(1, 1),
DataDate datetime NOT NULL,
PRIMARY KEY CLUSTERED (SeqNo)
)
INSERT...
June 10, 2005 at 7:18 am
I have just closed a case with Microsoft on this issue. What you are experiencing is caused by OSQL padding the results to the defined width of the column. For...
March 1, 2005 at 6:52 am
Assuming that the entire shelf must be made up of consecutive seq numbers then the following query should give you what you want:
SELECT store_number, aisle, side, [section], shelf,
MIN(seq)...
October 19, 2004 at 6:47 am
Viewing 5 posts - 1 through 5 (of 5 total)