Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> empty string or null

empty string or null

From: Tim B <nospam_at_someisp.ca>
Date: Thu, 29 Mar 2007 14:44:36 GMT
Message-ID: <ohQOh.86220$DN.61963@pd7urf2no>


Why does this query return null? I would expect it to return 0. It appears trim() is returning null,
select length(trim(substr(' n',1, 3))) from dual Received on Thu Mar 29 2007 - 09:44:36 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US