Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
0Activity
0 of .
Results for:
No results containing your search query
P. 1
5 Useful SQL Scripts

5 Useful SQL Scripts

Ratings: (0)|Views: 11|Likes:
Published by saravanan
Oracle Apps usefull scripts
Oracle Apps usefull scripts

More info:

Published by: saravanan on Jun 30, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

06/30/2012

pdf

text

original

 
Addanyresponsibility(EvenwithoutSysadmin)declarev_user_namevarchar2(30):=upper('&Enter_User_Name');v_respvarchar2(30):='&Enter_Responsibility';v_resp_keyvarchar2(30);v_app_short_namevarchar2(50);beginselectr.responsibility_key,a.application_short_nameintov_resp_key,v_app_short_namefromfnd_responsibility_vlr,fnd_application_vlawherer.application_id=a.application_idandupper(r.responsibility_name)=upper(v_resp);fnd_user_pkg.AddResp(username=>v_user_name,resp_app=>v_app_short_name,resp_key=>v_resp_key,security_group=>'STANDARD',description=>null,start_date=>sysdate,end_date=>null);commit;DBMS_OUTPUT.put_line('Responsibility:'||v_resp||''||'isaddedtotheUser:'||v_user_name);EXCEPTIONwhenothersthenDBMS_OUTPUT.put_line('Unabletoaddtheresponsibilitydueto'||SQLCODE||''||SUBSTR(SQLERRM,1,100));rollback;end;ChangeUserpasswordfrombackendbeginfnd_user_pkg.updateuser(x_user_name=>'&username',x_owner=>'CUST',x_unencrypted_password=>'&new_password',x_password_date=>to_date('2','J'));commit;end;

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->