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

SPACE function [String] Next Page

SQLDIALECT function [Miscellaneous]


Returns either Watcom-SQL or Transact-SQL, to indicate the SQL dialect of a statement.

Syntax

SQLDIALECT( sql-statement-string )

Parameters

sql-statement-string    The SQL statement that the function uses to determine its dialect.

See also
Standards and compatibility
Example

The following statement returns the string Transact-SQL.

SELECT
   SQLDIALECT( 'SELECT employeeName = Surname FROM Employees' )
FROM dummy;