Data Warehousing Community Forum
February 08, 2012, 11:00:53 am
Home
Help
Search
Login
Register
Data Warehousing Community Forum
>
Databases
>
Oracle
>
PL/SQL
>
SQLCODE and SQLERRM
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: SQLCODE and SQLERRM (Read 1220 times)
Sipra
Founder
Reputation: +59/-0
Offline
Posts: 323
Am the King...
SQLCODE and SQLERRM
«
on:
June 29, 2007, 11:42:28 am »
Hi,
What are
SQLCODE
and
SQLERRM
?
For PL/SQL developers, why these terms are very important?
Can anybody define them both and their impotance in PL/SQL?
Logged
Sipra
Founder
www.dwforum.net
Whoever
Administrator
Reputation: +34/-0
Offline
Posts: 124
Re: SQLCODE and SQLERRM
«
Reply #1 on:
June 29, 2007, 02:06:59 pm »
For PL/SQL Developers, these terms are very important because these both gives the info about the last error that encountered in the block.
SQLCODE -
It returns the value of the error number for the last error encountered.
SQLERRM -
It returns the actual error message for the last error encountered.
These terms can be used in Exceptional Handling to report or store in an error-log table, the error that occured in the code.
These are especially useful for the "When Others" Exception.
«
Last Edit: June 29, 2007, 02:09:39 pm by mOrpheuS
»
Logged
If most people said what’s on their minds, they’d be speechless.
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Introductions
=> Anouncements & News
=> Suggestions
=> General Discussion
=> Job Opportunities
-----------------------------
Data Warehousing
-----------------------------
=> Data Warehousing Concepts
=> Data Modeling
-----------------------------
Databases
-----------------------------
=> Oracle
===> PL/SQL
=> Microsoft SQL Server
=> IBM DB2
=> Teradata
-----------------------------
ETL Tools
-----------------------------
=> Informatica
===> Installation & Configuration
=> Data Stage
=> Ab Initio
=> Oracle Warehouse Builder
=> DTS/SSIS
-----------------------------
Reporting Tools
-----------------------------
=> Business Objects
=> Cognos
=> Crystal Reports
=> Hyperion
=> Brio
=> Microstrategy
-----------------------------
Operating Systems
-----------------------------
=> UNIX / Linux
===> Unix Shell Scripting
=> Windows
-----------------------------
Other Technologies & Tools
-----------------------------
=> JAVA