I do not think you can pass the needed PL/SQL to Oracle through a CFQUERY to create the SP. If that were possible then you should be able to write queries just in a CFQUERY that give you what you need/want.
Actually you can, at least in a limited way. It is a multi-step process. Somewhere run a query with PL/SQL that creates the SP. Then in another place run a cfquery or cfstoredprocedure that uses the created sp. This is the way I have created and used the very limited SP's I have experience with. -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA --------- | 1 | | --------- Binary Soduko | | | --------- "C code. C code run. Run code run. Please!" - Cynthia Dunning ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231827 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

