Changing the Command Terminator

If you include the command terminator argument (-c), you can choose your own terminator symbol; go is the default value for this option. Always enter the command terminator without blanks or tabs in front of it.

For example, to use a period as the command terminator, invoke isql:
isql -c.
A sample isql session with this command terminator looks like:
1> select name from sysusers
2> .

name
-----------
sandy
kim
leslie
(3 rows affected)
Using the isql command terminator option with scripts requires advance planning:
  • When the SAP ASE server supplies scripts, such as installmaster, use “go”. Do not change the command terminator for any session that uses these scripts.

  • Your own scripts may already have “go” in them. Remember to update your scripts to include the terminator you plan to use.