Rick,

   Just tried it out, and I'm with Tanguy... It works if you leave out
the "/". The Oracle user I tried with had the resource and connect
roles granted to it. This was on Oracle 8.1.7.4.

Andrew


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?
> 
>   - Rick
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192896
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

Reply via email to