Get up and running with hana-cli in 5 minutes.
hana-cli --version
# Output: hana-cli/x.x.xEnsure you have a default-env.json file with HANA credentials (see Configuration).
Test the connection:
hana-cli systemInfoIf this displays database information without errors, you're connected!
hana-cli systemInfohana-cli tables hana-cli dataProfile -t EMPLOYEESCreate a CSV file (data.csv):
ID,Name,Age
1,Alice,30
2,Bob,25
3,Charlie,35Import into a table:
hana-cli import -f data.csv -s MYSCHEMA -t EMPLOYEES -m nameExport table data to CSV:
hana-cli export -s MYSCHEMA -t EMPLOYEES -o output.csvhana-cli compareSchema -s SCHEMA1 -t SCHEMA2hana-cli dataValidator -s MYSCHEMA -t EMPLOYEEShana-cli duplicateDetection -s MYSCHEMA -t EMPLOYEES -c IDhana-cli dataLineage -s MYSCHEMA -t EMPLOYEESGet help for any command:
# General help
hana-cli --help
# Command-specific help
hana-cli import --help
hana-cli export --help
hana-cli dataProfile --help- Explore All Commands - View all 170+ commands
- Features & Integration
- Full API Reference
- Configuration Guide
Having issues? See the Troubleshooting Guide