SourceCode/PROMS/SQL/ROAfterDash.sql

3 lines
266 B
SQL

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