Subject | Re: [firebird-support] Three integers to date |
---|---|
Author | Martijn Tonies |
Post date | 2003-06-27T21:57:23Z |
Hi Martin,
select cast('01/' || '02' || '/2003' as date)
from rdb$database
So this should work as well:
select cast(1 || '/' || 2 || '/' || 2003 as date)
from rdb$database
I guess you get the idea.
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
> Hi. Could anyone help me please. I've got date stored as threeHow about this (as an example):
> integers - day, month and year. Now I've added new date column and I
> am looking for any function (using FireBird, dialect 3) which can
> convert theese integers into date type.
> Thanks.
select cast('01/' || '02' || '/2003' as date)
from rdb$database
So this should work as well:
select cast(1 || '/' || 2 || '/' || 2003 as date)
from rdb$database
I guess you get the idea.
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com