Customizing the ttIsql Command Prompt
You can customize the ttIsql
command prompt by using the
set
command with the prompt
attribute.
When you are not connected to the database, the command prompt will
be:
Command> set prompt MY_DSN; MY_DSN
When you are connected to the database and you want to embed spaces, you must
quote the
string:
Command> set prompt "MY_DSN %c> ";
MY_DSN con1>
If you don't have a connection, the command prompt will
be:
Command> set prompt "MY_DSN %c> "; MY_DSN >