| От | Jennifer Lee |
|---|---|
| Тема | using copy to insert data. |
| Дата | |
| Msg-id | 75D535F36@law.scri.sari.ac.uk обсуждение |
| Ответы |
Re: using copy to insert data.
Re: using copy to insert data. |
| Список | pgsql-novice |
I'm trying to insert data from a delimited file using the copy command (COPY table FROM 'filepath') this works fine, but I would like to insert data into specific columns. I've read that this is possible but haven't been able to find documentation on how to do it. I've been able to insert the data as I'd like in two steps. 1. copy into a temporary table, 2. insert using select columns from the temporary table. Is there a way to do this in one step? Thanks much, Jennifer
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера