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 (?,?,?,?,?,?)';
In reply to Re^5: from osm to mysql:: with insert-statement
by poj
in thread from osm to mysql
by Perlbeginner1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |