I have a table in which i am making two columns as a combine as primary key i think this is called a composit key , Now in another table i want to make one of these two columns as foreign key when i tried that it gives an error , i think it is saying that i should include both columns from second table as well , check the link for table structure
https://sweet-gmail.tinytake.com/sf/NzgwNjE0XzM1MTM1OTk

Vinay SinghRank #604 · 4K reputationPosted Jun 28, 2016, 12:44 AM EDT
As we know Table2 has a composite primary key
(FileID, FileType), then any reference to it must also include both columns.Balamurali Krishnan RRank #9,790 · 202 reputationPosted Jun 28, 2016, 12:46 AM EDT
Karthik ElumalaiRank #544 · 4.5K reputationPosted Jun 28, 2016, 12:47 AM EDT
barathi raja118 reputationPosted Jun 28, 2016, 1:25 AM EDT