Skip to content

Function CAST does not exist #363

@StuTheBearded

Description

@StuTheBearded

So I decided to use CAST in a query Sequeler is claiming it doesn't exist, this is clearly wrong. Cast is a perfectly valid function in MySQL/MariaDB and many others.

To reproduce simply add a cast to ones query the one below will do it, connect to a mysql/mariadb database. To get the error that is the title of this bug don't select a database, MySQL/MariaDB will execute it without needing one.

SELECT CAST(now() AS DATE);

If you have selected a database you'll get the following error which is also wrong:

Incorrect parameters in the call to stored function 'CAST'

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