Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40619

    galera, ao criar a tabela cliente eu vacilei de não colocar o campo data_nascimento, e ao fazer isso depois, na hora de inserir os dados, o postgree tá me apresentando o erro: ERROR: column “data_nascimento” of relation “cliente” does not exist LINE 1: insert into cliente (idcliente, nome, cpf, rg, data_nascimen… ^ SQL state: 42703 Character: 48.

    como faço pra corrigir isso?

    #40632
    Fábio Spak
    Participant

      Olá Naelson, tente o código abaixo:

      ALTER TABLE cliente ADD COLUMN data_nascimento DATE;

      Fabio

    Viewing 2 posts - 1 through 2 (of 2 total)
    • You must be logged in to reply to this topic.