请各位MSSQL的高手们进来:String or binary data would be truncated.
NT4+SP6 中文版
MS SQL Server7.0 + SP2
SQL Server Query Analyzer
语句1:execute up_goods_distributingA '2001-10-01' , '2001-10-31' ,
' and season.minino = ''0000000A'' and fabclass.sysno in (''00000001'',''00000005'')'
语句2:execute up_goods_distributingA '2001-10-01' , '2001-10-31' ,
' and season.minino = ''0000000B'' and fabclass.sysno in (''00000001'',''00000005'')'
语句1执行正确,但语句2执行时错误:
Server: Msg 8152, Level 16, State 9, Line 1
String or binary data would be truncated.
The statement has been terminated.
何解?!
此过程定义头部如下:
CREATE procedure up_goods_distributingA
( @ld_frdate datetime = '1997-06-15' , @ld_todate datetime = '1997-06-15' ,
@ls_currwhere varchar(8000) = '' )
即使在服务器上执行也是如此
那位大师可以帮我