PARAMETERS x IEEEDouble, y IEEEDouble; INSERT INTO POINT ( pointid, x, y ) SELECT COUNT(*), x, y FROM POINT AS p2;