p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Professional (http://p2p.wrox.com/forumdisplay.php?f=63)
-   -   Select? (http://p2p.wrox.com/showthread.php?t=59648)

mikedeepak July 2nd, 2007 05:36 AM

Hi all,
I have doubt in Selecting records from the Table is as


ID int
  Name varchar(100)
stdate datetime
endate datetime

Now i need to retrive Name from the table by following condtion

if the Start Date is 08/01/07 and the End Date is 09/01/07 the records should be selected from the table on 08/01/07 at 12:00:01AM and should not be selected on 09/01/07 at 11:59:59 PM

Please post ur thoughts/answers.....


All times are GMT -4. The time now is 05:49 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.