r/learnSQL • • 1h ago

How to fix a error 1100?

SQL Error [1100]: Query execution failed: INVALID_FUNCTION_ARGUMENT: Invalid format: "01/07/2026" is malformed at "/07/2026"

Query execution failed: INVALID_FUNCTION_ARGUMENT: Invalid format: "01/07/2026" is malformed at "/07/2026"

INVALID_FUNCTION_ARGUMENT: Invalid format: "01/07/2026" is malformed at "/07/2026"

AI Aint helping

4 Upvotes

5 comments sorted by

2

u/Imaginary__Bar 47m ago

How do I fix this error that the system is telling me that my date is in the incorrect format?

Put your date in the correct format.

1

u/Imaginary__Bar 46m ago

You can start by doing a SELECT on that date field and seeing what format it spits out.

That's not 100% reliable but it might point you in the right direction.

1

u/QPGMR_de 1h ago

Which RDBMS? Can it be, that the date should be in ISO form '2026-01-07'? (assuming your date is MM/DD/YYYY)

1

u/Mobile-Analyst-9617 30m ago

This is sql server, and op needs to fix their date

1

u/According-Annual-586 27m ago

It’s a difficult error to decipher, I know, but it’s telling you that the date you’re passing into your function is in an invalid format

I’d probably start diagnosing from there