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 -> Dynamic SQL

Dynamic SQL

From: My Name <gxck_at_mindspring.com>
Date: Wed, 09 Feb 2000 20:59:25 -0500
Message-ID: <38A21B7D.C4C673E6@mindspring.com>


Hello all:
I am having problem with this dynamic sql because of the single quote around foo. Is there a way around it?

select 'select * from '||table_name|| ' where sample_column = 'foo'' from user_tables where table_name like '%BLAH'; Received on Wed Feb 09 2000 - 19:59:25 CST

Original text of this message

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