通過QQ傳數據數據內容如下:
select * from? vw_inout_signfor
where? project_code='0000000027'
? and isnull(lastnum,0)<>0
? and billtypen='2'
? and uf_flag='采購結算'
? and isnull(outnum,0)=0
? and itemname not like '%水泥%'
我現在加批注
select * from? vw_inout_signfor
where? project_code='0000000027'
? and isnull(lastnum,0)<>0--
? and billtypen='2'
? and uf_flag='采購結算'
? and isnull(outnum,0)=0
? and itemname not like '%水泥%'
那么運行的語句為:
select * from? vw_inout_signfor
where? project_code='0000000027'
? and isnull(lastnum,0)<>0
但未通過QQ傳,,得到的結果正常..
所以告訴各位...沒事不要用QQ傳SQL語句...不然造成什么語法錯誤..找問題找半天也找不到.