'bend!

>
> > >WHERE datepart(year, myDateTimeField) = datepart(year,
> > getDate()) AND
> > >datepart(month, myDateTimeField) = datepart(month, getDate()) AND
> > >datepart(day, myDateTimeField) = datepart(day, getDate())
> > >
> > >
> > ist zwar nicht besser, aber danke
> > vieleicht gibt es beim neuen SQL Server dann eine solche
> > Funktion :-) _______________________________________________
>
> Also... So w�rd's auch gehen:
>
> Where cast(floor(cast(datumsfeld as float)) as smalldatetime) = @dasdatum
>
> :-)
>
Hey, SQL-Golf :-)

                    Bernd

At today's exchange rates 101 in binary is now worth just 5 in
decimal, following
a catastrophic devaluation of binary.

_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an