Re: Perl Script to transform a MySql insert into an update

2005-01-14 Thread zzapper
On Fri, 14 Jan 2005 18:42:41 +, wrote: >Hi, >Does anyone have a Perl Script (or other) to transform a MySql insert into an >update (or >vice-versa)??? Just wrote a QAD (Quick and dirty) script see below, has no error handling #!perl # sedit.pl # description : Transform a mysql insert into

Perl Script to transform a MySql insert into an update

2005-01-14 Thread zzapper
Hi, Does anyone have a Perl Script (or other) to transform a MySql insert into an update (or vice-versa)??? zzapper (vim, cygwin, wiki & zsh) -- vim -c ":%s%s*%CyrnfrTfcbafbeROenzSZbbyranne%|:%s)[R-T]) )Ig|:norm G1VGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips -- MySQL