Contents Index Generated statement class SetNull method pdf/preface.pdf

UltraLite User's Guide
  C++ API Reference
    Generated statement class

Execute method


Prototype 

bool  Execute( ULConnection* conn,
datatype column-name,... ] )

Description 

Executes a named statement that does not return a result set. Any change made is not permanent until it is committed.

When a statement is defined using ul_add_statement, you supply placeholders for the values, and supply them at run time. The generated prototype has a data type and name for each value.

If the set of parameters is omitted, each value must be set using SetNull or SetParameter before the Execute is called.

Parameters 

conn    The connection on which the statement is to be executed.

datatype    A member of the UltraLite data type enumeration.

column-name    The name of the column.

Returns 

true (1) if successful.

false (0) if unsuccessful.

See also 

ul_add_statement system procedure

SetNull method

SetParameter method


Contents Index Generated statement class SetNull method pdf/preface.pdf