关于触发器建立主索引,(sql2000)(50分)

  • 主题发起人 主题发起人 wzb_shipman
  • 开始时间 开始时间
W

wzb_shipman

Unregistered / Unconfirmed
GUEST, unregistred user!
怎么用触发器(insert)建立主索引不用delphi
table1(a,b,c)
if (table2.eof and table2.bof) then 索引=table1.a+000001
else 索引=(select max(索引) from table2)+1


 
利用存储过程吧
 
后退
顶部