Re: identity columns ?

Поиск
Список
Период
Сортировка
От PGMailList
Тема Re: identity columns ?
Дата
Msg-id 001501c1dc89$29a36950$05faa8c0@edios
обсуждение исходный текст
Ответ на identity columns ?  ("Chris" <chris@netlabz.com>)
Список pgsql-novice
> 2. We're using pg-admin to work with postgres. It doesn't seem possible to
> modify tables in pg-admin once you've created them, you have to delete and
> add. Is there another pg client that supports modifying tables ?

Depends on what you want to change:
Drop a column -
        Sorry - Drop table and recreate.
Add Column -
    ALTER TABLE mytable ADD  COLUMN  mycolumn int4;
Change Column Name -
    ALTER TABLE mytable RENAME COLUMN mycolumn TO newcolumn;

http://www.pgexplorer.com
GUI Postgres TOOL






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

Предыдущее
От: Ugly Hippo
Дата:
Сообщение: Re: Export query result to text file?
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: identity columns ?