Migration Workbench | Workspace: CJIS environment Sample data
MFA RE
Convert › F156

Request 110

CJIRetire
1 reports  ·  0 runs (12 mo)  ·  Simple  ·  Target: Retire
Dataset query (SQL Server)
SELECT o.offense_desc,
       i.offense_code,
       i.reported_date,
       i.occurred_date,
       i.location_type,
       i.property_loss
FROM incident i
JOIN offense_code o ON o.offense_code = i.offense_code
WHERE i.offense_code IN ('13A')
  AND i.location_type = 'Parking Lot'
  AND i.agency_id = @Agency
  AND i.occurred_date BETWEEN @DateFrom AND @DateTo