Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Buik load error

$
0
0

Getting the following error

Text
Msg 4861, Level 16, State 1, Line 327 Cannot bulk load because the file "C:\Users\somebody\Desktop\Industry import\stuff\a145.job247c.new.data6" could not be opened. Operating system error code 3(The system cannot find the path specified.). 

when I try this code.

Text
bulk insert x6digit20 From 'C:\Users\someone\Desktop\Industry import\stuff\a145.job247c.new.data6' WITH (FORMATFILE = 'C:\Users\someone\Desktop\formatfile.txt' ); 

This is only peculiar because I just executed a similar set of instruction 5 times before this. The files that I am importing from are on my desktop. They are in 5 folders and in the folders are between 6 to 8 fixed width text files. Any ideas as to why it would work on the first 5 and not the 6th one?


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>