Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AUTOINCREMENT

Mathias Rangel Wulff edited this pageJul 29, 2016 ·3 revisions

KeywordAUTOINCREMENT

Define default value for the column with auto incremeting.

Syntax:

CREATETABLEtableid (         columnid typeid AUTOINCREMENT,...    )

Has the aliasAUTO_INCREMENT for support of varius native databases.

To get the last inserted auto_increment value please accessalasql.autoval(tablename, colname).To get the next value to be inserted into an auto_increment field please accessalasql.autoval(tablename, colname, true). Please note that for async operations the values can be altered by other queries and therefore might not reflect what you expect.

See also:IDENTITY

© 2014-2026,Andrey Gershun &Mathias Rangel Wulff

Please help improve the documentation by opening a PR on thewiki repo

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp