Alterar nome do campo no firebird

Alterar nome do campo no firebird sem stress

DICA: Alterar nome do campo no firebird sem stress



Para mudar o nome do campo:
ALTER TABLE table1 ALTER [COLUMN] field1 TO field2;


Para mudar o tipo do campo:
ALTER TABLE table1 ALTER [COLUMN] field1 TYPE char(20);

Para alterar sua posição:
ALTER TABLE table1 ALTER [COLUMN] field1 POSITION 4;





Artigos relacionados