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

SQL Anywhere 11.0.0 » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » Alphabetical list of functions


TRANSACTSQL function [Miscellaneous]

Takes a Watcom-SQL statement and rewrites it in the Transact-SQL dialect.

TRANSACTSQL( sql-statement-string )
  • sql-statement-string   The SQL statement that the function uses to determine its dialect.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.


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

SELECT TRANSACTSQL( 'SELECT empl_name as EmployeeName FROM Employees' ) FROM dummy;