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

Home -> Community -> Usenet -> c.d.o.server -> Safe to allow ' character in varchar fields?

Safe to allow ' character in varchar fields?

From: Adrian Harrison <adrianh_at_globalnet.co.uk>
Date: Wed, 03 Feb 1999 12:49:58 GMT
Message-ID: <36b83828.9165969@news.globalnet.co.uk>


I have a request by users to allow ' in varchar2 fields

At the moment I stop them entering this character as it's used to denote strings

Is it safe to allow it to be saved in to these fields or not?

Also how would you do an SQL wild card search on field that contain wildcard characters? Is this the way to do it "select * from mytable where mycol like '%%'; ?

Thanks

Adrian Harrison Received on Wed Feb 03 1999 - 06:49:58 CST

Original text of this message

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