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 - Database Administration » SQL Anywhere Administration Tools » Interactive SQL » Interactive SQL options

isql_print_result_set option [Interactive SQL] Next Page

isql_quote option [Interactive SQL]


Function

Controls the default string that begins and ends all strings in data exported to ASCII files.

Allowed values

String

Default

A single apostrophe (')

Description

Controls the default string that begins and ends all strings in data exported to ASCII files. If an OUTPUT statement does not contain a QUOTE clause, this value is used by default.

See also
Example

To change the default string that begins and ends all strings to a double quote character.

SET OPTION isql_quote='"';
SELECT Surname, GivenName FROM Employees WHERE EmployeeID < 150;
OUTPUT TO c:\Employees.txt FORMAT ASCII;

This code places the following data in Employees.txt:

"Whitney", "Fran"

"Cobb","Matthew"

"Chin","Philip"

"Jordan","Julie"

The separator characters (in this case, commas) depend on the isql_field_separator setting.