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

Load in different table base on different number of columns in text file. Expand / Collapse
Author
Message
Posted Friday, July 12, 2013 6:46 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, November 18, 2014 9:35 AM
Points: 86, Visits: 519
Thanks for your help.
I am very close as you suggest last time.
I did use for each loop and load all data in one table which have one column.
In T-sql, I count number of , (comma delimitar) and load in 3 respective tables.
To grab, those individual value, I used charindex and substring and finally load in right table.

Post #1472996
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse