This section introduces the new features in Adaptive Server Anywhere version 7.0.2. It provides an exhaustive listing of major and minor new features, with cross references to locations where each feature is discussed in detail.
Dynamic cache sizing On Windows 95/98, the size of the database server cache increases and decreases depending on the load on the database server and the other demands on system memory. This feature removes the need for choosing an explicit cache size in many circumstances, and can also boost performance.
For more information, see Dynamic cache sizing on Windows.
Viewing current license information The License [dblic] utility now accepts an argument that allows you to view current license information for a server executable without starting the server.
For more information, see Server Licensing utility (dblic).
Additional collations There are three new collations available: one to support Russian and Ukrainian (1251CYR, ANSI Code Page 1251), one to support Turkish (1254TRK, ANSI Code Page 1254) and one to support specialty requirements for some German users (1252DEU, ANSI Code Page 1252).
The 1252LATIN1 collation continues to be the recommended German collation. 1252DEU is a specialty collation only, and should not be used without understanding its sorting and comparison properties.
For a complete list of available collations, see Choosing collations.
Interactive SQL return codes When run from the command prompt, Interactive SQL now sets a program exit code indicating the success or otherwise of the operations in the session.
For more information, see Interactive SQL utility (dbisql).
delete_old_logs enhancement The delete_old_logs database option is used in management of offline transaction logs in a replication environment. The option has been enhanced to permit more control over when processed transaction logs are deleted.
For more information, see delete_old_logs option [MobiLink client] [SQL Remote] [Replication Agent].
Connection troubleshooting and enhancements The following changes have been made to permit better troubleshooting and tuning of client/server communications:
The APPINFO string is now added to the client debug log file.
For more information, see AppInfo connection parameter [APP].
Two new connection parameters can be used to tune prefetching of rows.
The ConnectionName connection parameter value was previously overridden for ODBC clients. You can now use the ConnectionName parameter from ODBC clients.
For a list of connection parameters, see Connection parameters.
Language Selection utility The Language Selection (dblang) utility allows you to report and modify the language registry for the Adaptive Server Anywhere messages and Sybase Central interface elements.
For more information, see Language Selection utility (dblang).
dbspawn enhancement The Spawn (dbspawn) utility optionally reports the operating system process ID of the database server.
For more information, see Start Server in Background utility (dbspawn).
First day of week option The default first day of week is now 7, which is Sunday. This value affects the result of DATEPART when obtaining a weekday value. You can change the first day of week using the DATEFIRST option in the Transact-SQL SET statement. You can set it permanently using SET OPTION first_day_of_week=n.
New migration tool You can migrate (import) remote Oracle, DB2, Microsoft SQL Server, Sybase Adaptive Server Enterprise and Sybase Adaptive Server Anywhere databases into Adaptive Server Anywhere using the new sa_migrate set of stored procedures.
For more information, see Migrating databases to SQL Anywhere.
Event handlers Adaptive Server Anywhere can now determine how many instances of a particular event handler is executing at any given time. This is useful for limiting event handlers to only one instance at a time.
For more information, see EVENT_PARAMETER function [System].
New connection property A new connection property helps distinguish between internal connections used to run event handlers.
For more information, see CONNECTION_PROPERTY function [System].
Dbdsn supports user and system specifiers The Data Source [dbdsn] utility now supports the
u (user) and
s (system) options.
For more information, see Data Source utility (dbdsn).
Support for comments in @filename files Adaptive Server Anywhere now supports comment lines in @filename files.
For more information, see @data server option.
Truncate timestamp option To allow for greater compatibility with non-Adaptive Server Anywhere databases, you can now truncate timestamp values.
For more information, see truncate_timestamp_values option [database] [MobiLink client].
Obtaining licensing information Engine properties have been added to help you obtain accurate licensing information about your copy of Adaptive Server Anywhere.
For more information, see Server-level properties.
Resetting the autoincrement value The sa_reset_identity system procedure allows you to reset an autoincrement value for the next row.
For more information, see sa_reset_identity system procedure.