Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Re: Problem com...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 3394 of 3797
Post > Topic >>

Re: Problem commit in function

by meena cherukupalli <cherukupalli.meena@[EMAIL PROTECTED] > Apr 29, 2008 at 05:05 AM

hi,

please see the below case. i have executed that function and it
updated the table without any errors and returned the value also.

create or replace function meena_test return varchar2
as
l_ename  varchar2(10);
begin

    update emp
    set ename = 'cherum'
    where empno = 101;

    commit;

    select ename
    into l_ename
    from emp
    where ename = 'Meena';

    return(l_ename);
end;
/
sho err
 




 4 Posts in Topic:
Problem commit in function
luke.78@[EMAIL PROTECTED]  2008-04-07 14:30:51 
Re: Problem commit in function
pavan.deolasee@[EMAIL PRO  2008-04-07 18:06:12 
Re: Problem commit in function
craig@[EMAIL PROTECTED]   2008-04-07 21:36:38 
Re: Problem commit in function
meena cherukupalli <ch  2008-04-29 05:05:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 9:54:40 CST 2008.