Syntax like that throws an error for me when tried in a cfquery.

On 6/7/05, James Holmes <[EMAIL PROTECTED]> wrote: 
> 
> This would work in a cfquery:
> 
> DECLARE newid NUMBER;
> BEGIN
> select s.nextval into newid from dual;
> .... etc
> END;
> 
> but I don't know why you would bother. Since you need the PL/SQL block
> you may as well store the prodecure instead so you can get back the id,
> which was the point in the first place. Or just use the two queries like
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:208826
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

Reply via email to