Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to have dynamic SQL

Status
Not open for further replies.

schu

MIS
Jun 21, 2001
188
HK
Is it possible to have dynamic SQL in Stored procedures in Oracle. If so which version.

What I want to do is create a SQL statement from data in the database, eg the where part are stored in fields of a table, where i extract and create the statement.

Thanks
 
Yes. Use DBMS_SQL package On Oracle 7/8 or EXECUTE IMMEDIATE command on 8i/9i
 
Thanks, TIme to change to Oracle (From IBM Informix)
cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top