By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,927 Members | 1,447 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,927 IT Pros & Developers. It's quick & easy.

How to insert bulk data of .txt files in database using vb.net?

P: n/a
i am using this code..it shows the error as
Expand|Select|Wrap|Line Numbers
  1. bulk insert CSVTest1 
  2.       from 'D:\1_attlog.txt'
  3.       with (FIELDTERMINATOR=' ')
  4.       {
  5.          FIELDTERMINATOR='   '
  6.          ROWTERMINATOR='\N'
  7.       }
  8.  
Msg 4860, Level 16, State 1, Line 2
Cannot bulk load. The file "D:\1_attlog.txt" does not exist.

any idea about this
Oct 23 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.