Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Fill up position numbers Expand / Collapse
Author
Message
Posted Thursday, October 31, 2013 4:05 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 12:03 AM
Points: 37,065, Visits: 31,628
David Burrows (10/31/2013)
My solution (bet Jeff picks holes in it )

Create a format file containing...


No. You're absolutely on the same track I was going to go with except I might play with the terminators a bit more. The problem is that the op just posted a format that doesn't look like any of the data he posted. You know me... I don't like to post code that I have tested and I can't test because I don't actually know what the op's data actually looks like.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1510446
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse