This article is a mirror article of machine translation, please click here to jump to the original article.

View: 13478|Reply: 2

[Source] SQL Server queries the database table structure

[Copy link]
Posted on 8/9/2020 3:57:43 PM | | | |
Requirements: Need to create a new excel table, fill in the table structure information into excel, there are too many database tables and columns, if you copy and paste one by one, it will be very tiring, the efficiency is also very slow, and it is easy to make mistakes, we can query the database table structure through SQL Server, and then paste the result into the excel table.

I amSecondary modification of SQL statements based on the following article

MS SQL SERVER exports table structures to Excel
https://www.itsvse.com/thread-4595-1-1.html


The effect is as follows:



SQL code:







Previous:.NET/C# gets all the days of the year
Next:Angular 10 series (thirteen) introduces Baidu echarts charts
Posted on 8/10/2020 9:01:37 AM |
MySQL database name, table name, and field name query
https://www.itsvse.com/thread-6866-1-1.html
(Source: Architect_Programmer)
 Landlord| Posted on 11/16/2020 3:32:32 PM |
Query column names


Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com