in reply to Re^3: Place Holders and SQL convert
in thread Place Holders and SQL convert

Question is, if the dates are coming in this format:
yyyy/mm/dd
would the sql CONVERT work the way it has been in the sample code?

Replies are listed 'Best First'.
Re^5: Place Holders and SQL convert
by Corion (Patriarch) on Sep 17, 2015 at 18:29 UTC

    Why don't you try that, or check it against the documentation that the vendor of your SQL server provides?

    Most likely, it will not work because the data does not match what the documentation of convert() says. But this is Perlmonks not SQLmonks, so unless your question is about Perl, there's not much more I can do here.