SQL Read/Write

SQL Read/Write

Hi,
I'm trying to read/write some data to sql database. I ran both scripts from documentation creating two tables, created sqlDrv and associated it with a variable. But after writing some value to this variable my database table is still empty.


I am using Zenon V8.20
Diagnosis tool is telling me "Variable Not Defined: 0".

How do I define variable?

Could you please tell me step by step how to set up a driver, variable and how to read/write data .

​We have connection with the database since we are currently evacuating data from the historian.