| От | Scott Marlowe |
|---|---|
| Тема | Re: Alter Table |
| Дата | |
| Msg-id | 1173975198.12681.40.camel@state.g2switchworks.com обсуждение исходный текст |
| Ответ на | Alter Table ("Shavonne Marietta Wijesinghe" <shavonne.marietta@studioform.it>) |
| Список | pgsql-sql |
On Thu, 2007-03-15 at 08:35, Shavonne Marietta Wijesinghe wrote: > When i alter a table and add a new column it always adds it to the end > of the table. Is there any way to tell it to add the new column at the > 5th position or to add the new column after a surtain column. No, but the good news is you can just recreate the table once it's stabilized in form with something like: create table new_table as select field1, field4, field2, field3 from old_table;
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера