Viewing 15 posts - 46 through 60 (of 270 total)
Yes the MAX(ID) does do that, thanks.
This code does not...
SELECT t1.*,
PrevId = t2.ID,
PrevSub = t2.Sub,
...
March 10, 2011 at 11:23 am
IF OBJECT_ID('tempdb..#Data') IS NOT NULL DROP TABLE #Data;
create table #Data([ID] [Int],[Sub][Int], [Data][Int])
INSERT INTO #Data ([ID], [Sub],[Data]) VALUES (1,1,102)
INSERT INTO #Data ([ID], [Sub],[Data]) VALUES (2,1,65)
INSERT INTO #Data ([ID], [Sub],[Data]) VALUES (3,1,85)
INSERT...
March 10, 2011 at 11:16 am
What I am after is a date that has day, month, year, hour, minutes and secound in it that goes from an tSQL export to a "," csv file,...
February 28, 2011 at 2:35 pm
This is the format that a report I have exports to excel. I am just try to replicate it.
How do I get .AM or .PM ??
Do i have to...
February 28, 2011 at 12:22 pm
Thanks good advice..:-)
How does one rebuild an index..??
and YEs the symbols are out of order, but dates are not !
December 23, 2010 at 1:30 pm
Thanks Jeff..
Progress has been good since our last chat !:-):-D:-)
December 11, 2010 at 12:58 pm
IF OBJECT_ID('tempdb..#Data') IS NOT NULL DROP TABLE #Data;
create table #Data([ID] [Int],[Sub][Int], [Data][Int])
INSERT INTO #Data ([ID], [Sub],[Data]) VALUES (1,1,102)
INSERT INTO #Data ([ID], [Sub],[Data]) VALUES (2,1,65)
INSERT INTO #Data ([ID], [Sub],[Data]) VALUES (3,1,85)
INSERT...
December 11, 2010 at 11:43 am
I remember the more friendly days...I am sure as hell NOT doing home work, I am an old fart struggle with TSQL !:cool:
Come on be kind !
December 11, 2010 at 11:29 am
What for... I have ID as a count down, How's ROW_NUMBER() gonna make a diff ???
All I need is a guru to spend 1 sec of his time to post...
December 11, 2010 at 11:15 am
Thanks again , just save me a 40 minute run !:-)
December 5, 2010 at 11:10 am
Viewing 15 posts - 46 through 60 (of 270 total)