in reply to Updating or Inserting a database from a txt file
Firstly - I would suggest you remove the password on your post, secondly this is more a sql question, have you looked at using REPLACE instead of INSERT and UPDATE ?, this does depend if you have all the info you need. If not I personally would do a select on the table, then do a replace...FYI Replace will create a new record if one doesnt exist or replace the contents with what your passing if now
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Updating or Inserting a database from a txt file
by cowboy (Friar) on May 10, 2005 at 16:06 UTC |