Estoy usando PostgreSQL 9.1 y tengo una tabla de usuarios con una logincolumna.
los nombres de inicio de sesión distinguen entre mayúsculas y minúsculas, por ejemplo Bob, MikE, john. Me gustaría transformar todos estos registros en minúsculas. ¿Cómo puedo hacer eso?
postgresql
functions
flyer88
fuente
fuente

UPDATE table_name SET column = LOWER(column) WHERE column != LOWER(column);lo hará.HINT: No function matches the given name and argument types. You might need to add explicit type casts.al intentar esto.