Topic: Database Administration >> Question about create procedure
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: Question about create procedure |
| Virusminus |
Posted: Apr 15, 2008 08:59:50 AM |
Total Post: 14
Joined: Jan, 2008
|
| Hi Friends, I wanted to know if I have the create procedure privilige will I automatically get the privilige of replace also or do I need to be given that privilige separately?? |
|
|
Mohammed Taj |
| Posted: Apr 15, 2008 10:53:35 AM | |
|
Total Post: 746
Joined: Jul, 2007
|
Anyone stop you to check this?
there is no "create procedure or replace" privilege for database.
lets check...
SQL> conn / as sysdba
Connected.
SQL> grant create procedure, create session to test identified by test;
Grant succeeded.
SQL> conn test/test
Connected.
SQL> create procedure TEST
2 is
3 begin
4 null;
5 end;
6 /
Procedure created.
SQL> create or replace procedure test
2 is
3 begin
4 null;
5 end;
6 /
Procedure created.
|
|
|
|
|
Virusminus |
| Posted: Apr 15, 2008 11:24:29 AM | |
|
Total Post: 14
Joined: Jan, 2008
|
Thanks a lot Taj. This info is a lot helpful.
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gopu Gopi | 333 |
| Gitesh Trivedi | 322 |
| Vinoth Kumar | 264 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|