Commit for development environment setup
This commit is contained in:
11
PROMS/SQL/ROAfterDash2.sql
Normal file
11
PROMS/SQL/ROAfterDash2.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
select tst, count(*) howmany from (
|
||||
select contentid, text, case when patindex('%<START%link:reference%', text) > charindex('\u8209?', text) then 'TRUE' else 'FALSE' end tst
|
||||
from contents
|
||||
where text like '%link:reference%' and text like '%\u8209?%') t1 --where tst = 'TRUE'
|
||||
group by tst
|
||||
|
||||
select * from items where itemid in (66766, 66770)
|
||||
|
||||
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
|
Reference in New Issue
Block a user