Ok,
the sql database automatically stores any non-sequence item that is listed in dicom.sql. You can maybe sort your problem by using lua to create private elements to the RTPLAN object and define these in dicom.sql so that they are written. However, as I pointed out there can be hundreds of control points so I am not sure how you would code that in a single text string. I think database fields in conquest are limited to 256 characters.
A better solution is to create a database table yourself (you can use lua to do this) and use lua sql() command to write into that and dbquery() to read.
console.bat runs a simple console where you can try any lua code. It stores the history of what you typed.
A bit of example code (from overview.lua in the distribution, it has examples for all lua functions):
sql("CREATE TABLE UserTable (CounterID varchar(99), Val integer)");
sql("INSERT INTO UserTable (CounterID,Val) VALUES ('CT',1) ON DUPLICATE KEY UPDATE Val=Val+1");
Marcel