For Sybase ASE and mssql the following sql-statement should give you the correct value:
select @@identity
In reply to Re: DBI and primary keys
by busunsl
in thread DBI and primary keys
by $code or die
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |