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

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -