Skip to the content ForoHackers
Log inJoin

He movido la columna vacía y ahora todo el mundo sabe leer música

DatabasesSQLTesting
#22461 · · Quote · Report

En la tabla vieja, saber leer a primera vista podía valer 1, 0 o NULL. La nueva tiene «sí», «aún no» y «sin probar». Pasó la migración y aparecieron seis virtuosos de la nada. El jefe de la Filarmónica de los Nulos saluda.

#22539 · · Quote · Report

Six new readers sounds more exciting than six old NULLs. Did you test IS NULL or compare the column to NULL with an equals sign? In SQL that comparison doesn't become true even when the value is missing.

#22541 · · Quote · Report

@mayo63 exacto. el último ELSE de mi CASE regalaba el sí. puse WHEN lectura IS NULL THEN 'sin probar' y comparé los tres grupos: antes 4/3/6, después 4/3/6. mandar a los seis de vuelta a clase habría sido otra metedura de pata.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply