I'm having some luck calling one of my Caspio tables through Web Services. But I'd like to use the MySQL query in web services to select records for just the current date.
MySQL wants dates formated yyyy-mm-dd, but Caspio has them mm/dd/yyyy and when I try to use DATE_FORMAT(CURDATE(), '%m/%d/%Y') it get back a soap fault ... Fault: faultcode: soap:Client, faultstring: {SQL Server error: 'CURDATE' is not a recognized built-in function name.}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
dblake
I'm having some luck calling one of my Caspio tables through Web Services. But I'd like to use the MySQL query in web services to select records for just the current date.
MySQL wants dates formated yyyy-mm-dd, but Caspio has them mm/dd/yyyy and when I try to use DATE_FORMAT(CURDATE(), '%m/%d/%Y') it get back a soap fault ... Fault: faultcode: soap:Client, faultstring: {SQL Server error: 'CURDATE' is not a recognized built-in function name.}
Any ideas?
Thanks
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.