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.
sa_statement_text( txt )
txt Use this LONG VARCHAR parameter to specify a SELECT statement.
The txt that is entered must be a string (in single quotes) or a string expression.
None
None
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 | |
---|---|
1 | SELECT * |
2 | FROM car |
3 | WHERE name = 'Audi' |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |