21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

connect to 'MS Access 7.0 Database; DBQ=C:\Course3\DataSrc\QWT.mbd';<br />

sqltables;<br />

Note!<br />

Some ODBC drivers may not support this command.<br />

Some ODBC drivers may produce additional fields.<br />

Back to Script Statements and Keywords (page 219).<br />

SQLTypes<br />

The sqltypes statement returns a set of fields describing the types of an ODBC data source, to which a connect<br />

has been made. These fields can be combined with the fields generated by the SQLColumns (page 265)<br />

and SQLTables (page 265) commands in order to give a good overview of a given database. The fifteen<br />

standard fields are:<br />

TYPE_NAME<br />

DATA_TYPE<br />

PRECISION<br />

LITERAL_PREFIX<br />

LITERAL_SUFFIX<br />

CREATE_PARAMS<br />

NULLABLE<br />

CASE_SENSITIVE<br />

SEARCHABLE<br />

UNSIGNED_ATTRIBUTE<br />

MONEY<br />

AUTO_INCREMENT<br />

LOCAL_TYPE_NAME<br />

MINIMUM_SCALE<br />

MAXIMUM_SCALE<br />

For a detailed description of these fields, see an ODBC reference handbook.<br />

The syntax is:<br />

sqltypes<br />

Example:<br />

connect to 'MS Access 7.0 Database; DBQ=C:\Course3\DataSrc\QWT.mbd';<br />

sqltypes;<br />

Note!<br />

Some ODBC drivers may not support this command.<br />

Some ODBC drivers may produce additional fields.<br />

Back to Script Statements and Keywords (page 219).<br />

Star<br />

The string used for representing the set of all the values of a field in the database can be set through the star<br />

statement. It affects the subsequent Load (page 246) and Select (SQL) (page 262) statements. The syntax<br />

is:<br />

star is[ string ]<br />

266

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

Saved successfully!

Ooh no, something went wrong!