if exsits (select * from syscat.procedures where ltrim(procname)=‘proc_DAILY')
then drop procedure proc_DAILY
end if
create procedure proc_DAILY()
begin
...
end
DB2里面有类似这样的写法么?好像不支持 if exists 判断语句的写法啊
...全文
572打赏收藏
DB2 有没有类似这样的写CREATE脚本的方法
if exsits (select * from syscat.procedures where ltrim(procname)=‘proc_DAILY') then drop procedure proc_DAILY end if create procedure proc_DAILY() begin ... end DB2里面有类似这样的写法么?好像不支持 if exists 判断语句的写法啊