Sure you can. You will have to use a feature called Native Dynamic SQL. See ( [url]http://www.oracle.com/oramag/oracle/00-nov/o60sql.html[/url] )