Martin James

Martin James

  • 2k
  • 96
  • 2.6k

Get the columns names from a column

Feb 26 2021 2:10 PM
I have the following table in SQL Server : 
 ColID Columns
 1 SELECT Col1, Col2, Col3, Col4, Col5 FROM MyTab
 
I want to get the column names between SELECT and FROM. 

Answers (1)