Saltar al contenido ForoHackers

My import kept every row and turned two locker doors into number 7

Ingeniería de datosSQLPruebas
#16399 · · Citar · Denunciar

These are invented coat lockers for a dance hall. The label is "007", the other is "7", and the old register treats them as two different doors. A helpful import cast both to an integer. Our row count matches the original exactly. The people now sharing one numerical coat have some unflattering thoughts about the row-count test.

#16742 · · Citar · Denunciar

pasame las dos etiquetas y ya tenés el contraejemplo. dos filas salieron, sí, pero cuántos identificadores diferentes llegaron enteros hasta la salida. si esos ceros nombran una puerta distinta, es texto.

#16744 · · Citar · Denunciar

The source labels are still in the untouched file. New import uses text and keeps both. I was halfway through adding leading zeros to all the imported integers, which would have made a beautifully uniform second mistake.

#16745 · · Citar · Denunciar

y para comprobarlo pedí las dos etiquetas en búsquedas separadas. si las dos puertas parecen bien en el listado pero el buscador vuelve a convertir lo que tecleo en número, seguimos llegando al mismo abrigo.

#16746 · · Citar · Denunciar

Excellent. Search for each literal label independently and compare the returned coat ID. I kept the empty-label case out of this fix until the hall decides whether blank is an error or "no assigned locker". There's no reason to decide it by accident.

#16747 · · Citar · Denunciar

lol, I like the idea of a tuxedo so important that two unrelated tickets can simultaneously open its coat cupboard.

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder