Writing to database - SPC module

You don’t. The SPC module creates the tables and indexes automatically. The table structure involves multiple tables and indexes that are optimized for speed when pulling the data out with filters, combining with control limits, etc. and presenting in control charts or other analysis.

You can access the sample data directly from the QUAL_Sample and QUAL_SampleData tables.

What exactly are you trying to accomplish?