And in addition to using the STORE statement you can also use the SQL statement like for instance this:
FOR i=1 TO NoOfRows('aTable')
vID = Peek('ID',i-1,'aTable');
vProduct = Peek('Product',i-1,'aTable');
INSERT INTO myDBTABLE VALUES ($(vID),'$(vProduct)')
It might not be very speedy but it does the job. You can even use an insert with multiple rows in one insert statement to optimize the batch size.