r/learnSQL • u/SadPineappleWoman • 18h 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
2
Upvotes
7
u/Imaginary__Bar 17h ago
Put your date in the correct format.
2
u/QPGMR_de 18h 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 16h 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 15h ago
Have you tried 2026-01-07 as the date format?
Edit: Just noticed someone asked the same thing
1
u/Discordbothost 14h 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 9h ago
Cast this as date and check the date format
1
u/reditandfirgetit 43m ago
What function, what engine