Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How to get a placeholder to keep the current column value?

by BUU (Prior)
on Oct 26, 2003 at 20:17 UTC ( #302256=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $sql='UPDATE table SET '.join',',map {"$_=".quote($hash{$_})} keys 
    +%hash;
    
  2. or download this
    UPDATE table SET phone='456'
    
  3. or download this
    map {"$_=".quote($hash{$_})} grep defined $hash{$_},keys %hash;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://302256]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-01-19 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.