Also, make sure that the data source you are using allows you to create objects. Under allowed SQL, the create box needs to be checked.
>On Thu, 03 Feb 2005 11:05:01 -0500, Rick Root <[EMAIL PROTECTED]> >wrote: > > This was in another thread but I wanted to post it to a separarate > > thread so more people might see it.. > > > > I need to create oracle functions from within CFML. > > > > Ie: > > > > <cfquery ...> > > CREATE OR REPLACE FUNCTION year (MyDate DATE) RETURN NUMBER IS BEGIN > > RETURN extract(YEAR FROM MyDate); > > END year; > > / > > </cfquery> > > > > It doesn't generate errors - at least not in coldfusion - (with or > > without the /), but it does leave the function in an unusable state. > > > > Anyone out there ever done this or have ideas for a solution? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192900 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

