select dbo.ve_getshortpathfromcontentid(contentid) location, text, patindex('%<START%link:reference%', text),  charindex('\u8209?', text)
from contents 
where patindex('%<START%link:reference%', text) > charindex('\u8209? ', text) and charindex('\u8209? ', text) > 0