queres fazer o insert nas duas ao mesmo tempo?

2012/9/3 Guimarães Faria Corcete DUTRA, Leandro <[email protected]>

> 2012/9/3 Eduardo Az - EMBRASIS <[email protected]>:
> >
> > CREATE TABLE cadastro
> > (
> >   id serial NOT NULL,
> >   nome character varying(30) NOT NULL,
> >   nasc_dt date,
> >   CONSTRAINT cadastro_pkey PRIMARY KEY (id ),
> > );
>
> Evite chaves artificiais.  Use chave natural — por exemplo (nome,
> nasc_dt) e teu problema desaparece.
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>



-- 
Anselmo M. Silva
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a