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 store date i used DateTime.Today with C#.Can any body give me a sql query to slow this

Recommended Answers

All 3 Replies

simply try this


read more here and here .

Thnxx a lot

use getdate() - 10 for getting rows of last days

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.