declare varruleid NUMBER(38,0); Begin Select RL.RULEID into varruleid from RULELIB RL where RL.RULEID = 5048; select * from TESTFUNCTIONINTEST where RULEID=varruleid; End;
/*add this to your declaration */ -- declare (record) variable 'tftrec' to match table structure tftrec TESTFUNCTIONINTEST%rowtype; /* and in your code */ select * into tftrec from testfunctionintest where ruleid = varruleid;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)