Autor Beitrag
Das S
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 101

Win XP
D7 Prof
BeitragVerfasst: Do 20.01.05 15:41 
Hi,

ich möchte eine SQL-Abfrage an Interbase 7.0 mit folgendem Syntax stellen:

select * from blabla where datepart(mm,bestellung)=datepart(mm,now)

Ich weiß, daß es die datepart-Funktion bei Interbase nicht gibt (oder doch :))

Kann mir einer verraten, wie ich dieselbe Abfrage irgendwie anders hinkriege ?

MfG

Das S
MrSpock
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 262



BeitragVerfasst: Do 20.01.05 19:56 
Hallo Das S,

dazu benötigst du User Defined Functions. Hier gibt es bei IBEXPERT findest du die FreeUDFLib, die eine ganze Reihe an Zeitfunktionen zur Verfügung stellt.

_________________
Live long and prosper
MrSpock \\//