SQLDBC::Connection::createPreparedStatement

Prototypes

SQLDBC_PreparedStatement *SQLDBC::Connection::createPreparedStatement(void);

Description

Construit l'objet représentant un ordre Sql rattaché à la connexion courante. L'ordre Sql est exécuté après une préparation préalable.

Exemple

#include <SQLDBC.h>

static SQLDBC_Connection *hConnexion;
static SQLDBC_PreparedStatement *hOrdreSql;

...
hOrdreSql=hConnexion->createPreparedStatement();
if (!hOrdreSql) ...
hConnexion->releaseStatement(hOrdreSql);
...

Voir aussi

SQLDBC::Connection::createStatement pour construire un ordre Sql sans préparation préalable. SQLDBC::Connection::releaseStatement pour détruire un ordre Sql.