Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Query Expand / Collapse
Author
Message
Posted Sunday, September 1, 2013 8:17 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, March 9, 2016 2:55 PM
Points: 69, Visits: 91
I need a T sql query which should read and load text files data from the directory one file after another file and load the file data into a table.

Thanks for your help in advance
Post #1490501
Posted Sunday, September 1, 2013 11:11 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, July 21, 2016 4:01 AM
Points: 2,205, Visits: 2,756
you can use BULK INSERT for loading data from a text file into SQL server table.....


_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Post #1490508
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse