Hello Iain,
Thank you for the contact, In mine scenario BSI collects data from Spectrum Events, and extract some fields from there and I want that fields to create an report that shows all the events and the annotations for an specif resource.
And in parallel I'm integrating the BSI database with CABI ( JasperServer ) because of the best user interaction, and in contact with mine support it provide me the following function from the server FNC_DATA_FIELD_EXTRACT("V_RAW_DATA_VIEWER"."DATA" , X ), where X is an integer, and represent an Event Field.
In mine report I use the following query :
SELECT "V_RAW_DATA_VIEWER"."RAW_DATA_ID",
"V_RAW_DATA_VIEWER"."EVENT_TYPE_NAME",
"V_RAW_DATA_VIEWER"."EVENT_TYPE_ID",
"V_RAW_DATA_VIEWER"."TIME_STAMP",
"V_RAW_DATA_VIEWER"."TEXT" ,
FNC_DATA_FIELD_EXTRACT("V_RAW_DATA_VIEWER"."DATA" , 0) EventTitle,
FNC_DATA_FIELD_EXTRACT("V_RAW_DATA_VIEWER"."DATA" , 4) EventID,
FNC_DATA_FIELD_EXTRACT("V_RAW_DATA_VIEWER"."DATA" , 3) EventTime,
FNC_DATA_FIELD_EXTRACT("V_RAW_DATA_VIEWER"."DATA" , 2) EventModel
FROM "V_RAW_DATA_VIEWER"
WHERE
"V_RAW_DATA_VIEWER"."EVENT_TYPE_ID" = '1530'
AND "V_RAW_DATA_VIEWER"."RESOURCE_ID" = $P{ResourceID}
AND $X{BETWEEN , "V_RAW_DATA_VIEWER"."TIME_STAMP" , InitDate , EndDate }