Tagged: MySQL

Zend_Date and MySQL’s datetime format 5

Zend_Date and MySQL’s datetime format

Despite Zend_Date‘s power and elegance to handle all kinds of different date and time formats, it (still) lacks the ability to cope with MySQL’s datetime formated strings out-of-the-box. Thus, instead of being able to...

Calculate next auto-increment value for MySQL tables 1

Calculate next auto-increment value for MySQL tables

Sometimes it is necessary to determine the next auto-increment value that will be used by MySQL for inserting values into tables. First off, there are several different approaches to determine it. Most people use...