Forum Replies Created

Viewing 15 posts - 1 through 15 (of 31 total)

  • RE: traverse query

    Thanks a lot Hugo..It works perfect...

  • RE: traverse query

    Yes you are correct more than one CTE references cannot be used in the recursive query.

    Can you suggest other solution which will work..

  • RE: traverse query

    Thanks Sergiy !

    I have tried to modify the change you mentioned but I got an error..

    Msg 253, Level 16, State 1, Line 1

    Recursive member of a common table expression 'cteHierarchy'...

  • RE: traverse query

    Thanks ..I was figuring out the data which has millions of records however I have the data which have mentioned..

    What is the solution.. when I put max recursion to 0...

  • RE: traverse query

    Thanks a lot Hugo Kornelis

    However i have ran against the database whenever verified after the results it has lot of duplicate records showing in the result set..

    Can you help please..

  • RE: traverse query

    Thanks a lot..

    The provided query works fine however when I ran the query against with 1 million records which is failing due to maximum recursion error and I have added...

  • RE: traverse query

    Here is the query...

    CREATE TABLE #Treedesc

    (

    ID BIGINT ...

  • RE: traverse query

    Thanks for the response. This was helpful but my database has 2 tables where the provided the link has a single table which has all the names, ids in single...

  • RE: Query help

    Thanks a lot it works...

  • RE: Query help

    for id there would be stuname like 100 row value which should be display as columns..

  • RE: Query help

    I am working on reports but it is denormalized database..

  • RE: Query help

    I have provided sample data but i have 100 colmnns

  • RE: Query help

    Thanks the expected output is different....

  • RE: Conversion

    Yes you are correct the other strings contains different time zone.

  • RE: Conversion

    Thanks a lot.

    How can i extend the query to pull the records fromdate and to date..

Viewing 15 posts - 1 through 15 (of 31 total)