have a database on a network server, and I wish to import text files into that server. My command (in SQL Server Management Studio Express) is as follows:
bulk insert dba.r_attorney_fees from "c:\abc.txt" WITH (FIELDTERMINATOR = '","')
I receive the error message:
Msg 4860, Level 16, State 1, Line 1
Could not bulk insert. File 'c:\abc.txt' does not exist.
However, the file definitely DOES exist. This is my first attempt to use bulk insert, so it appears there is something very fundamental that I don't understand. Is it perhaps looking on the database server instead of my local PC?
bulk insert dba.r_attorney_fees from "c:\abc.txt" WITH (FIELDTERMINATOR = '","')
I receive the error message:
Msg 4860, Level 16, State 1, Line 1
Could not bulk insert. File 'c:\abc.txt' does not exist.
However, the file definitely DOES exist. This is my first attempt to use bulk insert, so it appears there is something very fundamental that I don't understand. Is it perhaps looking on the database server instead of my local PC?