Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

query for getting yesterday date entry Expand / Collapse
Posted Friday, July 11, 2008 1:13 AM


Group: General Forum Members
Last Login: Friday, July 11, 2008 1:11 AM
Points: 10, Visits: 34

I am developing application using windows mobile 6 with vc++ and SQL CE 3.1

I have used query for getting yesterday date entry ..I am doing minus 1 from system date

and getting result. but the problem is that when the system date is 1st day of month or year.this query is not working.

so is there any other logic

hope for reply.


Post #532177
Posted Friday, July 11, 2008 1:51 AM



Group: General Forum Members
Last Login: Yesterday @ 5:18 AM
Points: 45,619, Visits: 44,147
Please don't cross post. It just wastes people's time and fragments replies.

No replies to this thread please. Direct replies to:

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #532197
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse