New to Query Builder and trying to see how it will help us but when we try to query for example: long running reports or reports using specific folder, always get runtime error.
Are there specific indexes we should use, etc?
Examples of queries:
select si_name,
si_parent_folder_cuid,
si_starttime,
si_endtime
from ci_infoobjects
where si_kind = 'CrystalReport'
and si_instance = 1
and si_parent_folder_cuid = 'AavN8Dlwl01HhM1WXNx.2O8'
and si_description like '%Monthly%'
and si_starttime >= '2011/01/01-10 :00 :00'
and si_starttime <= '2011/02/01-02 :00 :00'
select si_name,
si_parentid,
si_parent_folder
from ci_infoobjects
where si_kind = 'CrystalReport'
and si_instance = 1
and si_calendar_template_id = 1643732
Are there specific indexes we should use, etc?
Examples of queries:
select si_name,
si_parent_folder_cuid,
si_starttime,
si_endtime
from ci_infoobjects
where si_kind = 'CrystalReport'
and si_instance = 1
and si_parent_folder_cuid = 'AavN8Dlwl01HhM1WXNx.2O8'
and si_description like '%Monthly%'
and si_starttime >= '2011/01/01-10 :00 :00'
and si_starttime <= '2011/02/01-02 :00 :00'
select si_name,
si_parentid,
si_parent_folder
from ci_infoobjects
where si_kind = 'CrystalReport'
and si_instance = 1
and si_calendar_template_id = 1643732