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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -