Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 5123

Convert column name in rows by comma separated

$
0
0

Hi,

I want to convert column of respective table into rows of all the table of database

suppose emp table have col1,col2 and col3 column

and dept column have col1,col2,col3,col4 column

my output like

Table_nameColumn List
Emp col1,col2,col3
Dept col1,col2,col3,col4
  

regards,

Vipin jha



Thankx & regards, Vipin jha MCP


Viewing all articles
Browse latest Browse all 5123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>