I am just wondering, are there any ways I can make it more efficient? Any suggestion is welcome.
Thanks,
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
John WiesePosted Jun 3, 2010, 3:02 PM
If you have the files in a comma delimited format you could doa Bulk Insert like this:
BULK
INSERT CSVTest
FROM 'c:\csvtest.txt'
WITH
(
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
)
GO
You could also use something like SQL Server Integration Services as shown in this video: http://technet.microsoft.com/en-us/sqlserver/dd941934.aspx
Venkatesan JayakanthamPosted Jun 3, 2010, 8:55 PM
In addition, you can use SSIS Bulk Insert task to upload the data from text files.
Cheers,
Venkatesan Prabu .J
http://venkattechnicalblog.blogspot.com/