Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stored Procedure to Import Tab-Quote Delimited File into Table

Status
Not open for further replies.

dpgirl

Technical User
Apr 5, 2005
45
US
Could someone help me write a stored procedure that will take a tab-quote delimited file (with header) and load it into a table? Thanks in advance!

Here's some sample data from the text file:

"Name" "Value"
"Brian McMillen" "1722"
"Anthony Adams" "8532"
"Erik Jenner" "7209"
"Terrance Walker" "1873"

 
Yes, I'm aware that I can use DTS but I have a million files to load so I'd like a stored procedure to make it easier. I will combine this procedure with another procedure that will automatically load all files within a particular folder so I don't have to specify each filename to load.
 
Try starting here: thread183-626356

Now all you have to do is strip the quotes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top