Memory Tag - Database


Is it possible to save a memory tag (DataSet type) in the Database?

Yes, you can loop through the dataset and build your insert statement.

Here’s an example

1 Like

Alternatively, you can use the system.dataset.toCSV function to turn a dataset into a string and then store it as text in an appropriately sized TEXT column. Then, when reading it back, system.dataset.fromCSV converts the text back into a dataset.

1 Like