Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > using a subquery in aggregate function
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 23rd April 11:17
fady chammas
External User
 
Posts: 1
Default using a subquery in aggregate function



Hi,
I'm getting the following error:
cannot perform aggregate function on an expression
containing aggregate function or subquery.
In my query I am using sum() on a subquery.
I wanna ask if is there an option in ODBC or in SQL
Server to let me use an aggregate function on a subquery
or I have to re-structure my query in another way.
Thanks
  Reply With Quote


  sponsored links


2 23rd April 11:17
vishal parkar
External User
 
Posts: 1
Default using a subquery in aggregate function



Fady,

Can you post DDL/some sample records and required output.

--
- Vishal
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666