Re: per DB-Abfrage runden

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Sabine Nachbauer" <Sabine.Nachbauer@xxxxxxx> schrieb im Newsbeitrag news:49a276f1$0$1815$9b622d9e@xxxxxxxxxxxxxxxxxx

ich suche eine Möglichkeit um bei einer Abfrage einen Datetime-Wert zu runden und das auf eine Viertel-Stunde.

Also, 10:02Uhr und 10:14Uhr wäre 10:00Uhr - hier Abrunden. Auch muss unter anderen Umständen aufgerundet werden

16:01Uhr und 16:14 = 16:15Uhr

Jemand eine Idee, wie man das machen kann unter Firebird aber auch unterm SQL-Server?

Hi Sabine,
für den SQL Server, Oracle oder DB2 kannst du eine UDF (nutzerdefinierte Funktion) als CLR bauen, die dann in der SQL-Anweisung genutzt werden kann. Mit Firebird habe ich keine Erfahrung.

--
Viele Grüsse
Peter

.



Relevant Pages

  • Re: Looking for a database
    ... >>I am looking for a higher end database to replace our Access databases. ... > than SQL Server, Oracle and DB2. ... any advantage for Advantage over PostgreSQL or Firebird. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: What kind of connection to use.
    ... > I´m working for a company wich uses Oracle and FireBird. ... > Marcello Dias ... Use dbExpress Plus and third party drivers and you won't have any ...
    (borland.public.delphi.non-technical)
  • Re: Autumn too soon?
    ... work for MySQL which has acquired Jim's company (MySQL is ... MySQL is NOT part of Oracle. ... Firebird, Vulcan, didn't really see the light of day. ...
    (borland.public.delphi.non-technical)
  • Re: Oracle Innobase Purchase Impacts MySQL.
    ... > Interbase/Firebird has been around for approximately as long as ... > Oracle, particularly if you consider its heritage from DEC Rdb ... I am merely saying that Firebird consumes vastly fewer CPU ... admin overhead and hardware requirements. ...
    (comp.databases.oracle.server)
  • Re: [SLE] 64-bit Suse 9.3
    ... > Why would SLES be better than 9.3 for Oracle? ... For Firebird too? ... Partly about stability and longevity (SLES is maintained for seven years, ...
    (SuSE)