Topic: SQL*Plus and PL/SQL >> Trigger fired(After LOGON ON Data base)-reg
|
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: Trigger fired(After LOGON ON Data base)-reg |
| samba |
Posted: Jan 26, 2007 12:09:04 AM |
Total Post: 1
Joined: Jan, 2007
|
Dear Friends & all Sr.DBAs'
With reference of the above subject.I am create one trigger(after logon on database) trigger having following condition.
if username='SCOTT' and upper(program) like'SQL%' then
Raise_application_error(-20001,'some message');
end if;
Trigger created succefully but after that i am also unable to connect to data base with all the users including (SYS,system)
so how it will be rectified plz help me immediatly
Tanks & Rgards
Samba. |
|
|
Rush |
| Posted: Feb 19, 2007 05:40:41 AM | |
|
Total Post: 127
Joined: Jan, 2007
|
first try to disable the written trigger by applying "double dash" before the code starts.i.e --create or....
now you will be able to connect to your database.then find solution of your main query.
regards
|
|
|
|
|
| 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 |
|
|