Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 between syntax

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-06-10 : 08:09:36
mrinal writes "actually i want to search number of usesrs reg in my site between two dates . Actualy i forgot how to use between sysntax in sql script pls any body who can help me"

RickD
Slow But Sure Yak Herding Master

3608 Posts

Posted - 2004-06-10 : 08:11:05
select count(users) from tblUsers where RegDate between '01-Jun-2004' and '10-Jun-2004'
Go to Top of Page
   

- Advertisement -