Customizing the ttIsql Command Prompt
You can customize the ttIsql
command prompt by using the
set
command with the prompt
attribute.
Command> set prompt MY_DSN; MY_DSN
You can specify a string format (%c
) that returns the name of the current connection:
Command> set prompt %c; con1
If you want to embed spaces, you must quote the string:
Command> set prompt "MY_DSN %c> "; MY_DSN con1>