Yah, I changed it to number and used 1/0. But, I'm still annoyed. :P On 8/23/05, Eddie Awad <[EMAIL PROTECTED]> wrote: > On 8/23/05, Deanna Schneider <[EMAIL PROTECTED]> wrote: > > So, I just noticed that there isn't a documented cf_sql_boolean type > > for use with stored procedures. If you use it, though, it doesn't fail > > to compile, and it converts it to a cf_sql_char. But, with my stored > > proc in Oracle 10g - it's not going in as a boolean. (I get the error > > about wrong number or type of paramaters.) > > > > Does anyone know if there's a workaround that will really send a > > boolean to the stored proc, or do I need to alter my stored proc to > > not expect a boolean? > > Oracle's PL/SQL Boolean data type does not have an equivalent in > ColdFusion, I think this may be because "Boolean" is not a native SQL > data type. So, what I usually end up doing is to change the data type > of the Boolean argument in my stored procedure to something like > varchar2(1), accepting values of Y/N or T/F. > -- > Eddie Awad. > http://awads.net/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:216101 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

