Hi Karthik,
First make sure you have been granted access as sysadmin or bulkadmin.
Secondly make sure the file exist in the same path.
Thirdly make sure you are using this command:
BULK INSERT <YourTableName>
FROM 'c:\karfiles\myfile.csv'
WITH ( FIELDTERMINATOR = ',', ROWTERMINATOR = '\n' )
If still not executing then let me know.
Regards,
Danish Sami.
|