主题:如何建立外键
我建立了两个表student(sno,sname,tno),teacher(tno,tname).先为student建立了主键sno,后为teacher表建立了主键tno,当再为student建立外键tno时,就提示错误:“tables related by kdy constraint must both be permanent or both be temporary created with on commit preserve rows",请问怎么办。
沙发
您尚未登录,请登录后再回复。点此登录或注册