please send me some links where i can read update and delete primary and foreign key values from the form side .
i have window forms and using joins i want to delete values which is attaches from the foreign key and primary key
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Code AloneRank #488 · 5.1K reputationPosted Jun 6, 2017, 2:22 AM EDT
IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE CONSTRAINT_TYPE = 'PRIMARY KEY' AND TABLE_NAME = '[table name]' AND TABLE_SCHEMA ='dbo' )
IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE CONSTRAINT_TYPE = 'FOREIGN KEY' AND TABLE_NAME = '[table name]' AND TABLE_SCHEMA ='dbo' )
Mageshwaran RRank #411 · 6.1K reputationPosted Nov 14, 2019, 6:54 AM EST