Siegfried Heintze wrote:
Thanks. I see that works for mysql.

"my $lastid = $dbh->{mysql_insertid};"

Is this a feature of MySQL or DBI?

It's a feature of MySQL, via the DBD::mysql driver.


If it is not a feature of DBI, will it work for PostGreSQL?

No, but there is a similar feature. Read the docs for DBD::Pg.


Thanks, Siegfried

-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to