1金币
select @cancelsaleidlist=@cancelsaleidlist+stuff((
select ','+cast(id as varchar)
from jf_订单支付分配_temp where fgc_createdate<convert(varchar(10),getdate(),120) and 订单状态='已提交' or 订单状态='未提交' for xml path('')),1,1,'')
|
最佳答案
查看完整内容
既然是SQL SERVER的方言,那么你作用于内置的SQLITE数据库,肯定不能用呀
|