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;