SET Count = Select Count(*) FROM Example.Level1tag[] as level1ref, level1ref.Level2tag[] as level2ref, level2ref.Level3Tag[] as level3ref;
Answer : 4
The above scenario is working fine but when any of the segment is not present then its not working. Consider Level3Tag is not present in the second Level2Tag. So level3ref will be assigned to NULL and select query processing is stopping at this point. I could tell this because in debug under variables, level2ref has the first Level2Tag data and not the third Level2Tag data..the above scenario is given below
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum