- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
We’re looking to write a connector that pulls data from the Rapport SQL DB. I’m not that familiar with Microsoft MSDE engine db’s. Can anyone shed some light on how to accompish this task?
Its just a MS SQL database, so you’ll just need to identify what data you wish to retrieve and then use SQL queries.
example:
SELECT * FROM [RAPPORTDB].[DBO].[CLIENT]
WHERE DATEDIFF(day, checkin, getdate()) >= 2
This should return a list of all devices that are reported as actively checking into the Rapport server (based on your configured checkin intervals)
Basically all the “Green” devices
The connector details will vary on your programming language, but all center around using the SQL driver to locate and connect to the server then running a series of queries to poll data, either into a cached queue for manipulating on the fly or directly into another text file or DB.
-k
Here’s a query for the serial numbers of each device:
use RapportDB
select B.[ClientID], C.[Name], B.[Serial]
from ClientHardware B, Client C
where b.clientid = c.Clientid
This will return the Name and Serial number of every device in the DB.
-k
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |