Re: Problems with querying date field
From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 03/30/04
- Next message: Francois Piette: "Re: Converting hex number to integer"
- Previous message: Vishal Parkar: "Re: Compare empty string !!!"
- In reply to: Eddie: "Problems with querying date field"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Mar 2004 10:57:20 +0200
Your question is already answered, but you might want to read below, which has some tips etc on working with
the datetime datatypes:
http://www.karaszi.com/sqlserver/info_datetime.asp
-- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp "Eddie" <anonymous@discussions.microsoft.com> wrote in message news:EB986181-6524-4983-B4AC-A3C7B40F5D17@microsoft.com... > Hi there, > I have a sql table with a datetime field. I am having real difficulty querying to that table using a data. The format of the date in the field is in the format '2004-03-29 15:32:00.000' > > When I try this qurey I get an error > SELECT * > FROM Actions > where ActionDate = '2004-03-29 %' > > What do I need to do for this to work, can anyone help out??? > > regards, Eddie. >
- Next message: Francois Piette: "Re: Converting hex number to integer"
- Previous message: Vishal Parkar: "Re: Compare empty string !!!"
- In reply to: Eddie: "Problems with querying date field"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|