sql - Select multiple columns into multiple variables -
how can in one select multiple columns , put each column in variable?
something this:
--code here v_date1 t1.date1%type; v_date2 t1.date2%type; v_date3 t1.date3%type; select t1.date1 v_date1, t1.date2 v_date2, t1.date3 v_date3 t1 id='x'; --code here
any help? ty
your query should be
select t1.date1, t1.date2, t1.date3 v_date1, v_date2, v_date3 t1 id='x';
share , enjoy.
Comments
Post a Comment