DateFormat for SQL Server
Posted: Wed 17 Feb 2016 14:22
Hello,
we are using UniConnection, SQLServerUniProvider and UniQuerys
and try to change the date format.
UniQuery.fieldByName('date').asDateTime;
We get the format 'YYYY-MM-DD' but need 'DD.MM.YYYY'.
The options DateFormat and TimedFormat are not available at 'SQL Server'.
Is there an easy way to change all querys at once?
UniDAC 4.3.8 for Delphi 7
we are using UniConnection, SQLServerUniProvider and UniQuerys
and try to change the date format.
UniQuery.fieldByName('date').asDateTime;
We get the format 'YYYY-MM-DD' but need 'DD.MM.YYYY'.
The options DateFormat and TimedFormat are not available at 'SQL Server'.
Is there an easy way to change all querys at once?
UniDAC 4.3.8 for Delphi 7