Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
Test on a function that returns the lenght of a string returns the wrong result for NULL value
Description
We are testing a function that returns the length of a string. The expected resulkt for NULL is NULL but Code Tester is retirniung 4 instead. When testing the same funtion with sql plus is returns null.
Cause
Entering NULL as an input parameter. Code Tester understands that the input is the string NULL so it returns 4 (which is the lenght of this string 'NULL').
Resolution
Do not enter any value for the input parameter when testing for NULL values
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Recommended Content
Product(s):
Code Tester for Oracle
Topic(s):
Troubleshooting
Article History:
Created on: 3/9/2018 Last Update on: 5/7/2023
Thank you for your feedback for Topic Request
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Welcome to Quest Support
You can find online support help for Quest *product* on an affiliate support site. Click continue to be directed to the correct support content and assistance for *product*.
Search All Articles
IE 8, 9, & 10 No longer supported
The Quest Software Portal no longer supports IE8, 9, & 10 and it is recommended to upgrade your browser to the latest version of Internet Explorer or Chrome.