Removed sql preinsert.