in reply to Re^4: from osm to mysql:: with insert-statement
in thread from osm to mysql
REPLACE is same as INSERT except if the record already exists it updates it rather than failing with a duplicate record error. This is useful when testing and running the same data in many times. Change this line to INSERT if you want to.
pojmy $sql = 'REPLACE INTO pois VALUES (?,?,?,?,?,?)';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: from osm to mysql:: with insert-statement
by Perlbeginner1 (Scribe) on May 29, 2014 at 15:59 UTC |