1
Cambiar el tipo de columna y establecer no nulo
¿Cómo se cambia el tipo de columna y también se configura esa columna en not nullconjunto? Estoy intentando: ALTER TABLE mytable ALTER COLUMN col TYPE character varying(15) SET NOT NULL Esto devuelve un error. ¿Cuál es la sintaxis correcta?
96
postgresql