0% found this document useful (0 votes)
253 views1 page

SQL Codes

The SQLCODE value indicates the result of executing an SQL statement in the database, with 0 meaning success, 100 meaning no data found, values greater than 0 but not equal to 100 representing success with a warning, 0 with a warning flag also representing success with a warning, and negative values representing an unsuccessful execution.

Uploaded by

VISHNU400
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
253 views1 page

SQL Codes

The SQLCODE value indicates the result of executing an SQL statement in the database, with 0 meaning success, 100 meaning no data found, values greater than 0 but not equal to 100 representing success with a warning, 0 with a warning flag also representing success with a warning, and negative values representing an unsuccessful execution.

Uploaded by

VISHNU400
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

The SQLCODE is also set by the database manager after each SQL statement is exec uted as follows: If SQLCODE

= 0 and SQLWARN0 is blank, execution was successful. If SQLCODE = 100, no data was found. For example, a FETCH statement returned no data, because the cursor was positioned after the last row of the result table. If SQLCODE > 0 and not = 100, execution was successful with a warning. If SQLCODE = 0 and SQLWARN0 = 'W', execution was successful with a warning. If SQLCODE < 0, execution was not successful.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy