Viewing 15 posts - 3,346 through 3,360 (of 5,685 total)
tfifield (4/21/2011)
April 21, 2011 at 12:49 pm
jcrawf02 (4/21/2011)
April 21, 2011 at 12:02 pm
GilaMonster (4/21/2011)
jcrawf02 (4/21/2011)
April 21, 2011 at 11:56 am
toddasd (4/21/2011)
April 21, 2011 at 11:51 am
Very nice article Wayne, thank you. Perfect spackle.
April 21, 2011 at 11:44 am
GilaMonster (4/20/2011)
It's not. It's 1.6 seconds slower.
Check your PM, I don't want to start a tech conversation in the thread. However yes, I have reasonable acquaintance with statistics. 🙂
April 21, 2011 at 2:24 am
You'll have to unpivot the data, sort it desc, then select top 1 for each item.
If you can provide a sample DDL/Data set like you'll find described in the first...
April 20, 2011 at 6:29 pm
You know, this is why I'm never quite sure if I should write tech articles. No, I'm not looking for help per se, just bringing a personally amusing moment.
So...
April 20, 2011 at 5:43 pm
Aaron G (4/20/2011)
April 20, 2011 at 4:33 pm
2008 can do this natively with CONVERT options.
The trick is to convert to VARBINARY in the middle with the style: 1
Here's some sample code:
DECLARE @hexStr VARCHAR(20),
@hexBin varBINARY(20)
SET @hexStr = '0x4158'
SET...
April 20, 2011 at 4:22 pm
LOOKUP_BI-756009 (4/20/2011)
So what I need is to replace all 1900-01-01 00:00:00.000 with...
April 20, 2011 at 4:06 pm
Yeah, that's a fixed width file. Did you setup column widths in the advanced piece?
April 20, 2011 at 4:04 pm
LOOKUP_BI-756009 (4/20/2011)
Many of its value are NULL's but in the column it appears as 1900-01-01 00:00:00.
I know that 1900-01-01 00:00:00 is the default for...
April 20, 2011 at 3:44 pm
LOOKUP_BI-756009 (4/20/2011)
Is there a way to replace NULL to a datetime column instead of 1900-01-01 00:00:00.000 for NULL dates ?
I'm not quite sure I get the question. Can you rephrase...
April 20, 2011 at 3:24 pm
DECLARE @today DATETIME
SET @today = GETDATE()
EXEC proc @MyDate = @today
Can't send in a function as a value to a parameter.
April 20, 2011 at 2:57 pm
Viewing 15 posts - 3,346 through 3,360 (of 5,685 total)