| От | Erwin Van de Velde |
|---|---|
| Тема | Copying data from one table to another |
| Дата | |
| Msg-id | 200402281708.09754.erwin.vandevelde@ua.ac.be обсуждение |
| Ответы |
Re: Copying data from one table to another
|
| Список | pgsql-general |
Hi, I have to copy data from one table to another, and I was wondering if there is an easier way to do that than to have a lot of inserts one after another. I already looked at the copy command, but what I need should happen in my program itself, while the user is waiting, and it's only a partial copy of the first table to the second (which has it's own fields, although with default values to start with). So the copy command didn't seem an easy (or fast) way to do that. Is there a trick to let the INSERT command take more than one tuple at once? Thanks in advance, Erwin Van de Velde Student of University of Antwerp, Belgium
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера