This post is part of the series on SQL Snippets.
The following SQL snippet will select all primary keys for all tables in the database in which the script is run.
/*
Created by Ian Grieve of azurecurve | Ramblings of an IT Professional (http://www.azurecurve.co.uk)
This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0 Int).
*/
Continue Reading azurecurve’s Article on their blog
SQL Snippets: Select Primary Keys for All Tables in Database
This post is part of the series on SQL Snippets. The following SQL snippet will select all primary keys for all tables in the database in which the script is run. /*Created by Ian Grieve of azu…
Blog Syndicated with azurecurve’s Permission