create or replace procedure spIdGen id out number is begin update zb_id_gen set ID=ID+1,id=ID+1; end;
2 /
Warning: Procedure created with compilation errors
大家帮我看看这个存储过程有什么问题为什么我在oracle 10g上建总是报错建立不上呀
怎样将这段存储过程转换成oracle中的一句SQL语句呢?
2 /
Warning: Procedure created with compilation errors
大家帮我看看这个存储过程有什么问题为什么我在oracle 10g上建总是报错建立不上呀
怎样将这段存储过程转换成oracle中的一句SQL语句呢?
你在瞎搞吗?
sqlserver和oracle分别是T-SQL和PL/SQL
语法能一样吗?
create or replace procedure是oracle里面的
spIdGen id out number is begin update zb_id_gen set ID=ID+1,id=ID+1; end; 是sql里面的
你实在不清楚oracle怎么写,你就看看系统的存储过程怎么写的,依葫芦画瓢总会吧
建议还是学学PL/SQL