Foreign key 'fk_orders_SalesRep' references invalid column 'snum' in referencing table 'orders'

前端 未结 0 1863
渐次进展
渐次进展 2020-11-28 06:02

What am i doing wrong im trying to add a foreign key to an existing table

ALTER TABLE orders ADD CONSTRAINT fk_orders_SalesRep FOREIGN KEY (snum) REFERENCES SalesRep(

相关标签:
回答
  • 消灭零回复
提交回复
热议问题