sql - Bulk insert 0 rows inserted -
im trying use following statement in sql insert data csv sql..
create table test (a bigint, b smallint, c real, d real, e real, f real, g real, h real, real, j real, k real, l real, m real, n real, o real, p real, q varchar(max), r varchar(max)) bulk insert test 'c:\datafiles\tests.csv' (fieldterminator = ',', rowterminator = '\n', firstrow = 2 )
my data looks like:
"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r" "900010000000257","46","580.29","1912.31","237.73","841.41",,,"253.35","995.30","225.38","2808.70","1536.87","2250.60","1628.19","111.91",, "900010000000425","46","1580.29","1912.31","252.34","2557.97",,,"1256.35","195.30","225.38","208.70","1534.50","222.80","1628.19","284.23",, "900010000000841","21","489.26","5462.95","6419.69","7353.56",,,"467.70","535.01","597.93","530.84","5243.47","589.86","5790.72","6794.30",, "900010000000990","19","4880.14","5609.45","6586.67","7470.17",,,"480.14","523.12","558.16","655.44","504.21","609.54","639.31","735.34",,
i message 0 rows affected no errors.. please help.
try providing full specified path c:\path.csv
Comments
Post a Comment