XP is just a number | |
PerlMonks |
Re^3: Updating or Inserting a database from a txt fileby Adrade (Pilgrim) |
on May 12, 2005 at 09:11 UTC ( [id://456307]=note: print w/replies, xml ) | Need Help?? |
Hey Nik, Sorry for taking so long to reply. To create a table, try doing this: Then, create a unique index on the table - the 200 is a length that you can modify if you want.
You should now successfully be able to use REPLACE on your table. Taking a look at your code... I'm a bit tired, but I hope this helps! Note my comments within the code. The error in your message below indicates that the execute method isn't receiving the correct number of variables. Check to see that the file is tabbed correctly. Best, -Adam
In Section
Seekers of Perl Wisdom
|
|