I am currently trying to use Command Prompt to run a sql file in order to load its data to our sql data base. We are using SQL server as tool but use sqlcmd to load data this time as this file is pretty big, which is over 2.5 gb.
However, after I simply use cmd such as:
sqlsmd -S S5V....(my server name) -d ...(my db name) -i...(my file address)
to insert data, I got the issue below:
Msg 102, Level 15, State 1, Server S5V251DNASQL001, Line 45 Incorrect syntax near '0x504b030414000600080000002100348bb94cbb010000a3090000130008025b436f6e74656e745f54797065735d2e786d6c20a2040228a00002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'.
My question therefore is, can I just skip this line and continue load the rest of the data? Or is there anyway to skip or ignore this problematic line? Or any other idea to debug this issue?