connection.execute

Description

The execute method procedure of the connection object type is used to send an SQL statement to a database engine through an open connection.

Example

For example, if conn is a connection object reference with an open connection to a database engine then the following:

   conn.execute('create database test');

will send the SQL statement

create database test

to the database engine at the other end of the connection.

Portability

Operating Systems: All
Standard Pascal: No