hi there!!!i know that this has been somewhat of an old issue since when i tried searching the net i found lots of suggestions to take but trying some of them i cant seem to get the right thing for my needs.basically i need to run a query on a transaction log wherein i need to get the transactions made on a specified span of time when i ran my query it always omit those fields that has no transaction. what i get always look like thisDate TOTAL Captured for the day----------------------- --------------------------2012-06-01 652012-06-04 582012-06-05 44and what i need as a result is like this Date TOTAL Captured for the day----------------------- --------------------------2012-06-01 652012-06-02 02012-06-03 02012-06-04 582012-06-05 44so that the complete days of the week or month will be thereby the ways my query goes like this:select dateadd(day, datediff(day, 0, txndate), 0) as [Date], count (*) as [TOTAL Captured for the day]from Txnlogwhere user_name ='user' and txnDate >= dateadd(MONTH,datediff(MONTH,0,getdate()),0) and txnDate < dateadd(MONTH,datediff(MONTH,0,getdate())+1,0order by dateadd(day, datediff(day, 0, txndate), 0) asc
thanks in advance