| От | Paul |
|---|---|
| Тема | select into without creating new table |
| Дата | |
| Msg-id | 3daff3bf_2@goliath2.newsgroups.com обсуждение исходный текст |
| Ответы |
Re: select into without creating new table
|
| Список | pgsql-general |
Hi, How can I select data from table into an existing table. I've redesigned some tables and thus want my data to be copied from the old table to the new one. Since the column order, names (and the number of columns) is not equal i thought of using: select column1,column2 into newtable from oldtable THis however leads to an error that states that the table exists already. Deleting the table is no option for me since I want the data to be in the table with the new structure. Any help would be appreciated! -----------== Posted via Newsfeed.Com - Uncensored Usenet News ==---------- http://www.newsfeed.com The #1 Newsgroup Service in the World! -----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера