How to get date from datetime in sql -


I have a field called 'created date' in the table. It contains the 2009-12-07 11: 02: 20.890 value. My search parameter has been created. PAMTTR contains the values ​​2009-12-07. My parameter only has a datepart. If my parameter only results in not only results in 2009-12-07. My question is to choose from STD_query, where manufactured date = '2009-12-07 can give appropriate queries to get any results?

Compare only the date part (without time):

 < Code> where date column & gt; = DATEAD (day, date (day, 0, sommetetparam), 0)  

Comments

Popular posts from this blog

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -