mysql Q
mysql Q
Out of context: Reply #5
- Started
- Last post
- 7 Responses
- ********0
I do mostly MSSQL DB Work, but can you also use:
SET @VariableID = @@IDENTITY
After declaring the ID, as opposed to mysql_insert_id()?
That way if you need to make multiple inserts, however, still need an ID you can use it anywhere afterwards in the script?