mysql r33 get last AI
#3

Uh, what? The whole point of using auto increment is to generate a unique ID automatically. In an insert statement the ID column need not be specified, or it can be filled with default or null in which case it will also generate a unique ID. The generated value can be retrieved with cache_insert_id().
Reply


Messages In This Thread
mysql r33 get last AI - by Dusan01 - 24.10.2015, 09:14
Re: mysql r33 get last AI - by Dusan01 - 25.10.2015, 14:52
Re: mysql r33 get last AI - by Vince - 25.10.2015, 15:21
Re: mysql r33 get last AI - by Dusan01 - 25.10.2015, 15:36

Forum Jump:


Users browsing this thread: 1 Guest(s)