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 weeks 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.

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.