Viewing 15 posts - 44,566 through 44,580 (of 59,097 total)
"Teach a man to fish and..."
All of your questions are answered in the following two articles...
http://www.sqlservercentral.com/articles/TSQL/62867/
http://www.sqlservercentral.com/articles/T-SQL/63003/
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 10:06 pm
I think that it's funny as hell that anyone would call an XML file a "flat file". 😉
Before I even knew SQL Server existed and the small company I...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 9:51 pm
You bet... thanks for the feedback. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 9:29 pm
Mike Levan (3/16/2009)
How could i list size of all databases in (MB/GB) in a server.
Mike Levan (3/16/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 8:12 pm
Oh yeah..l. I forgot. Never use BETWEEN for date comparisons of this nature because you never know when someone is going to include a time in the column along...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 7:26 pm
[font="Courier New"] WHERE yourdatecolumn >= DATEADD(mm,DATEDIFF(mm,0,GETDATE())-1,0)
AND yourdatecolumn < DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)[/font]
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 7:25 pm
Goldie Graber (3/16/2009)
Jeff Moden (3/16/2009)
One of your requirements was to ....
4. Replace all entity codes (“&xxx;”) with X
If you "smear" that requirement across...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 6:15 pm
Goldie Graber (3/16/2009)
Jeff Moden (3/16/2009)
Goldie Graber (3/16/2009)
I can't seem to get better performance than my original function.I'm pasting it here for future reference.
Do you have the code for the new...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 6:05 pm
Goldie Graber (3/16/2009)
I can't seem to get better performance than my original function.I'm pasting it here for future reference.
Do you have the code for the new function... I know it...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 3:12 pm
RBarryYoung (3/16/2009)
Jeff, do you have a test set for this?
Only the "single line" of HTML Goldie previously attached a couple of posts back...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 3:10 pm
Bob Hovious (3/15/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 9:30 am
By the way, Goldie... no special test is required for the non-breaking space because of the way I detect characters that need to be replaced with a space.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 9:08 am
Goldie Graber (3/15/2009)
I'm going to test it out at work tomorrow.
One part I don't quite understand is this:
--===== Replace all EntityCodes with the actual ascii character...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 8:58 am
Yep... I agree... knowledge and time are part of the real world items that are frequently missing in that area. Like Perry stated, I just don't want anyone to...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2009 at 9:22 am
megham10 (3/15/2009)
my field is like "Field"(Surrounded by "").But how to make BCP Format .Pls guide me.
Sergiy is correct... OPENROWSET or a text based linked server may do the trick easily....
--Jeff Moden
Change is inevitable... Change for the better is not.
March 15, 2009 at 9:15 am
Viewing 15 posts - 44,566 through 44,580 (of 59,097 total)