Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » SQL Functions » Alphabetical list of functions

VAREXISTS function [Miscellaneous] Next Page

WATCOMSQL function [Miscellaneous]

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-statement-string    The SQL statement that the function uses to determine its dialect.

See also
Standards and compatibility

The following statement returns the string 'SELECT empl_name AS EmployeeName FROM Employees'.

SELECT WATCOMSQL( 'SELECT EmployeeName=empl_name FROM Employees' ) FROM dummy;