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
 General SQL Server Forums
 New to SQL Server Programming
 count of journal entered in a month

Author  Topic 

divyaram
Posting Yak Master

180 Posts

Posted - 2010-01-06 : 00:42:34
Hi All,

I am having a table which will accept journal with accepted date,
I have to find the count of article accepted in a month..how we can write a Sp for this requirement...


Regards,
Divya

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-01-06 : 03:05:50
just group by month(datefield) and take count(*)
Go to Top of Page

divyaram
Posting Yak Master

180 Posts

Posted - 2010-01-06 : 03:42:31
thank you visakh16.. i have done it like dat...

Regards,
Divya
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-01-06 : 03:43:38
then wats the issue?
Go to Top of Page

divyaram
Posting Yak Master

180 Posts

Posted - 2010-01-06 : 04:03:13
no now after seeing ur posting i have done it

Regards,
Divya
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-01-06 : 04:15:08
Ok Great
Go to Top of Page
   

- Advertisement -