Deepak M

Deepak M

  • 2k
  • 189
  • 12k

How to get all columns name in SQL Server.

Jun 2 2022 5:38 AM

How can i get all tables name with its columns name in a table in SQL Server ?
For example

tablename    columnsname
table1            column1,column2,column3...
table2            column1,column2,column3...
table3            column1,column2,column3...


Answers (4)