Viewing 15 posts - 346 through 360 (of 466 total)
Steve Jones - SSC Editor (7/6/2012)
And the Rockies are officially in the doghouse. Tied for the...
July 6, 2012 at 9:55 am
Chrissy321 (6/29/2012)
My expected results are:1
2
A
B
NULL
I want to return any data that is not a question mark.
My most recent edit in the previous post will get you that. Sorry for...
June 29, 2012 at 4:37 pm
Replace returns a null if any of the arguments are null, which is why you get nulls for everything in your query. You could do something like this:
SELECT
Test,
nullif('',...
June 29, 2012 at 4:29 pm
New_at_this (6/29/2012)
I think I want to do this..
SELECT dateadd(month, datediff(month,'19000101',getdate()+ 90),'19000101')
testing now
So this then?
dateadd(month, datediff(month,'19000101',dateadd(day, 90, CURRENT_TIMESTAMP)),'19000101')
June 29, 2012 at 9:37 am
You just want to add 90 days to what that returns?
dateadd(day, 90, dateadd(month, datediff(month,'19000101',CURRENT_TIMESTAMP),'19000101'))
June 29, 2012 at 9:30 am
Welsh Corgi (6/28/2012)
Does anyone have an example of a Sercehed CASE Statement used to perform UPDATES.
One...
June 28, 2012 at 10:41 am
I don't know if you want this behavior or not, but since your last two cases don't have elses, it will set those fields to null if Field2 does not...
June 28, 2012 at 10:34 am
Steve Jones - SSC Editor (6/27/2012)
Faker!
If this play doesn't get MLB to look into using replay, I don't know what will...
June 27, 2012 at 10:32 am
Like Jared said above, I can't test this without any sample data, but give this a try and see if it works. If not you can try to play...
June 27, 2012 at 10:04 am
achen9291 (6/27/2012)
where ClientUserName =(Select top 1 ClientUserName from #ProxyLog_count_2) Group by ClientUserName, DestHost order by counts desc
I...
June 27, 2012 at 9:39 am
And what are you ordering by to determine the second row?
June 27, 2012 at 9:23 am
I see Tanyon Sturtze made it to the roster of the Yankees upcoming Old Timers Game.[/url] I was also surprised to see Strawberry on there. I guess I...
June 25, 2012 at 1:03 pm
Markus (6/20/2012)
roryp 96873 (6/20/2012)
Markus (6/20/2012)
Speaking of Minor league baseball look at THESE stats:
Billy Hamilton, low Single A for the Cincinnati Reds.
66 games and 80 stolen bases!
I know......
June 20, 2012 at 10:53 am
Markus (6/20/2012)
Speaking of Minor league baseball look at THESE stats:
Billy Hamilton, low Single A for the Cincinnati Reds.
66 games and 80 stolen bases!
I know... it is Single...
June 20, 2012 at 10:47 am
Viewing 15 posts - 346 through 360 (of 466 total)