skip to main | skip to sidebar

Albert Guo's Blog

2007年3月8日 星期四

How to reset auto-increment column in MySQL

utilize this command: ALTER TABLE $table AUTO_INCREMENT = 1
ex. ALTER TABLE bugs.bugs AUTO_INCREMENT = 1
張貼者: Albert Kuo 於 下午6:00
標籤: database

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

網誌存檔

  • ►  2009 (1)
    • ►  1月 (1)
  • ▼  2007 (11)
    • ►  7月 (1)
    • ►  5月 (1)
    • ▼  3月 (8)
      • Ten Common Database Design Mistakes
      • Spring + Hibernate Cache Implementation
      • ORA-12519, TNS:no appropriate service handler found
      • Oracle JDBC FAQ
      • How to generate mData
      • Top 15 Ant Best Practices
      • How to reset auto-increment column in MySQL
      • Diff and Merge Tool -- WinMerge
    • ►  2月 (1)

關於我自己

Albert Kuo
檢視我的完整簡介