SQL Select a Date
Can anybody plz help me.. i need to find all the users who are grater than 10 days old.
table name users ,fild contain with registration dates.to store date i used DateTime.Today with C#.Can any body give me a sql query to slow this
MrBlack
Junior Poster in Training
53 posts since Jan 2010
Reputation Points: 20
Solved Threads: 0
simply try this
SELECT CURDATE() - 10
read more here and here .
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
MrBlack
Junior Poster in Training
53 posts since Jan 2010
Reputation Points: 20
Solved Threads: 0