Viewing 4 posts - 1 through 4 (of 4 total)
Thanks a lot Luis/SSCrazy. Your solution worked like magic :w00t:
January 31, 2014 at 5:23 pm
Hi dwain.c,
Thanks for the answer, your solution seems more accurate to me.
I will revert after checking the output.
Thanks a lot 🙂
July 13, 2012 at 6:05 am
Thanks for the reply SSC Eights!, however I require a different output.
The query you posted returns the number of childs of each user, instead I need the number of profiles...
July 13, 2012 at 2:48 am
Sorry for the trouble guys I should have posted the scripts earlier.
Here are the scripts for table creation and data population:
Create Table UserMast
(
UserID uniqueidentifier default newid(),
EmailID varchar(100),
ParentID uniqueidentifier,
)
Create Table ProfileMast
(
ProfileID...
July 13, 2012 at 12:15 am
Viewing 4 posts - 1 through 4 (of 4 total)