DTM Database Tools Home  

ODBC SQL runner

    • Support     • Downloads     • Search     • Customer Area     • Order
Download free demo version right now!
How to buy DTM software?
 

ODBC SQL runner is the command line tool for run SQL statements using ODBC32 data sources.

Usage:
sqlrun [optional params] [space delimited filenames]

Params:
-I[<config file name>]

  • by default uses sqlrun.ini in program directory.
  • empty arguments list means -I
  • '*' and '?' are acceptable in SQL file name
  • see config file format below

-D<data source name>

-U<user name>

-P<password>

-O<standard output file name>

  • uses terminal output by default

-L<log file name>

  • uses terminal output by default

Note: parameter in command line overwrites value from config file.

Format of the configuration file

[Connection]
DSN=<data source name>
User=<user name>
Password=<password>

[Settings]
Output=<standard output file name>
Errors=<uses terminal output by default>

[Script]
File=<files specification>

 
 

Copyright © 2004-2008 DTM soft. All rights reserved. Privacy policy.