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

Alise column with variable value in SQL Script

$
0
0

Hi All,


How to alise a column Name to a variable value.. 
Declare @test as Varchar(20)
Select Column_A From Table_A

In above query i want to alise for column_A as @test variable value


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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