Close
Close window
Execute - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

Database[SQLite]

Execute

execute SQL statement

Calling Sequence

Execute( connection, sql )

Parameters

connection

-

database connection obtained using the Open command

sql

-

string; SQL statement

Description

The Execute command executes an SQL statement using the provided database connection. On success NULL is returned.

This command is intended to be used with SQL statements that do not return any output, such as CREATE TABLE or INSERT.

Use a semicolon (;) to separate statements.

Examples

>

withDatabaseSQLite:

Create in memory database

>

dbOpen:memory::

Create table test with on column val1

>

Executedb,CREATE TABLE test (val1)

Compatibility

The Database[SQLite][Execute] command was introduced in Maple 18.

For more information on Maple 18 changes, see Updates in Maple 18 .


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /