Forum Replies Created

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

  • RE: Daily export of the historical tables

    Thanks a lot for clarifying. Now I have to learn more about DTS global variables and dynamic properties task.

  • RE: Need help with the query

    I am sorry, I did not get what this script does and how it works in my case. I need to write a query which returns "0" instead of rows...

  • RE: Need help with the query

    Sure

    And any ideas how to preset the results in the form of matrix? Pivot is not smart in SQL Server 2000.

    And how to...

  • RE: Need help with the query

    Great, thanks.

    Query only lacks GROUP BY clause

  • RE: Need help with the query

    For just 2 ProdID the following query also works

    select count(a.CustID) from  (select CustID from Orders where ProdID=100) a

    join (select CustID from Orders where ProdID=200) b

    on a.CustID=b.CustID

    But I would like...

  • RE: Need help with the query

    Thanks, but it is not what I need.

    I'll clarify.

    create table Orders (OrderID int identity(1,1), CustID int, ProdID int, Quant int)

    insert into Orders (CustID, ProdID, Quant)

    values (1, 100, 10)

    insert into Orders...

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