Writing PLC tag values into MS SQL database server