I did some maintenance on a project recently that did this.  They also only
had one sequence for the entire project.  Their theory was it made it harder
for someone to try and edit/delete/view records via just changing the ID in
the URL/FORM.  Since your records could go from 1 to 50 to 190.

We just use triggers here and those plug in the nextval of the sequence.  We
also almost never need the ID of what was just inserted, when we do
typically we just rely on a cftransaction and do two queries or if more
complex then an SP.


On 3/9/06, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
>
>
> Just like SELECT nextval FROM dual in Oracle
>
>


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