SQLite – VACUUM
VACUUM command cleans the main database by copying its contents to a temporary database file and reloading the original database file from the copy. This eliminates free pages, aligns table…
VACUUM command cleans the main database by copying its contents to a temporary database file and reloading the original database file from the copy. This eliminates free pages, aligns table…
SQLite statement can be preceded by the keyword "EXPLAIN" or by the phrase "EXPLAIN QUERY PLAN" used for describing the details of a table. Either modification causes the SQLite statement…
If you take user input through a webpage and insert it into a SQLite database there's a chance that you have left yourself wide open for a security issue known…
SQLite AUTOINCREMENT is a keyword used for auto incrementing a value of a field in the table. We can auto increment a field value by using AUTOINCREMENT keyword when creating a table with specific…
A Subquery or Inner query or Nested query is a query within another SQLite query and embedded within the WHERE clause. A subquery is used to return data that will…
A transaction is a unit of work that is performed against a database. Transactions are units or sequences of work accomplished in a logical order, whether in a manual fashion…
Redis TYPE command is used to get the data type of the value stored in the key. Return Value String reply, data type of the value stored in the key or none.…
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…
Redis RENAMENX command is used to change the name of a key, if the new key does not exist. Return Value Integer reply 1 or 0. 1, if key is renamed to…
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…