Jump to content

retrieving autonumber


c_me_7
 Share

Recommended Posts

That SQL statement does work, so the problem is not the SQL.  You can also do this:
SELECT MAX(propertyID) AS propertyID FROM tablename

I might not be working considering that statement only works in MySql. What database are you using???
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...