July 25th, 2013, 09:20 AM
Mssql multiple queries insert queries and results
in php I'm executing multiple queries at once, the queries are wrote in one big variable. These are insert queries and I have to retrieve each autoincrement "id" of the records created in the db. How to do it ? The results set retrieved don't seems to keep each single result but just one.
July 26th, 2013, 09:24 AM
I'm not sure where is your problem, but you can execute multiple query in once, just separate them by ; if you need more complex staff you can create stored procedure and implement any logic there. in thins case you will need just call that stored procedure with parameters from ANY application
Originally Posted by gulp