user2818430
user2818430

Reputation: 6029

sql server query - get database tables schema and relations

Is there a possibility to get the full database schema including table columns, indexex, views, relations, etc, with sql queries?

Upvotes: 0

Views: 4748

Answers (1)

Neville Kuyt
Neville Kuyt

Reputation: 29649

As @lad2025 comments - yes, this is possible by querying the sys. schema. Technet article and tutorial available.

Upvotes: 1

Related Questions