What is Pragma EXECPTION_INIT ? Explain the usage ?
Answers were Sorted based on User's Feedback
Answer / tulsi
The PRAGMA EXECPTION_INIT tells the complier to associate
an exception with an oracle error. To get an error message
of a specific oracle error.
e.g. PRAGMA EXCEPTION_INIT (exception name, oracle error
number)
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / harish
Oracle have some builtin errors but they have only error
code not the error name user can define this builtin errors
by using Pragma EXECPTION_INIT
Is This Answer Correct ? | 1 Yes | 1 No |
What are the ways on commenting in a pl/sql code?
Can %notfound return null after a fetch?
a. Can you delete data from a View. b. If Yes, can you delete it if there are multiple tables c. If No, can you delete if there is single source table which is joining.
What is sql in oracle?
Can we use threading in pl/sql?
How to run pl/sql statements in sql*plus?
Explain what is sql?
what is the difference between the query and corelated query
8 Answers HSBC, IBM, TCS, Xenosoft,
what is the difference between binary_integer and pls_integer
What is sqlite used for?
what is the need of the cursor attribute notfound..(because using found attribute we can complete the task......found + negation operator = not found )
What is meaning of <> in sql?