Oralce数据表中自动编号的触发器编写

      Oracle技术 2006-2-14 13:46
create or replace trigger IDTRIG_ISAD
  before insert on ISAD
  for each row
Declare
  -- local variables here
Begin
  Select Seq_ISAD.Nextval Into :New.Id From Dual;
End Idtrig;


注:为表IISAD的ID字段增加自动编号
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commenttime}{commentauthor}

{CommentUrl}
{commentcontent}