Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Query with DATEDIFF

$
0
0

Hello,

 

can someone please help me and tell me what is wrong with this query:

 

SELECT ZMA_ARBEITSDATEN~MA_ID INTO MANR from ZMA_ARBEITSDATEN

WHERE

   (DATEDIFF(dd,ZMA_ARBEITSDATEN~EINTRITTSDATUM,getdate()))>180.

ENDSELECT.


Thanks a lot!



Viewing all articles
Browse latest Browse all 8944

Trending Articles