SQLite – INDEXED BY Clause The “INDEXED BY index-name” clause specifies that the named index must be used in order to look up values on the preceding table. If index-name does not exist or cannot be used for the query, then the preparation of the SQLite statement fails. The “NOT INDEXED” clause specifies that no […]
Category Archives: sqlite
SQLite – TRUNCATE TABLE Command Unfortunately, we do not have TRUNCATE TABLE command in SQLite but you can use SQLite DELETE command to delete complete data from an existing table, though it is recommended to use DROP TABLE command to drop the complete table and re-create it once again. Syntax Following is the basic syntax […]
SQLite – Views A view is nothing more than a SQLite statement that is stored in the database with an associated name. It is actually a composition of a table in the form of a predefined SQLite query. A view can contain all rows of a table or selected rows from one or more tables. […]