Subject | Re: [firebird-support] Re: Different separators for date and time |
---|---|
Author | Magnus Titho |
Post date | 2005-06-10T11:36:47Z |
Salvatore Besso wrote:
in our application we have date- and time-constants for several
databases (like 'yyyy-mm-dd') and if we write these fields using
insert-statements like above, we always use something like
FormatDateTime(Dateformat[Databasetype], Date).
> INSERT INTO TABLE(NUMFIELD, DATEFIELD,...._FYI,
> VALUES(1, '05.25.2005',.... <--- KA-BOOM :-)
>
> It is a feature of the application that exports a table as a SQL script and
> another application then imports that script. So I think that it is better
in our application we have date- and time-constants for several
databases (like 'yyyy-mm-dd') and if we write these fields using
insert-statements like above, we always use something like
FormatDateTime(Dateformat[Databasetype], Date).
> RegardsMagnus
> Salvatore