Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Update Blank Fields In MySQL

by mendeepak (Scribe)
on Feb 07, 2014 at 06:58 UTC ( [id://1073807]=note: print w/replies, xml ) Need Help??


in reply to Update Blank Fields In MySQL

set a default value for your fields and as others told you it sounds more like SQL problem than Perl.
FYI : whenever you write a question please provide what you have tried with your code

Deepak

Replies are listed 'Best First'.
Re^2: Update Blank Fields In MySQL
by Anonymous Monk on Feb 07, 2014 at 07:47 UTC
    NULL is a very good default value, you know. Don't be afraid of them.
      Thanks! I set the default values on each column and used placeholders with the query. The problem has been solved!!! Many thanks to all who responded.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1073807]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-24 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found