Skip to content
Advertisement

How to find table name using primary key name in sql?

I have names of primary keys in a variable and I need to find the table to which they belong. The db has many table so linear search is not an option.

Advertisement

Answer

you can try this out ::

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement