Re: Parse error creating tables
| От | Nikola Milutinovic |
|---|---|
| Тема | Re: Parse error creating tables |
| Дата | |
| Msg-id | 001f01c0f87e$f9d24a50$6e3da8c0@ev.co.yu обсуждение |
| Ответ на | Parse error creating tables (Juan Jose Natera Abreu <jnatera@net-uno.net>) |
| Список | pgsql-novice |
> Here are 2 of the tables i am trying to create: > > CREATE TABLE Distribucion ( > Id serial PRIMARY KEY NOT NULL, > Nombre varchar(15) > ); > > CREATE TABLE Perfil_Aplicacion ( > Id serial PRIMARY KEY NOT NULL, > Nombre varchar(20), > Abreviatura char(4), > Descripcion varchar(50), > Distribucion integer, > Enviar_Correo boolean, > Enviar_Page boolean, > Enviar_Popup boolean, > Numero_Aprobadores integer, > Numero_Acciones integer, > Cierre_Automatico boolean, > Caduca integer, > FOREIGN KEY Distribucion REFERENCES Distribucion(Id) > ); FOREIGN KEY <field> REFERENCES <table> Where <field is a field in your table and <table> is another table, your table is referncing. Nix.
В списке pgsql-novice по дате отправления: