The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OT MS SQL2000 question


  • To: <ukha_d@xxxxxxx>
  • Subject: OT MS SQL2000 question
  • From: "Dr John Tankard" <john@xxxxxxx>
  • Date: Mon, 14 May 2001 12:03:35 +0100
  • Delivered-to: rich@xxxxxxx
  • Delivered-to: mailing list ukha_d@xxxxxxx
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

Sorry for the OT post,

I want to select from MS SQL2000 rows by a timestamp, but I only want to
use
the date part,  in DB2 you could do:-

Select * from table1 where created is like current date

but SQL2000 does not have current date, ou use getdate() which returns a
full time stamp of now which would only return a result set of rows where
the coloum created is exactly on the same time ?

Is there a easy way of saying 'although created it a timestamp return rows
created today' ?

John





Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.