Main Content
exec
Execute SQL statement using SQLite connection
The exec
function will be removed in a future release. Use the
execute
function
to manage the SQLite database instead.
Syntax
Description
exec(
performs database operations on an SQLite database file by executing the SQL statement
conn
,sqlquery
)sqlquery
for the SQLite connection conn
using
the MATLAB® interface to SQLite. For example, use this syntax to create database tables in
the SQLite database file. To import data into MATLAB from the SQLite database file, use the fetch
function.
Examples
Input Arguments
Version History
Introduced in R2016a