Viewing 15 posts - 8,371 through 8,385 (of 8,414 total)
Lynn!!!
Lynn Pettis (4/5/2009)
April 5, 2009 at 3:23 pm
Hey everyone,
Thanks for all the comments! My initial post was a reflection of my first reaction, and I agree that maybe 'short' is a better word than 'rude'. ...
April 5, 2009 at 2:55 pm
Hey Jeff,
I'm with you on the 'why use an empty string or spaces as criteria' thing; although I guess there is some wild and wacky legacy code out there. ...
April 5, 2009 at 2:48 pm
Hey Vinay,
Typically you would write a procedure to implement the sliding window, and it would 'slide the window' on both tables inside a transaction.
Sorry for the quick reply but I...
April 5, 2009 at 12:59 pm
New Zealand!
Have fun this afternoon.
Paul
April 5, 2009 at 4:51 am
Hey Flo!
Talking of time zones, it's 10:36pm Sunday night here 😉
So it's more "good night than good morning".
The pedant comment made me laugh!
I had no idea there were time zones...
April 5, 2009 at 4:38 am
GilaMonster (4/5/2009)
I never said they had to be aware of it. That comment was for you, not the OP. We just don't answer interview questions here.
Well you are free to...
April 5, 2009 at 3:01 am
If the rule is unwritten then how was the OP supposed to be aware of it?
Why not just state the unwritten rule to the OP?
Why say the OP is unqualified...
April 5, 2009 at 2:27 am
Hey all,
Unless I am missing something fundamental, the timezone offset from GMT of the local server is given by:
SELECT DATEDIFF(HOUR, GetUTCdate(), GetDate());
and the time in the timezone with GMT time...
April 5, 2009 at 1:59 am
One INSERT, UPDATE or DELETE statement (assuming no triggers) can INSERT to two tables if an OUTPUT clause into a table variable is used 😀 😀 😀
April 5, 2009 at 1:13 am
Boolean_z,
Set ANSI_PADDING ON and your life will improve measurably 😉
Books Online
April 5, 2009 at 1:08 am
RBarryYoung (4/4/2009)
Why would our helping you to get a job that you are apparently unqualified for be a good thing?
Why would your being rude to someone you have never met...
April 5, 2009 at 12:31 am
INSERT INTO Discussion SELECT $0.02 WHERE account_name = SUSER_SNAME(): 😀
Bob Hovious (4/3/2009)
April 5, 2009 at 12:06 am
Some cool stuff so far...can't wait for someone to wirte an XML/XQuery version just for giggles!
:rolleyes:
April 4, 2009 at 9:15 pm
Good answer flo - it does exactly what the OP asked for, and efficiently too, with one minor comment: The UNIONs should be UNION ALLs (constant scan instead of merge...
April 4, 2009 at 6:11 am
Viewing 15 posts - 8,371 through 8,385 (of 8,414 total)