21.I get a compiler error if I use the SQLITE_OMIT_... compile-time options when building SQLite.The SQLITE_OMIT_... compile-time options only work when building from canonical source files. They do not work when you build from the SQLite amalgamation or from the pre-processed source files. 22.My WHERE clause expression column1="column1" does not work. It causes every row of the table to be returned, not just the rows where column1 has the value "column1".?Use single-quotes, not double-quotes, around string literals in SQL. This is what the SQL standard requires. Your WHERE clause expression should read: column1='column1' 23.The SQL standard requires that a UNIQUE constraint be enforced even if one or more of the columns in the constraint are NULL, but SQLite does not do this. Isn't that a bug?Perhaps you are referring to the following statement from SQL92:
24.What is the Export Control Classification Number (ECCN) for SQLite?After careful review of the Commerce Control List (CCL), we are convinced that the core public-domain SQLite source code is not described by any ECCN, hence the ECCN should be reported as EAR99. 25.My query does not return the column name that I expect. Is this a bug?If the columns of your result set are named by AS clauses, then SQLite is guaranteed to use the identifier to the right of the AS keyword as the column name. If the result set does not use an AS clause, then SQLite is free to name the column anything it wants. See the sqlite3_column_name() documentation for further information. 26.Explain what is SQL LITE?SQL LITE is a mostly ACID compliant relational database management system contained in a relatively small C programming library. 27.List out the standard SQL Lite commands?The standard SQL Lite commands interact with relational databases are similar to SQL. They are
28.Explain what is SQLite transactions?The transaction is referred as a unit of work that is performed against a database. It is the propagation of one or more changes to the database. Properties of transactions are determined by ACID.
29.List out the areas where SQL Lite works well?SQL lite works well with
30.What is the difference between SQL and SQL Lite?
31.List out the advantages of SQL Lite?
32.Mention what are the SQL lite storage classes?SQL lite storage classes include
33.Explain how Boolean values in SQL Lite are stored?Boolean values in SQL lite are stored as integers 0 (false) and 1 (true). SQL Lite does not have a separate Boolean storage class. 34.Explain what is the use of SQLITE group by clause?The SQLITE group by clause is used in collaboration with the SELECT statement to arrange identical data into groups. 35.Mention what is the command used to create a database in SQL lite?To create a database in SQL lite- command “sqlite3” is used. The basic syntax to create a database is $sqlite3 DatabaseName.db . 36.Mention what is .dump command is used for?The .dump command is used to make an SQLite database dump, remember once you use the dump command all your data will be dumped forever and cannot be retrieved. 37.Explain how can you delete or add columns from an existing table in SQLite?There is a very limited support for alter ( add or delete ) table. In case if you want to delete or add columns from an existing table in SQLite you have to first save the existing data to a temporary table, drop the old table or column, create the new table and then copy the data back in from the temporary table. 38.Mention what is the maximum size of a VARCHAR in SQL Lite?SQL Lite does not have any specific length for VARCHAR. For instance, you can declare a VARCHAR (10) and SQLite will store a 500 million character string there. It will keep all 500 characters intact. 39.Mention when to use SQLite and when not to use SQLite?SQLite can be used in following conditions
40.Explain how to recover deleted data from my SQL Lite database?To recover the information you can use your backup copy of your database file, but if you do not have a backup copy, then recovery is impossible. SQL Lite uses SQLITE SECURE DELETE option which overwrites all deleted content with zeroes. |