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

Need to find all the variable list within the procedure with there data type and assigned values.

$
0
0

Need to find all the variable list within the procedure with there data type and assigned values.E

For e.g.

procedure have 2 variables 

@a int ,@b varchar(100)

set @a= id from t1

set @b=name from t1

the i need out put as

Variable  declared asassigned type

@aint int from table t1

@bvarchar(50)varchar from table t1


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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