Some Migration target data

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla

Q&A for Joomla! administrators, users, developers and designers

select postID [Post Link] , 

case
 when  comment like 'to http://serverfault.com/%' then 'severfault'
 when  comment like 'to http://meta.stackoverflow.com/%' then 'meta.so'
 when comment like 'to http://security.stackexchange.com/%' then 'security.se'
 when comment like 'to http://english.stackexchange.com/%' then 'english'
when comment like 'to http://superuser.com/%' then 'superuser'
when comment like 'to http://dba.stackexchange.com%' then 'dba.se'
when comment like 'to http://tex.stackexchange.com/%' then 'tex.se' 
when comment like 'to http://android.stackexchange.com%' then 'android.se'
when comment like 'to http://codereview.stackexchange.com%' then 'codereview.se'
when comment like 'to http://dsp.stackexchange.com/%' then 'dsp.se'
when comment like 'to http://apple.stackexchange.com%' then 'apple.se'
when comment like 'to http://electronics.stackexchange.com' then 'electronics.se'
end target, comment

from postHistory
where  posthistoryTypeid in (17, 35)
order by creationdate desc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results