Du kan lave NULL fra tom streng i MySQL :
SELECT coalesce(NULLIF(email, ''), '[email protected]') FROM users WHERE id=1000000;
Du kan lave NULL fra tom streng i MySQL :
SELECT coalesce(NULLIF(email, ''), '[email protected]') FROM users WHERE id=1000000;