|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I'm using mysqldump to backup all of the data in a database I have. However, where there are blank fields in the table, it puts a "NULL" in the backup. Is there a way to prevent it from doing that, and just leave it blank?
Thanks, Ben |
|
#2
|
|||
|
|||
|
NULL is a key word for MySQL, when you restore from your backups you won't see it in your tables (they'll just be empty again).
|
|
#3
|
|||
|
|||
|
When I added it back in to test it, the "NULL"s did show up again.
|
|
#4
|
|||
|
|||
|
Wait, sorry, I was doing something stupid on this end. It does come out properly.
|
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > mysqldump question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|