| |
shajimanjeri
Posts: 2
Score: 0
Joined: 10/31/2006
Status: offline
|
Hi all, when I execute a query like this Dim todayDate todayDate = 10/30/2006 ' Case 1 SELECT DATEADD(day, DATEDIFF(day, 0, dateVariable), 0) = todayDate The result is getting false means zero at same way if I execute like this ' Case 2 SELECT DATEADD(day, DATEDIFF(day, 0, dateVariable), 0) = 10/30/2006 The result is getting True means One What is the wrong here In the case1, I just compared with a variable In case2, Just compared direct value, with out using a variable Could you pls help me! Shaji
|
|