x
login about faq Site discussion (meta-askssc)

What are the return values of functions SQLCODE and SQLERRM ?

What are the return values of functions SQLCODE and SQLERRM ? What is Pragma EXECPTION_INIT ? Explain the usage ? Thank you in advance.

more ▼

asked Jan 22 '10 at 12:35 PM in Default

OracleApprender gravatar image

OracleApprender
763 53 67 73

(comments are locked)
10|1200 characters needed characters left

1 answer: sort oldest

SQLCODE returns the latest code of the error that has occurred. SQLERRM returns the relevant error message of the SQLCODE.

more ▼

answered Jan 25 '10 at 10:43 AM

OraLearner gravatar image

OraLearner
1.3k 51 66 83

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x359
x12
x6

asked: Jan 22 '10 at 12:35 PM

Seen: 937 times

Last Updated: Jan 22 '10 at 12:35 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.