You are not able to get the camera status from the database. Camera status is not part of the information in the database.
Please explore the StatusViewer sample, this sample shows how to get the status by asking the Event Server, and also how to subscribe to messages from the Event Server to detect camera going into a “not responding” state.