ASA SQL Reference
SQL Functions
Alphabetical list of functions
Takes a Transact-SQL statement and rewrites it in the Watcom-SQL dialect. This can be useful when converting existing Adaptive Server Enterprise stored procedures into Watcom SQL syntax.
WATCOMSQL( sql-statement-string )
SQL/92 Vendor extension.
SQL/99 Vendor extension.
Sybase Not supported by Adaptive Server Enterprise.
SQLDIALECT function [Miscellaneous]
TRANSACTSQL function [Miscellaneous]
The following statement returns the string 'select empl_name as EmployeeName from employee'
.
SELECT WATCOMSQL( 'SELECT EmployeeName=empl_name FROM employee' ) FROM dummy