Hello Hase,
I think this documentation of the SQLCODE should give you a hint:
-407 AN UPDATE, INSERT, OR SET VALUE IS NULL, BUT THE
OBJECT COLUMN column-name CANNOT CONTAIN NULL
VALUES...
Hi gnealsr,
another way to get more and fast information is:
SELECT count(*)
FROM table
WHERE column1 = value
AND column2 = value
Then you'll get the number of rows that will be result of your select conditions anyway.
If there is no row found the result will be 0.
:-) Stephan
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.