Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: Need help optimizing the performance of a query

    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)

  • RE: Need help optimizing the performance of a query

    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...

  • RE: Design question

    Thanks. That solves the facility part

    What about groups in groups?

  • RE: Problems connecting thru 1433

    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...

  • RE: Problems connecting thru 1433

    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...

Viewing 5 posts - 1 through 5 (of 5 total)