Incode Systems Home Page Incode Systems, Inc.


SQLX



(Windows Program Win95 or higher)

SQLx - Copyright (C) Incode Systems, Inc. 2002.
Version 0.9 http://www.incodesystems.com

Usage: [options] InFileName[.sql] OutFileName[.txt] LogFileName[.log]
If any FileName is not given, standard input and output are used.
If any FileName is CON, standard input and output are used.
Options: (case sensitive, may be preceeded with a - or /)
-d ODBC Data Source Name
-U login
-P password
-Q "command line query"
-a Abort batch on error
-e Echo SQL to output
-v Verbose mode, write SQL_SUCCESS_WITH_INFO messages to log
-h Header row (default)
-? help (this screen)
-help (this screen)
A minus sign after the option turns it off (example: -h- for No Header row). Current directory and program directory is checked for SQLx.ini which is a text file in the form: Option=OptionValue example: d=Data Source Name

Login and password optional if DBMS supports trusted connections. Any parameter containing spaces should be surrounded by double quotes. Statements in a batch are separated with "GO" or "--GO" on a line by itself.