select * from category where parent=rtrim(ltrim(str(categoryid)+'/'))