10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

setString()<br />

setTimestamp()<br />

Syntax<br />

void setSQL(const string &sql);<br />

Parameters<br />

sql<br />

Any SQL statement.<br />

Set a parameter to an string value.<br />

Syntax<br />

void setString(unsigned int paramIndex,<br />

const string &x);<br />

Parameters<br />

paramIndex<br />

The first parameter is 1, the second is 2, . . . .<br />

x<br />

The parameter value.<br />

Set a parameter to a Timestamp value.<br />

Syntax<br />

void setTimestamp(unsigned int paramIndex,<br />

const Timestamp &x);<br />

Parameters<br />

paramIndex<br />

The first parameter is 1, the second is 2, . . . .<br />

x<br />

The parameter value.<br />

Statement Class<br />

OCCI Classes and Methods 8-205

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!