Additional information for using isql.
If you are using threaded drivers, use the isql syntax for isql_r.
If you are using threaded drivers in the IBM platform, use the standard syntax for isql.
Before using isql, set the SYBASE environment variable to the location of the current version of Adaptive Server.
The 5701 (“changed database”) server message is no longer appears after logging in or issuing a use database command.
Error message format differs from versions of isql earlier than 15.7. If you have scripts that perform routines based on the values of these messages you may need to rewrite them.
If the server can handle both extended password and password encryption, extended password encryption negotiations are used.
If the server can handle only password encryption, password encryption negotiations are used.
If the server cannot handle password encryption or extended password encryption, the first connection attempt fails and the client attempts to reconnect using a plain text password.
select x = 1 go 100
The results appear once at the end of execution.
isql -c"." -csend
This enables you to override any aliases you set up.
Execute operating system commands by starting a line with two exclamation points (!!) followed by the command.
To clear the existing query buffer, type reset on a line by itself. isql discards any pending input. Press Ctrl+c anywhere on a line to cancel the current query and return to the isql prompt.
isql -U alma -Ppassword < input_file
isql -U alma -Ppassword < input_file > output_file
isql displays only six digits of float or real data after the decimal point, rounding off the remainder.
select au_lname, au_fname /*retrieve authors’ last and first names*/ from authors, titles, titleauthor where authors.au_id = titleauthor.au_id and titles.title_id = titleauthor.title_id /*this is a three-way join that links authors **to the books they have written.*/
/* **go */
/* go */
isql defines the order of the date format as month, date, and year (mm dd yyyy hh:mmAM (or PM)), regardless of the locale environment. To change this default order, use the convert function.
In an isql session, the default prompt label is either the default wildcard :? or the value of wildcard. Customize the prompt label by providing a one-word character string, with a maximum length of 80 characters after a wildcard. If you specify a prompt label that is more than one word, the characters after the first word are ignored.