|
-
Mar 12th, 2009, 06:21 AM
#1
Thread Starter
Addicted Member
Could not bulk insert
Could not bulk insert because file 'C:\csv\name.txt' could not be opened. Operating system error code 3(The system cannot find the path specified.).
I got the above error.
CREATE TABLE checkcsv
(
col1 varchar(100),
col2 varchar(100)
)
BULK INSERT dbo.checkcsv
FROM '\\IWAPPSVR\IWSQLDB\csv\name.txt'
WITH
(FIELDTERMINATOR = ',', ROWTERMINATOR = '/n')
I got the error and i couldnt solve this.solve the query please.
Hope yours reply.
Failing to plan is Planning to fail 
-
Mar 13th, 2009, 05:04 AM
#2
Re: Could not bulk insert
As the BULK INSERT is executing on the Server have you verified that the Server can actually connect to your PC and view your csv folder on your C drive?
What i would do is log onto the server and open windows explorer, then try to browse to your folder from there.
Also right click on the CSV folder and check the security setting to make sure the SQL Server account can access your PC.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|