Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

AutoIncrement gives NULL

Gwyneth's profile image Gwyneth posted 3 years ago in General Permalink

I have a field called ID with a DataType INT and Default set to AUTO_INCREMENT.

When I Insert Row in the database, ID is (NULL). I want it to increment to a new value.

Could someone please indicate to me what I am doing wrong. Much appreciated.

francisco.resina@gmail.com's profile image francisco.resina@gmail.com posted 6 months ago Permalink

I have the same problem

Please login to leave a reply, or register at first.




Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.