Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
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: Today @ 5:26 PM
Points: 43,000, Visits: 39,977
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
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