Viewing 15 posts - 44,566 through 44,580 (of 59,101 total)
If the formatting of each element is pretty much cast in stone, then a straight forward method may be in order...
Here's the test data...
--===== Create a demonstration table (This is...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 11:14 pm
It's going to be tough to troubleshoot this without some test data and a listing of the code that does the Bulk Insert. If the data has private information...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 10:20 pm
harish_ravi (3/16/2009)
but i dont think its working for comparing data with duplicate values.
like the below.
DECLARE @v1 TABLE (id INT, txt VARCHAR(100))
DECLARE...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 10:17 pm
Heh... "Survey says... ding, ding, ding, ding, ding... STUFF! Look it up in Books Online". Bruce is spot on.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2009 at 10:08 pm
"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
Viewing 15 posts - 44,566 through 44,580 (of 59,101 total)