This article provides an example to insert data using variables in a table.
insertinto cust values (&custno,'&cname','&state',&phone); insertinto item values (&itemno,'&itemname',&itemprice,&qty_hand); insertinto invoice values (&INVNO,'&INVDATE', &CUSTNO); insertinto invitem values (&INVNO, &ITEMNO,&QTY);