Deepak M

Deepak M

  • 1.9k
  • 200
  • 12.5k

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)