Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
SQL
ce
clients
clustering
connect
datamining
datawarehouse
dts
fulltext
jdbcdriver
msde
mseq
newusers
notificationsvcs
odbc
olap
programming
replication
reportingsvcs
security
securitytools
server
setup
sqlxml.viewmapper
tools
xml
  
 
date: Thu, 10 Apr 2008 13:40:00 -0700,    group: microsoft.public.sqlserver.notificationsvcs        back       


Aggregated Query not working in Query Notification - Any ideas   
We are using an aggregated query for query notification

MSDN says you can use count_big() and sum() with group by clause.

select entry_date, count_big(entry_date) as cnt from dbo.my_stats where 
entry_date > '2008-04-10' group by entry_date

entry_date is a column in composite key and hence its a NOT NULL column.

Any ideas why it is failing?

-- 
Murali Krishna,
www.connexuscorp.com
date: Thu, 10 Apr 2008 13:40:00 -0700   author:   Murali Krishna Siruvuru

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us