teradata : select data into variable
===

in oracle we have 

decalre 
v_data number ;

begin 
 select max(deptno) into v_data from dept;

end;


do we have this type of advatntage of in terdata like selecting the data from table into a variable

can u give the equivalent code in terdata


Thanks

 