|
|
Choosing A Webhost: |
Importing/Exporting: msg#01844db.postgresql.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 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Questions about my strategy, Rob Brown-Bayliss |
|---|---|
| Next by Date: | Re: Importing/Exporting, Oliver Elphick |
| Previous by Thread: | Case Tool, João Paulo Batistella |
| Next by Thread: | Re: Importing/Exporting, Oliver Elphick |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |