问题
I have Types column in my Help Table and I want to add foreign key to the Id column in my HelpType table but not really sure what I'm doing wrong so. If I can get any suggestion or help will be really appreciated.
ALTER TABLE Help
ADD CONSTRAINT FK_Types FOREIGN KEY (Types)
REFERENCES maxis_charts.HelpType (Id)
;
来源:https://stackoverflow.com/questions/65723540/how-to-add-foreign-key-in-sql-server