I have to assign a value returned by SELECT * FROM MyTableValueFunc() to a variable in TSQL.How can i do that ?
e.g Declare myVariable varchar(1000)
SET myVariable = (SELECT * FROM MyTableValuedFunc()); <---- Something of this sort.
Thanks,
BR,
I have to assign a value returned by SELECT * FROM MyTableValueFunc() to a variable in TSQL.How can i do that ?
e.g Declare myVariable varchar(1000)
SET myVariable = (SELECT * FROM MyTableValuedFunc()); <---- Something of this sort.
Thanks,
BR,