select * from tablename where joiningdate between '01/05/07' and'30/05/07' notworking . my database is sqlserver. only date part is compared but not the month or year. plaese help me.
Hii have tried "select * from tablename where joiningdate between '01/05/07' and '30/05/07' orderby joiningdate" . The result is data which are of other month and year also this month and year. the date part is only compared. please helpme.