我正在运行data.bat文件,其中包含以下行:Rem Tis batch file will populate tablescd\program files\Microsoft SQL Server\MSSQLosql -U sa -P Password -d MyBusiness -i c:\data.sqldata.sql文件的内容是: insert Customers (CustomerID, CompanyName, Phone) Values('101','Southwinds','19126602729')还有8个类似的行用于添加记录。当我跑这跟start> run> cmd> c:\data.bat,我收到此错误信息:1>2>3>4>5>....<1 row affected>Msg 8152, Level 16, State 4, Server SP1001, Line 1string or binary data would be truncated.<1 row affected><1 row affected><1 row affected><1 row affected><1 row affected><1 row affected>此外,我显然是一个新手,但是做什么Level #,并且state #意味着什么,我如何查找错误消息,如上面的那个:8152?
3 回答
- 3 回答
- 0 关注
- 911 浏览
添加回答
举报
0/150
提交
取消