More SQL. PortKnown needs to be changed to simulate InsertIP method. For easier ID obtaining