Importing/Exporting
От | Nathan Hill |
---|---|
Тема | Importing/Exporting |
Дата | |
Msg-id | 20020731213907.34861.qmail@web21004.mail.yahoo.com обсуждение исходный текст |
Ответы |
Re: Importing/Exporting
|
Список | pgsql-general |
I am new to doing DBA activities. I am trying to write a bash script that will copy the value of a specific field within a table in a postgres database on one server and import the value of that field into a table in a mysql database on a separate server. I am not real familiar with sql statements yet so I was hoping that someone could give me some advice. My initial thoughts would be to copy the output of the select statement to a file, copy the value that I need from the file to a variable, then import that variable into the appropriate field in the mysql database. Where I am getting hung up is trying to export the value of a specific field to a file. Is there an easier way of doing this? Thanks, Nathan Hill __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com
В списке pgsql-general по дате отправления: