21.10.2013 Views

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

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.

PSQL statements<br />

Description: In <strong>Firebird</strong> 2.0 and above, PSQL code may call UDFs without assigning the result value, i.e. like a<br />

Pascal procedure or C void function. In most cases this is senseless, because the main purpose of almost every<br />

UDF is to produce the result value. Some functions however perform a specific task, and if you're not interested<br />

in the result value you can now spare yourself the trouble of assigning it to a dummy variable.<br />

Note<br />

RDB$GET_CONTEXT and RDB$SET_CONTEXT, though classified in this guide under internal functions, are<br />

actually a kind of auto-declared UDFs. You may therefore call them without catching the result. Of course this<br />

only makes sense for RDB$SET_CONTEXT.<br />

WHERE CURRENT OF valid again for view cursors<br />

Changed in: 2.0, <strong>2.1</strong><br />

Description: Because of possible reliability issues, <strong>Firebird</strong> 2.0 disallowed WHERE CURRENT OF for view cursors.<br />

In <strong>Firebird</strong> <strong>2.1</strong>, with its improved view validation logic, this restriction has been lifted.<br />

108

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

Saved successfully!

Ooh no, something went wrong!