My question is very simple, I am trying to print a combination of text and numbers, by using the SELECT statement. However, when I try to print text using this method, I get a lot of miscellaneous - chars.

How can I use the select statement without having it print the - chars?

For example:

SELECT "HELLO WORLD"

Would result in:

---------------------
HELLO WORLD
有帮助吗?

解决方案

When lauching isql use the -b option to suppress header printing.

isql -Uusername -Sservername -b
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top