Name
CREATE VIRTUAL TABLE — Create a new virtual table
Syntax

Common Usage
CREATE VIRTUAL TABLEdatabase_name.table_nameUSING weblog( access.log ); CREATE VIRTUAL TABLEdatabase_name.table_nameUSING fts3( );
Description
The CREATE
VIRTUAL TABLE command creates a virtual table.
Virtual tables are data sources that are defined by code and can
represent highly optimized data sources or external data
sources. The standard SQLite distribution includes virtual table
implementations for Full Text Search, as well as an R*Tree-based
indexing system.
Virtual tables are covered in detail in Chapter 10.
A virtual table is removed with the
standard DROP TABLE
command.
See Also
sqlite3_create_module() [C API, Ap G], DROP TABLE
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access