Step 1: List available drivers
./ and ./lib/.
If the driver you need isn’t listed, download it from CData’s driver catalog (the jar is saved to ./lib by default):
Step 2: Activate a driver
To activate a driver with a license key:Step 3: Review connection properties
Before creating a connection, view the available connection properties for a driver:Step 4: Create a connection
.conn file. See Connection files for details.
Step 5: Explore metadata
Before building a query, explore the tables and columns available in the data source. Browse available tables:Step 6: Run a query
Using the tables and columns you discovered, build and run a SQL query:resultset array contains the rows returned by the driver:
--metadata to also include a metadata array describing the columns returned. See Output format for a full explanation of the output structure.
Use --compact for single-line JSON output: