Hello Stefano,
I'm 99% sure that the required information is here:
table: crs_settings
field: activation_type (1=active, 0=inactive)
You might try this:
SELECT object_data.obj_id, object_data.type, object_data.title, crs_settings.activation_type
FROM object_data INNER JOIN crs_settings ON object_data.obj_id = crs_settings.obj_id
WHERE (((object_data.type)="crs"))
ORDER BY object_data.title;
(ILIAS-Version 5.1.7)
George