Mssql Last inserted id

#1
[eluser]shankar ganesh[/eluser]
How to get last_inserted_id in mssql using php?

#2
[eluser]Alexandru M.[/eluser]
In mysql and postgresql I use $this->db->insert_id() , should work with mssql too.

#3
[eluser]WanWizard[/eluser]
No, it doesn't. MSSQL doesn't support a last insert id.

There are some tricks possible, they've been posted here before, use the search...


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.