Some questions on KEYS

Поиск
Список
Период
Сортировка
Искать

Some questions on KEYS

От:
Ludwig Lim <lud_nowhere_man@yahoo.com>
Дата:

Hi :

  In the PostgreSQL 7.2.1 SQL Reference manual I
encountered the following syntax under the "ALTER
TABLE" section.

ALTER TABLE table
    ADD 

ALTER TABLE [ ONLY ] table [ * ]
    ADD [ COLUMN ]   [
 [ ... ] ]


1) Is 
similar to ? 2) Is the column in ALTER TABLE the same the found under the section "CREATE TABLE" ? 3) If a table w/ primary doesn't have any index. Does it perform a sequential scan on the key columns before inserting a new record? 4) If primary keys utilizes index, is a multi-column index on multi-columned key a better implementation over creating a seperate index for each column in the primary key? Thank you in advance, ludwig __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
FAQ