这个变量怎么表示?
set @sZBLZTIME='select @d=GETM from '+ @TABLENAME +' where (STCD = '+@STCD+') and ('+@ITABBNAME+'>'+@ZBLZ+') '
想表达这个意思如:
set @sZBLZTIME='select @d=GETM from 表名where (STCD = '1001') and (字段名>1.5) '
现在报告:
服务器: 消息 8114,级别 16,状态 5,过程 P_GetSingleAppraise,行 238
将数据类型 varchar 转换为 float 时出错。
错误。请问怎么写?