SQL存储过程
create proc 存储过程名@dwbh varchar(10)if((select bs from wxp_gmz where dwid=@dwbh) != (select zjlx from wxp_dwxx where dwbh=@dwbh))delete from wxp_gmz where dwid=@dwbh... 展开
其他答案
create proc 存储过程名@dwbh varchar(10) asdeclare @bs varchar(10) --intdeclare @zjlx varchar(10) --intselect @bs = bs from wxp_gmz where dwid=@dwbhselect @zjlx = zjlx from wxp_dwxx where dwbh=@dwbhif(@bs=@ 展开
2011-01-21 00:34
来自北京市
赞(0)点赞赞(0)举报
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。




