Contents Index VAREXISTS function [Miscellaneous] WEEKS function [Date and time]

ASA SQL Reference
  SQL Functions
    Alphabetical list of functions

WATCOMSQL function [Miscellaneous]


Function 

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.

Syntax 

WATCOMSQL( sql-statement-string )

Standards and compatibility 
See also 

SQLDIALECT function [Miscellaneous]

TRANSACTSQL function [Miscellaneous]

Example 

The following statement returns the string 'select empl_name as EmployeeName from employee'.

SELECT WATCOMSQL( 'SELECT EmployeeName=empl_name FROM employee' ) FROM dummy

Contents Index VAREXISTS function [Miscellaneous] WEEKS function [Date and time]