May 15, 2017 at 3:30 pm
Hi ,
I have hierarchical data in a table having UserId and his ParentID
Every user has a task , if a user is absent ( a flag in another table ) a the task should show up in the higher level person's task
so if all the child records of parent are absent the task propagates to the highest level where level_Id=1 and parent user id is 0 (zero)
Could you please help writing a procedure which can get the userIds list of tasks (where 1 or all of his child-records are absent )
Thanks!
May 15, 2017 at 5:51 pm
Please read this and re-post as suggested.
http://www.sqlservercentral.com/blogs/spaghettidba/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/
May 15, 2017 at 8:23 pm
Joe Torre - Monday, May 15, 2017 5:51 PMPlease read this and re-post as suggested.
http://www.sqlservercentral.com/blogs/spaghettidba/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/
Ok. I'll repost with examples.
Please delete this one. Thanks!
June 4, 2017 at 9:41 pm
SJanki - Monday, May 15, 2017 8:23 PMJoe Torre - Monday, May 15, 2017 5:51 PMPlease read this and re-post as suggested.
http://www.sqlservercentral.com/blogs/spaghettidba/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/Ok. I'll repost with examples.
Please delete this one. Thanks!
So what happened? You didn't post anything here or on a new post.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply