Re: more on database design

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: more on database design
Дата
Msg-id 1164146520.6040.514.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на more on database design  (Desmond Coughlan <coughlandesmond@yahoo.fr>)
Список pgsql-general
On Tue, 2006-11-21 at 04:18, Desmond Coughlan wrote:
> X-No-Archive: true
>
> Hi,
> Almost finished this database .. anyone able to take a glance at this,
> and tell me if with the ALTER TABLE statements at the bottom, I'm
> giving myself more work than necessary?
>
> http://www.chez.com/desmondcoughlan/unix/bibliotheque.sql
>
> Once it's over, I can concentrate on learning enough PhP to get a
> search page going.  :)

Just looks like you're doing it the hard way.

Most tables you can do something like:

create table abc (field1 int primary key, field2 not null references
someothertable(id));

i.e. do it at once.

But it's not a big deal.

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: list archives
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: MSSQL to PostgreSQL : Encoding problem