Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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.