I use auto increment and am looking for a way to get the scalar value without out running a max id or desc id sort. if this is not possible I will run a query to get the id.
This will provide you with your scalar value of the ID that was added. I figured it was better to link the post and provide credit where credit is due rather than rehash it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.