First query with my function
select *
from [dbo].fnSplitString('1|16|170','|')
Second query with data to split
select m.CategoryTree as s
from tblBuyOnlineMaster m
I want to join these two query to get all the categories from second query like a table column, like the first result
Help will be very useful.

