welle has asked for the wisdom of the Perl Monks concerning the following question:
I use SQLite with Perl. I need to duplicate some rows. All values should remain the same exept for one. I wander if there is an easiest way as to what I'm doing now: read the content of the entire row, put all values in variables and insert (INSERT) a new row with the same values exept for the one I want to change. Note: I do't want just to update the row. After the operation I need two records.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sqlite DBI duplicate record
by MidLifeXis (Monsignor) on Mar 07, 2013 at 18:19 UTC | |
by roboticus (Chancellor) on Mar 07, 2013 at 19:28 UTC | |
|
Re: Sqlite DBI duplicate record
by roboticus (Chancellor) on Mar 07, 2013 at 19:34 UTC |