Below link should help :
learn.microsoft.com/en-us/sql/relational-databases/tables/view-the-table-definition?view=sql-server-ver16
How can we find the table definition is a synapse dedicated SQL pool.
I required the definition of all tables in my synapse dedicated SQL pool I tried to look into the sys metadata tables but did not find a solution. Please help me here if there is any possible way is there to get the definitions of the available tables.
2 answers
Sort by: Most helpful
-
Nandan Hegde 29,886 Reputation points MVP
2022-07-15T06:20:23.357+00:00 -
LiHong-MSFT 10,046 Reputation points
2022-07-18T03:20:59.123+00:00 Hi @Singh, Shiv Bhole
If you want to script the entire database, you can right-click on the database name and selectGenerate scripts
which starts the script wizard.
Then select all the tables or specify the tables you want.
Save the scripts to a file or a new query window.
Best regards,
LiHong
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.