09_01-创建和管理表.ppt

09_01-创建和管理表要点

Oracle Database 11g: SQL Fundamentals I 10 - * FOREIGN KEY Constraint: Keywords The foreign key is defined in the child table and the table containing the referenced column is the parent table. The foreign key is defined using a combination of the following keywords: FOREIGN KEY is used to define the column in the child table at the table-constraint level. REFERENCES identifies the table and the column in the parent table. ON DELETE CASCADE indicates that when a row in the parent table is deleted, the dependent rows in the child table are also deleted. ON DELETE SET NULL indicates that when

文档评论(0)

1亿VIP精品文档

相关文档