t sql display variable value?Advertisement
I would like to declare and display a variable in Oracle. In T-SQL I would do something like this DECLARE @A VARCHAR ... And you can display the value by: define <varname> And then use it in a query as, for example: select * from tab1 where col1 = '&varname'; - read more
A Transact-SQL local variable is an object that can hold a single data value of a specific type. Variables in batches and scripts are typically used: - read more
Please vote if the answer you were given helped you or not, thats the best way to improve our algorithm. You can also submit an answer or check other resources.