visql -cstring jdbc:veryant:<udbc-server-ip>:<udbc-server-port>:<database> -u <user> -p <password> |
SELECT * FROM file1 GO |
-c | Specifies the command terminator. The default is "go". |
-cstring | Specifies the connection string to use. |
-debug | Prints to stdout (System.out) debugging information. |
-delimiter | Specifies the delimiter. The default is " | ". |
-input | Specifies a file name to read commands from. |
-left | Left justify the output. |
-noheader | Do not print any header columns. |
-nonull | Print the empty string instead of the word "NULL" for null value. |
-password / -p | Specifies the user name to log into a database server with. |
-pf | Specifies the name of a file that contains the password to log into a database server with. The first line of file should contain the password and nothing else. |
-query | Specifies an optional single query to run instead of interacting with the command line or a file. Note that the command must include a command terminator or the command will hang. |
-spacer | Changes the spacer between columns from a single space to the first character of the argument. |
-trim | Trim the data output. This is useful when specifying a delimiter. |
-user / -u | Specifies a user name to log into a database server with. |
-w | Specifies the maximum field width for a column. The default is to output the full width of the column. |
visql -cstring "jdbc:veryant:localhost:6789:DBSERVER1" -u admin -p admin -c ";" -query "select * from file1;" |