// archives

mysql

This tag is associated with 2 posts

Suchen & ersetzen in MySQL

Leider kann MySQL (noch) keine Regex-Replaces. Sollte man jedoch z.B. eine Oracle DB zur Hand haben kann man auch auf REGEXP_REPLACE zurückgreifen

Nächste auto_increment ID einer MySQL Tabelle

Wenn man wissen will was die nächste auto_increment ID einer MySQL-Tabelle werden wird, hilft SHOW TABLE STATUS weiter: Ergebnis: array(18) { [...] ["Index_length"]=> string(5) "33792" ["Data_free"]=> string(1) "0" ["Auto_increment"]=> string(4) "3847" ["Create_time"]=> string(19) "2009-06-25 11:54:04" [...] }