01.08.2013 Views

SWENET Software Infrastructure Space Weather Data Specification ...

SWENET Software Infrastructure Space Weather Data Specification ...

SWENET Software Infrastructure Space Weather Data Specification ...

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.

A.4 Boolean Type<br />

<strong>SWENET</strong> <strong>Software</strong> <strong>Infrastructure</strong> Date: 2004-10-20<br />

<strong>Space</strong> <strong>Weather</strong> <strong>Data</strong> <strong>Specification</strong> Version: 0.<br />

Annex Status: Draft<br />

PostgreSQL provides the standard SQL type boolean. boolean can have one of only two<br />

states: "true" or "false". A third state, "unknown", is represented by the SQL NULL value.<br />

Valid literal values for the "true" state are:<br />

TRUE<br />

't'<br />

'true'<br />

'y'<br />

'yes'<br />

'1'<br />

For the "false" state, the following values can be used:<br />

FALSE<br />

'f'<br />

'false'<br />

'n'<br />

'no'<br />

'0'<br />

Using the key words TRUE and FALSE is preferred (and SQL-compliant).<br />

Project: <strong>Space</strong> <strong>Weather</strong> Pilot Project Coordination and <strong>Software</strong> <strong>Infrastructure</strong> Development<br />

Reference: R047rep026_00_07_<strong>Data</strong>_<strong>Specification</strong>_(BIRA).doc<br />

eta_max space GmbH, Richard-Wagner-Str. 1, 38106 Braunschweig, Germany<br />

Page<br />

88 / 88

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

Saved successfully!

Ooh no, something went wrong!