Top "Auto-increment" questions

a database constraint that automatically increases from the last record when making an INSERT

How to create a auto incremented column in Documentdb

I want to create a document in azure documentdb with an auto-increment column. Is this possible? If yes, please guide …

c# auto-increment azure-cosmosdb
MySQL InnoDB auto_increment value increases by 2 instead of 1. Virus?

There's an InnoDB table for storing comments for blog posts used by a custom built web application. Recently I noticed …

mysql innodb auto-increment virus
How to make Primary key Auto increment while using Composite Primary keys in Room persistent library?

I am using Room persistent library. I have requirement to add two primary keys in one table and one of …

android auto-increment composite-primary-key android-room
MySQL: Multiple Primary Keys and Auto Increment

I'm quite new to setting up tables in MySQL and there is something I'd like to do which is a …

mysql auto-increment composite-primary-key
Set AUTO_INCREMENT using SqlAlchemy with MySQL on Columns with non-primary keys?

I can't figure out how to set AUTO_INCREMENT on a UNIQUE column using SqlAlchemy 0.6.0 with MySQL 5. I know this …

mysql sqlalchemy auto-increment
MySQL Auto Increment Columns on TRANSACTION, COMMIT, and ROLLBACK

When using MySQL START TRANSACTION and the decision is made by MySQL to roll back - In the case that …

mysql transactions auto-increment decrement
void * arithmetic

#include<stdio.h> int main(int argc,char *argv[]) { int i=10; void *k; k=&i; k++; printf("%…

c auto-increment
Updating generator value issue

I'm currently working on modifying a Firebird v. 1.5 database. The database structure will be modified running queries from a delphi …

firebird auto-increment firebird1.5
MySQL Master-Master replication & Auto-Increment column issue

I am doing some testing with master-master replication and I ran on some weird problem, I will try and describe …

mysql replication auto-increment database-replication master-slave
MySQL's AUTO_INCREMENT behavior in a multiple row insert

I think the answer to my question is obvious but since I could not find any documentation to support it, …

mysql auto-increment multiple-insert