13.08.2012 Views

ACTIONSCRIPT 3 Developer’s Guide en

ACTIONSCRIPT 3 Developer’s Guide en

ACTIONSCRIPT 3 Developer’s Guide en

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter 65: SQL support in local databases<br />

Adobe AIR includes a SQL database <strong>en</strong>gine with support for local SQL databases with many standard SQL features,<br />

using the op<strong>en</strong> source SQLite database system. The runtime does not specify how or where database data is stored on<br />

the file system. Each database is stored completely within a single file. A developer can specify the location in the file<br />

system where the database file is stored, and a single AIR application can access one or many separate databases (i.e.<br />

separate database files).This docum<strong>en</strong>t outlines the SQL syntax and data type support for Adobe AIR local SQL<br />

databases. This docum<strong>en</strong>t is not int<strong>en</strong>ded to serve as a compreh<strong>en</strong>sive SQL refer<strong>en</strong>ce. Rather, it describes specific<br />

details of the SQL dialect that Adobe AIR supports. The runtime supports most of the SQL-92 standard SQL dialect.<br />

Because there are numerous refer<strong>en</strong>ces, web sites, books, and training materials for learning SQL, this docum<strong>en</strong>t is not<br />

int<strong>en</strong>ded to be a compreh<strong>en</strong>sive SQL refer<strong>en</strong>ce or tutorial. Instead, this docum<strong>en</strong>t particularly focuses on the AIRsupported<br />

SQL syntax, and the differ<strong>en</strong>ces betwe<strong>en</strong> SQL-92 and the supported SQL dialect.<br />

SQL statem<strong>en</strong>t definition conv<strong>en</strong>tions<br />

Within statem<strong>en</strong>t definitions in this docum<strong>en</strong>t, the following conv<strong>en</strong>tions are used:<br />

Text case<br />

UPPER CASE - literal SQL keywords are writt<strong>en</strong> in all upper case.<br />

lower case - placeholder terms or clause names are writt<strong>en</strong> in all lower case.<br />

Definition characters<br />

::= Indicates a clause or statem<strong>en</strong>t definition.<br />

Grouping and alternating characters<br />

| The pipe character is used betwe<strong>en</strong> alternative options, and can be read as "or".<br />

[] Items in square brackets are optional items; the brackets can contain a single item or a set of alternative items.<br />

() Par<strong>en</strong>theses surrounding a set of alternatives (a set of items separated by pipe characters), designates a<br />

required group of items, that is, a set of items that are the possible values for a single required item.<br />

Quantifiers<br />

+ A plus character following an item in par<strong>en</strong>theses indicates that the preceding item can occur 1 or more times.<br />

* An asterisk character following an item in square brackets indicates that the preceding (bracketed) item can<br />

occur 0 or more times<br />

Literal characters<br />

* An asterisk character used in a column name or betwe<strong>en</strong> the par<strong>en</strong>theses following a function name signifies<br />

a literal asterisk character rather than the "0 or more" quantifier.<br />

. A period character repres<strong>en</strong>ts a literal period.<br />

, A comma character repres<strong>en</strong>ts a literal comma.<br />

() A pair of par<strong>en</strong>theses surrounding a single clause or item indicates that the par<strong>en</strong>theses are required, literal<br />

par<strong>en</strong>theses characters.<br />

Other characters, unless otherwise indicated, repres<strong>en</strong>t those literal characters.<br />

Last updated 6/6/2012<br />

1093

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

Saved successfully!

Ooh no, something went wrong!