Hi
i would like to use a dynamic select statment within a hana procedure.
the select statement should use value of the variable v_name as data field of the table DEBT.
like this: (But this shows only the value GENDER in the resut)
create type t_woe astable (I_GENDER nvarchar);
procedure get_amount ( out v_woe t_woe )
sqlscript as
begin
v_name char(10) := 'GENDER';
v_woe = select:v_nameasI_GENDERfrom DEBT;
end;
Thanks in Advance
Mike