This is somewhat triggered by another thread very recently created by a member where thanks to too many answers became a little muddled. So, I created this one fresh for an independent table not joined to another table:
Although a NULL or a number (not used previously) can be inserted in ID column, I like to go further with this:
Although a NULL or a number (not used previously) can be inserted in ID column, I like to go further with this:
- Do you agree that if a number (not used previously as ID and became available because of a row deletion) can be accepted by the INSERT query. Example: 845 and the last ID is: 874
- Do you agree that if a number (not used previously as ID) and enclosed in double quotes can be accepted by the INSERT query. Example: “901”.
- Do you agree that if you are inserting new records and you are listing some or all the column names in the INSERT query, you can leave out the ID and it will automatically be filled with the incremented number.