ODBC 4 ALL is a 32 bit Windows utility designed to easily allow any application, including DOS apps and batch files, to run SQL queries using any ODBC data source, (Access, Informix, MySql, Oracle, Sql Server, ...), redirecting the output to the screen, an ascii file / table or a DBF table.
When run in interactive mode, you can interactively choose the ODBC Data Source and Table, then insert the SQL command to send to the database server. If the command is a SELECT, the SQL results can even be automatically shown on a screen grid (while INSERT, UPDATE etc. usually do not provides any output); you can browse the data there, send it to an Excel spreedshet, or create a configuration file to run the query again, later on, in batch mode.
Batch mode is particularly useful to use it inside a 3rd party application. You can manually create an ascii configuration file, or let the screen grid automatically creating it for you, then run ODBC4ALL.EXE to obtain the results of the SQL query into the desired output format.
In this case user intervention is not required. Even the error messages could be redirected to an ascii file (for example if the SQL query contains a syntax error, or if the database server is unreachable because the server PC is down) allowing the running application to check for errors before managing the results.
Ascii tables are particularly useful to obtain data views which are automatically printable by using our Printfil - Windows Printing System for Applications software ( www.Printfil.com ), or sent out via e-mail by using our FileInMail software ( www.FileInMail.com )
The two modes can be mixed, allowing you to run it in interactive mode obtaining an ascii output file or to run it from within your application only to automatically show the results of the query to the user.
Keywords: ODBC, DOS, database, DSN, DBF, DB3, Clipper, Access, Excel, Informix, Oracle
|
Click to enlarge
|