Viewing 15 posts - 1 through 15 (of 31 total)
Yes you are correct more than one CTE references cannot be used in the recursive query.
Can you suggest other solution which will work..
March 9, 2016 at 12:05 pm
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'...
March 9, 2016 at 8:12 am
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...
March 8, 2016 at 5:31 pm
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..
March 7, 2016 at 1:17 pm
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...
March 5, 2016 at 10:27 am
Here is the query...
CREATE TABLE #Treedesc
(
ID BIGINT ...
March 5, 2016 at 8:30 am
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...
March 5, 2016 at 6:06 am
for id there would be stuname like 100 row value which should be display as columns..
March 27, 2013 at 9:05 am
Yes you are correct the other strings contains different time zone.
January 29, 2013 at 6:01 pm
Thanks a lot.
How can i extend the query to pull the records fromdate and to date..
January 28, 2013 at 4:42 pm
Viewing 15 posts - 1 through 15 (of 31 total)