Viewing 5 posts - 1 through 5 (of 5 total)
I have 5 non clustered index(s) on each of the following columns in ASC order
customer_id varchar(13)
product_name varchar(256)
product_code char(10)
paid_amount(decimal(18,2)
date_of_sale(datetime)
July 12, 2011 at 11:20 am
I apologize! I forgot to include the query
QUERY
---------------------------------
SELECT distinct product_name AS ProductName,
(SELECT SUM(paid_amount)FROM transactions tr2 WHERE tr1.product_code = tr2.product_code) AS TotalPaidAmount,
(SELECT SUM(paid_amount) FROM transactions WHERE date_of_sale >= '2010-01-01' AND date_of_sale...
July 12, 2011 at 10:56 am
Thanks. That solves the facility part
What about groups in groups?
August 29, 2006 at 1:55 pm
Thanks 4 the reply. I finally figured what my problem was. The remote client I was connecting from is behind a corporate firewall that doesn't allow outbound traffic on port...
August 22, 2006 at 9:28 am
Thanks 4 the reply. I finally figured what my problem was. The remote client I was connecting from is behind a corporate firewall that doesn't allow outbound traffic on port...
August 22, 2006 at 9:27 am
Viewing 5 posts - 1 through 5 (of 5 total)