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.

getDatabaseNCHARParam()<br />

getDate()<br />

getDouble()<br />

Returns whether data is in NCHAR character set or not.<br />

Syntax<br />

bool getDatabaseNCHARParam(unsigned int paramIndex) const;<br />

Parameters<br />

paramIndex<br />

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

Statement Class<br />

Get the value of a SQL DATE parameter as a Date object. Returns the parameter<br />

value; if the value is SQL null, the result is null.<br />

Syntax<br />

Date getDate(unsigned int paramIndex) const;<br />

Parameters<br />

paramIndex<br />

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

Get the value of a DOUBLE parameter as a <strong>C++</strong> double. Returns the parameter<br />

value; if the value is SQL null, the result is 0.<br />

Syntax<br />

double getDouble(unsigned int paramIndex);<br />

Parameters<br />

paramIndex<br />

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

OCCI Classes and Methods 8-179

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

Saved successfully!

Ooh no, something went wrong!