Skip to content

Database command line parameter does work with queries #62

@jkoppelm

Description

@jkoppelm

The following command works:

python -m dbsqlcli.main -e "SELECT COUNT(*) FROM my_schema.my_database.my_table"

I would expect the following command to work similarly, but it does not:

python -m dbsqlcli.main -e "SELECT COUNT(*) FROM my_table" my_schema.my_database

The error is:

[TABLE_OR_VIEW_NOT_FOUND] The table or view `my_table` cannot be found. Verify the spelling and correctness of the schema and catalog.
If you did not qualify the name with a schema, verify the current_schema() output, or qualify the name with the correct schema and catalog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions