Small. Fast. Reliable.
Choose any three.

Search results 1..10 of 113 for: insert

C API: Set the Last Insert Rowid value.
(c3ref/set_last_insert_rowid.html)
sqlite3_set_last_insert_rowid()
The sqlite3_set_last_insert_rowid(D, R) method allows the application to set the value returned by calling sqlite3_last_insert_rowid(D) to R without inserting a row into the database. See also lists of Objects, Constants, and Functions.
C API: Last Insert Rowid
(c3ref/last_insert_rowid.html)
sqlite3_last_insert_rowid()
 ... An INSERT that fails due to a constraint violation is not a successful INSERT and does not change the value returned by this routine. Thus INSERT OR FAIL, INSERT OR IGNORE, INSERT OR ROLLBACK, and INSERT OR ABORT make no ... 
INSERT
(lang_insert.html)
 ... INSERT INTO table DEFAULT VALUES; The third form of an INSERT statement is with DEFAULT VALUES. The INSERT ... DEFAULT VALUES statement inserts a single new row into the named table. Each column of the new row is populated with its ... 
C API: Authorizer Action Codes
(c3ref/c_alter_table.html)
 ... SQLITE_DROP_TRIGGER, SQLITE_DROP_VIEW, SQLITE_INSERT, SQLITE_PRAGMA, SQLITE_READ, SQLITE_SELECT ... 
The sqlite3_set_authorizer() interface registers a callback function that is invoked to authorize certain SQL statement actions. The second parameter to the callback is an integer code that specifies what action is being authorized. These are the integer action codes that ... 
UPSERT
(lang_upsert.html)
 ... Description UPSERT is a clause added to INSERT that causes the INSERT to behave as an UPDATE or a no-op if the INSERT would violate a uniqueness constraint. UPSERT is not standard SQL. UPSERT in SQLite follows the syntax ... 
2.2. Truncating A Database Normally the data for UPDATE and INSERT must be a blob which is the exact same size as a database page. However, as a special case, doing an INSERT of a NULL into page 2 or greater as the last ... 
SQLite Autoincrement
(autoinc.html)
3. The AUTOINCREMENT Keyword  ... If the largest possible ROWID has previously been inserted, then new INSERTs are not allowed and any attempt to insert a new row will fail with an SQLITE_FULL error. Only ROWID values from previous transactions that were committed are considered ... 
sqlite3_changes(), sqlite3_changes64()
These functions return the number of rows modified, inserted or deleted by the most recently completed INSERT, UPDATE or DELETE statement on the database connection specified by the only parameter. The two functions are identical except for the type of ... 
REPLACE
(lang_replace.html)
The REPLACE command is an alias for the "INSERT OR REPLACE" variant of the INSERT command. This alias is provided for compatibility other SQL database engines. See the INSERT command documentation for additional information.
 ... INSERT INTO t1 INSERT INTO t2 VALUES('12345678901234567890'); VALUES(12345678901234567890); INSERT INTO t1 INSERT INTO t2 VALUES('12345678901234567891'); VALUES(12345678901234567891); As before, the second insert on the left will fail because the comparison will convert both strings into floating-point ... 

12345678910

Page generated by FTS5 in about 157.94 ms.