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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » SQL functions (P-Z)

 

TRANSACTSQL function [Miscellaneous]

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

Syntax
TRANSACTSQL( sql-statement-string )
Parameters
  • sql-statement-string   The SQL statement that is to be rewritten in Transact-SQL.

Returns

LONG VARCHAR

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

Example

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

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