and this will give you the next number from Oracle. Dual is a magic table. It is there to ask the Database different questions.my $sth = $dbh->prepare("select MY_SEQUENCE.NEXTVAL from DUAL");
In reply to Re: Re: DBI and primary keys
by BigJoe
in thread DBI and primary keys
by $code or die
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |