Skip to content

Instantly share code, notes, and snippets.

@eiryu
Created October 1, 2011 00:49
Show Gist options
  • Save eiryu/1255441 to your computer and use it in GitHub Desktop.
Save eiryu/1255441 to your computer and use it in GitHub Desktop.
derbyでシーケンス(連番)カラムを使う
CREATE TABLE sample (
id INT NOT NULL GENERATED ALWAYS AS IDENTITY,
val VARCHAR(10)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment