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 » System Procedures » System procedures

sa_split_list system procedure Next Page

sa_statement_text system procedure


Formats a SELECT statement so that individual items appear on separate lines. This is useful when viewing long statements from the request log, in which all newline characters are removed.

Syntax

sa_statement_text( txt )

Arguments
Remarks

The txt that is entered must be a string (in single quotes) or a string expression.

Permissions

None

Side effects

None

See also
Example

The following call formats a SELECT statement so that individual items appear on separate lines.

CALL sa_statement_text( 'SELECT * FROM car WHERE name=''Audi''' );
stmt_text
1select *
2 FROM car
3WHERE name = 'Audi'