16 (24 volt) Sensor Data sent to MSSQL

Job ID: 33786520

Budget: €30 – €250 EUR

Hi. I am looking to send 8 pairs (16 in Total) of sensor data to MSSQL. This project is to measure the cycle time on an assembly line. Each pair consists of a 24 volt sensor and a 24 volt push button. The 24 volt sensor activation time is the start time and the push button press is the end time. Ideally I would like all 16 sensors to connect to 1 board whether its arduino or Raspberry Pi and send to MSSQL via ethernet. These 8 pairs of sensors span approximately 50 meters. (Will this cause transmission loss?)
I have an MSSQL set up already but I am unable to get the data from arduino to MSSQL. I have attached a file.