Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function CAST does not exist #363

Open
StuTheBearded opened this issue Jul 6, 2021 · 0 comments
Open

Function CAST does not exist #363

StuTheBearded opened this issue Jul 6, 2021 · 0 comments

Comments

@StuTheBearded
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant