11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

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.

EDADRV_GetSpecialInfo<br />

Syntax<br />

RETCODE EDADRV_GetSpecialInfo(infotype,parameters,dbinfo)<br />

Description<br />

EDA calls the EDADRV_GetSpecialInfo function to retrieve special information<br />

about the database to which it is currently connected, such as rename table, rename<br />

index, and BLOB data type equivalents.<br />

When you specify EDADRV_BLOB_FIELD as the infotype, do not specify the<br />

parameter input variable. The output parameter returns the data type for the BLOB<br />

field on the external database, followed by the separator ‘\0’ and ‘0’ or ‘1’ for<br />

precision. For example, DB2 returns ‘CLOB\01’ and SQL Server returns<br />

‘VARCHAR(MAX)\00.’<br />

When you specify EDADRV_RENAME_TABLE or EDADRV_RENAME_INDEX<br />

as the infotype, you must also specify both the source table or index name and the<br />

target table or index name, separated by “\0.” The output variable returns the rename<br />

table or rename index statement from the external database.<br />

When you specify EDADRV_DRIVER_INFO as the infotype, do not specify the<br />

parameter variable. The output parameter returns EDA driver information, including<br />

the EDA driver version, the supplier of the EDA driver, the date the EDA driver was<br />

created, the EDA driver target database name, and the EDA driver target database<br />

version.<br />

EDADRV_GetSpecialInfo 1-239

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

Saved successfully!

Ooh no, something went wrong!