Domanda

I am aware that MySql treats empty strings and nulls differently, unlike Oracle where they are the same. And that's fine. But what I am wondering is if it's possible to have TOAD for MySql turn empty strings into nulls. Look at the image below. {null} is my placeholder for null values so I can easily tell them apart. While I am working in the data grids if I remove data I get empty strings. If I remove data I want it to become null instead. I can't seem to find a way to make this happen. I always have to run a script to set the data to null. Does anyone know if it's possible to my this happen in TOAD so I don't have to keep running scripts to set my nulls? (version 7.0.0.2038). If it's not possible does anyone know of an application that does?

enter image description here

È stato utile?

Soluzione

Use Control+Delete while selecting a cell

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top