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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ResultSet Class<br />

getBfile()<br />

getBlob()<br />

getBytes()<br />

Parameters<br />

stream<br />

The stream to be closed.<br />

This method returns the value of a column in the current row as a Bfile. Returns<br />

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

Syntax<br />

Bfile getBfile(unsigned int colIndex);<br />

Parameters<br />

colIndex<br />

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

Get the value of a column in the current row as an Blob. Returns the column value;<br />

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

Syntax<br />

Blob getBlob(unsigned int colIndex);<br />

Parameters<br />

colIndex<br />

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

Get the value of a column in the current row as a Bytes array. The bytes represent<br />

the raw values returned by the server. Returns the column value; if the value is SQL<br />

null, the result is null array<br />

Syntax<br />

Bytes getBytes(unsigned int colIndex);<br />

8-146 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!