On 4 Nov 2013, at 7:36am, Clemens Ladisch wrote:
> Navaneeth K N wrote:
>> select date('2013-11-04') -> Works well
>> select date('2013-11-4') -> Not working
>>
>> Is there a way to make the second form working?
>
> Only by inserting a zero into the string (which isn't easy
> with the built
Navaneeth K N wrote:
> select date('2013-11-04') -> Works well
> select date('2013-11-4') -> Not working
>
> Is there a way to make the second form working?
Only by inserting a zero into the string (which isn't easy
with the built-in SQL functions).
Regards,
Clemens
__
Hello,
select date('2013-11-04') -> Works well
select date('2013-11-4') -> Not working
Is there a way to make the second form working? Currently, I handle this
at the application side. If month/day is less than 10, then prefix it
with 0. But I'm wondering is there a better way to do this at
3 matches
Mail list logo