Hi,
I have seen that there is a NVL function for P/SQL that substitutes a value when null is encountered. But what if I want to set a field to NULL, e.g. EXEC SQL UPDATE mytable SET myfield=NULL WHERE otherValue=1;
When I run this with C++ on HPUX, 0L is used for null while on Linux the statement fails with "illegal value".
Is there a generic Oracle null value/method I can use?
Thanks.