private ArrayList<String> insertPointsQuery( List<Track> tracks ) throws SQLException {
        Statement st = sqlite.createStatement();
        ArrayList<String> strList = new ArrayList<String>();
        int count = 0;
        StringBuilder sqlQuery = new StringBuilder();
        int size = tracks.size();
        
        for( int i = 0; i < size; i++ ) {
             Track t = tracks.get(i);
             int pSize = t.points.size();
              sqlQuery = new StringBuilder("INSERT INTO points  VALUES\n");
             
             for ( int j = 0; j < pSize; j++ ) {
                 count++;
                 if ( (count % 100) == 0 ) {
                     strList.add(sqlQuery.toString());
                     count = 1;
                     sqlQuery = new StringBuilder("INSERT INTO points  VALUES\n");
                 }
                 TrackPoint p = t.points.get(j);
                 String point;
                 point = (" (" + t.getId()+", " + p.getLat() + ", " + p.getLon()+ ", " + p.getNum() +")"+
                        (( i == (size-1) && j == (pSize-1) || (count % 100) == 99 )? ";" : ",") );
                 sqlQuery.append(point);
             }
        }
        strList.add(sqlQuery.toString());
        return strList;
    }