> "Burton, Laura L." wrote: > > We have Oracle version 8.0.5 and need to use dynamic sql. Through > research I know that there is a dbms_sql package that is suppose to > support this, but we cannot find an example of what we are needing to > do. We have been told that we can do it easily in '8i' but we are not > able to upgrade yet. > > We are trying to populate a reference cursor via a procedure with a > select statement. Has anyone done this and if so can you furnish an > example? I may need to tell more about what we are doing and if so > please tell me. > > Thank you, > > Laura
Laura, Read $ORACLE_HOME/rdbms/admin/dbmssql.sql, it contains examples. -- Regards, Stephane Faroult Oriole Ltd -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stephane Faroult INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).