摘要: 触发器能进行一些约束.这是个小例子,当Student表的StudentID列被发生更改时,BorrowStudent表的StudentID列也跟着更改.如果Student表删除某记录,BorrowStudent也删除对应StudentID的记录./*先删除将要创建而存在的表*/drop table if exists Student;drop table if exists BorrowStude... 阅读全文
posted @ 2009-09-02 21:09 六不朽 阅读(286) 评论(0) 推荐(0) 编辑