Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How to get only column names from different tables as single table columns

$
0
0

Hi All,

   I have one requirement in which we want only column names from different tables.

for example :

 I have three tables T1 ,T2, T3 having

  col1 clo2 clo3 -->  T1 , 

  col3 col5 ,clo6 --> T2 ,

  Clo6 col8 col9 --> T3

columns i want to get only all  Column names from all table as single Resultset not any data from that how can i get that empty resultset 

because this empty result i want to bind in datagridview(front end) as Empty resultset 

Please tell me anyways to do this


Niraj Sevalkar




Viewing all articles
Browse latest Browse all 23857

Trending Articles



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