dbTalk Databases Forums  

Is alternative quoting supported in 9i?

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Is alternative quoting supported in 9i? in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
csimam@gmail.com
 
Posts: n/a

Default Is alternative quoting supported in 9i? - 12-22-2007 , 09:12 PM






Hello,

Is the alternative quoting mechanism in 10g supported in 9i? In other
words, the following query is understood in 10g:

select * from companies where name= Q'[Bob's Hotdogs]'

but will it be understood in 9i? or do I need to go back to:

select * from companies where name='Bob''s Hotdogs'

thanks in advance.

Reply With Quote
  #2  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Is alternative quoting supported in 9i? - 12-26-2007 , 09:36 AM






Comments embedded.
On Dec 22, 9:12*pm, csi... (AT) gmail (DOT) com wrote:
Quote:
Hello,

Is the alternative quoting mechanism in 10g supported in 9i?
No.

Quote:
In other
words, the following query is understood in 10g:

select * from companies where name= Q'[Bob's Hotdogs]'

but will it be understood in 9i?
No, it won't be understood in any release of 9i:

SQL> select q'[Bob's Hotdogs]' from dual;
select q'[Bob's Hotdogs]' from dual
*
ERROR at line 1:
ORA-00923: FROM keyword not found where expected

Quote:
or do I need to go back to:

select * from companies where name='Bob''s Hotdogs'

thanks in advance.

David Fitzjarrell


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.