r/learnSQL • u/SadPineappleWoman • 9h 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
3
Upvotes
7
u/Imaginary__Bar 9h ago
Put your date in the correct format.
2
u/QPGMR_de 9h 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/atarivcs 8h ago
How do you expect us to help when you have not shared the full actual query, or at least that portion of the query
1
u/rvicta 7h ago
Have you tried 2026-01-07 as the date format?
Edit: Just noticed someone asked the same thing
1
u/Discordbothost 6h ago
Test the conversion on one literal before changing the whole column. Use 13/07/2026 if your source is day/month/year: it makes a swapped day/month mask obvious. Your original date is ambiguous, so a parse that succeeds could still produce the wrong date.
1
u/Ok_Housing6995 1h ago
Cast this as date and check the date format
0
u/According-Annual-586 9h 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