sjl1223 发表于 2007-07-11 16:19

请教存储过程中exception的用法

各位老大谁能给我说说exception在存储过程中的用法,急!

sjl1223 发表于 2007-07-11 17:00

我这里有在oracle中的写法,我想把它变成informix的写法,请教如何写?
exception1exception;
……
select a,b
from table
where condition;
exception
      when others then
             raise exception1;
……
exception
       when exception1 then
       LET pstRetCode = **;
       LET pstRetMsg= **;
页: [1]
查看完整版本: 请教存储过程中exception的用法