... TODAY(*) and
weird Transact -SQL abominations like CONVERT(). One of SQL Anywhere s
strengths lies in its rich variety of built-in functions, all explained quite well in
the SQL Anywhere Help file. This ... FALSE, and UNKNOWN are actual SQL Anywhere 9 keywords
representing boolean or truth values. Unfortunately, however, there is no explicit
BOOLEAN or TRUTH data type in SQL An...
... tables.
<isql_input> ::= <isql_input_from_file>
| <isql_input_with_prompt>
| <isql_inline_input>
<isql_input_from_file> ::= INPUT <file_input_option_list>
<isql_input_with_prompt> ... “Creating.”
2.4 ISQL INPUT
The Interactive SQL utility (dbisql.exe, or ISQL) supports a statement that
looks similar to LOAD TABLE but is profoundly different in many...
... watermark.
3.26 ISQL OUTPUT
The Interactive SQL utility (dbisql.exe, or ISQL) supports a statement that per
-
forms a similar function to UNLOAD SELECT but is profoundly different in
many respects — the ISQL ... complexity; for example, here is a CREATE VIEW
that contains a fairly complex SELECT involving the SQL Anywhere system
tables:
CREATE VIEW v_parent_child AS
SELECT USER_NAME ( p...
... established, SQL Anywhere calls the
sp_login_environment built-in procedure, which in turn calls the sp_tsql_environ
-
ment procedure if the communication protocol is TDS. The sp_tsql_environment
procedure ... happen to be using TDS but you
aren’t interested in Transact SQL compatibility, you should look up “sp_tsql_envi
-
ronment” in the SQL Anywhere Help and make sure the option v...
... ODBC; these alternate SQLSTATE values are docu
-
mented in the SQL Anywhere Help. Figure 9-2 1 shows the Help description for
thread deadlock: The SQLCODE is -307 and the SQLSTATE inside the engine
is ... are zero.
As noted earlier, SQL Anywhere sets the SQLSTATE to '40W06' when it
cancels an operation because it detected a thread deadlock. In this case SQL
Anywhere doe...
... Powersoft.
n
1995 SQL Anywhere 5 was released. It included SQL Remote, SQL Cen
-
tral (now Sybase Central), Transact SQL syntax, and support for the Sybase
Replication Server.
n
1996 SQL Anywhere 5.5 ... watermark.
n
1998 SQL Anywhere 6 was released, with the new names “Adaptive Server
Anywhere applied to the engine itself and SQL Anywhere Studio
applied to the product...
... FOR SQLSTATE <sqlstate_error_value>
<exception_name> ::= <identifier> to use in an <exception_handler>
<sqlstate_error_value> ::= string literal containing SQLSTATE ... value and "name" containing the parameter name. The parameter
names are all documented in the SQL Anywhere 9 Help file, and you can
retrieve the corresponding values via singleton SE...
... &apos ;SQL& apos; to
show SQL statements in the output file, &apos ;SQL+ hostvars' to include host variable
values together with the SQL statements, and 'ALL' to include other non -SQL
traffic ... counters that SQL Anywhere maintains, and the last section gathers
together a list of tips and techniques that didn’t get covered in the preceding
sections.
10.2 Request-Leve...
... 64-68
option, 310
OUTPUT, 160-164
<isql_inline_input>, 64
<isql_input>, 64
<isql_input_from_file>, 64
<isql_input_with_prompt>, 64
<isql_output>, 160
J
Jackson, Michael ... you can use to study
and improve the performance of SQL Anywhere databases. It covered the major
performance tuning facilities built into SQL Anywhere: request-level logging,
the Index...