您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

sql 语句不执行

2025/5/25 22:27:34发布18次查看
delete from (select * from sys_barcode_1d_y union all select * from sys_barcode_1d_y_bak union all select * from fg_hi_cust_in where hi_no like 'esc%')a where packageno='xxx'
回复讨论(解决方案) delete from (select * from sys_barcode_1d_y union all select * from sys_barcode_1d_y_bak union all select * from fg_hi_cust_in where hi_no like 'esc%')  a where  a.packageno='xxx'?
delete from (select * from sys_barcode_1d_y union all select * from sys_barcode_1d_y_bak union all select * from fg_hi_cust_in where hi_no like 'esc%')a where a.packageno='xxx'
delete from (select * from sys_barcode_1d_y union all select * from sys_barcode_1d_y_bak union all select * from fg_hi_cust_in where hi_no like 'esc%')  a where  a.packageno='xxx'?
感谢回答。但是是个语法错误,delete 不支持 union 表的删除,只能单表删除。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product