Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: MAX NUMBER

Re: MAX NUMBER

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Thu, 24 Aug 2006 10:51:44 +0200
Message-ID: <p0qqe2dclb2eimta6qhahj09f8h5h7a4rn@4ax.com>


On 24 Aug 2006 01:32:46 -0700, "Reiro" <ReiroGP_at_gmail.com> wrote:

>
>i having trouble with the sequence.... in my access query i have the
>foll:
>
>
>insert into asset(asset_id,parent_asset_id,content_title,asset_level)
>values (asset_seq,parfld1,parfld2,parfld3)
>
>if i try my parameter fields it works fine.... please let me know how
>i can call the sequence in access through the query above..
>
>thx alot
>SORRY (im a beginner of all beginners)

You can do that probably by using a passthrough query. A workaround I used on interactive forms was to create a PL/SQL function to run <sequence>.nextval, call that in a pass through query, and assign the retrieved value to the ID column on my form.

--
Sybrand Bakker, Senior Oracle DBA
Received on Thu Aug 24 2006 - 03:51:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US