Selasa, 21 September 2010
MYSQL: Get the Auto-Increment Values after Insert Statement
Until sometime back, I was unaware of how I could get the value of an auto-incremented field after an Insert Statement. But recently I needed it for two of my projects simultaneously, so I explored the possibilities. As one of my project is in Java and other is in PHP, we will go through both of them. So, here is the problem. In general, the PRIMARY KEY field is the AUTO_INCREMENT field. Now wen
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar