I am writing a trigger and I need to have
the key field names of a table whose name
I am given returned.
i.e. I want to return "Order_ID" and "Detail_ID"
when I feed the T-SQL the Order_Detail table.
again for clarity I am not asking for
Select Order_ID, Detail_ID FROM...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.