get basic SQL Server table structure information

后端 未结 6 2007
心在旅途
心在旅途 2021-02-05 04:21

I can get the number of columns in an SQL Server database with this:

SELECT COUNT(*)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = \'Address\'
6条回答
  •  佛祖请我去吃肉
    2021-02-05 04:28

    Write the table name in the query editor select the name and press Alt+F1 and it will bring all the information of the table.

提交回复
热议问题