Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Update Blank Fields In MySQL

by mendeepak (Scribe)
on Feb 07, 2014 at 06:58 UTC ( #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
Node Status?
node history
Node Type: note [id://1073807]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2018-07-21 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (446 votes). Check out past polls.

    Notices?