I have a database and a lot of tables inside it. I wrote some information into the each table and column's decription part. And now using query i want to see all table and columns descriptions.
Note: DATABASE -> ms sql server
Can you please help me ?
5条答案
按热度按时间vof42yt11#
You can see that using INFORMATION_SCHEMA
To get columns for each table you can do:
To get table information you can do:
hof1towb2#
Check this query:
uz75evzq3#
jgwigjjp4#
This will display all tables's column with comments for the logged in user.
This will display specified tables's column with comments for the logged in user.
mm9b1k5b5#