Skip to Content.
Sympa Menu

freetds - Re: Equivalent of mysql_insertid using FreeTDS/DBD::Sybase?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Richard Wolfe" <rwolfe AT resourceprint.com>
  • To: "TDS Development Group" <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Equivalent of mysql_insertid using FreeTDS/DBD::Sybase?
  • Date: Mon, 30 Sep 2002 17:44:07 -0500


> Just add a "select @@identity" to your insert request, or execute the
> "select @@identity" on the same connection right after the insert is
> done.

Upon further futzing around, I got it to work. Thanks again, Michael.

-Richard






Archive powered by MHonArc 2.6.24.

Top of Page