SQL Server : Bulk Insert 0 Rows Affected -
i'm new sql , i'm attempting bulk insert view, however, when execute script message says (0 row(s) affected).
this i'm executing:
bulk insert vwdocgeneration '\\servername\data\doc\test.csv' ( fieldterminator = '|', rowterminator = '\r\n' )
i've confirmed row terminators in source file , end crlf. view , file being imported have same number of columns. i'm stuck! ideas appreciated!
per mike k 's suggestion started looking @ key constraints , after adjusted on of them able use bulk insert! fyi did insert view because table had additional field wasn't included in csv file. confirming possible @gordon linoff.
Comments
Post a Comment