C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
SQL Server Transact Basic to Expert - Add Foreign Key to existing Column
WhatsApp
Karthikeyan Anbarasan
13y
2.8
k
0
0
25
Blog
This blog shows on adding a foreign key to an existing column table
Syntax:
ALTER TABLE tablename
ADD CONSTRAINT constraintname
FOREIGN KEY (columnname)
REFERENCES [ schemaname.] referencedtablename [ ( refcolumn ) ]
SQL Server Transact Basic to Expert - Add Foreign Key to existing Column
Recommended related topics
Membership not found