in reply to Place Holders and SQL convert
Does your SQL work if you replace the placeholder ? by your intended column value?
Looking at some random Sybase documentation, I don't find the value 120 documented as a valid format specifier for convert(...). I don't find any value corresponding to yyyy-mm-dd, but you should not need one anyway, because the default for dates is yyyy-mm-dd.
If something else changes this value, you can maybe change it back by using:
set temporary option date_format 'YYYY-MM-DD';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Place Holders and SQL convert
by Anonymous Monk on Sep 17, 2015 at 18:06 UTC | |
by Corion (Patriarch) on Sep 17, 2015 at 18:11 UTC | |
|
Re^2: Place Holders and SQL convert
by Anonymous Monk on Sep 17, 2015 at 18:10 UTC | |
by Corion (Patriarch) on Sep 17, 2015 at 18:12 UTC | |
by Anonymous Monk on Sep 17, 2015 at 18:24 UTC | |
by Corion (Patriarch) on Sep 17, 2015 at 18:29 UTC |