Re: Find and Replace All - Mailing list pgsql-novice

From chelsea boot
Subject Re: Find and Replace All
Date
Msg-id 20060317132512.37446.qmail@web86807.mail.ukl.yahoo.com
Whole thread Raw
In response to Re: Find and Replace All  (<operationsengineer1@yahoo.com>)
Responses Re: Find and Replace All  (Sean Davis <sdavis2@mail.nih.gov>)
List pgsql-novice
Thanks - I've used PGAdmin to update the tables before but as there is a few of them I wanted to save time.  I was looking at the UPDATE command but didn't know how to (1) select only part of a field to update eg. update d:\upkeep\jones to r:\upkeep\jones and (2) search all columns and all tables.  Am I looking at the right command?
 
My postgres crash problem is on Win2K.  Any ideas?

operationsengineer1@yahoo.com wrote:
> Hi
>
> Is there a way to update multiple tables with the
> same information? A kind of MS "find and replace
> all" utility. I want to change the drive letter of
> a filepath that is listed in one or more columns of
> several tables.
>
> Thanks

i'm no expert, but i'll bite. yes, you could do that
if you set up a program to run the SQL on all the
tables.

it would probably be easier to just run the SQL on the
individual tables, though. i'd use pgadminIII.

do you need help with the SQL?

ps - is your pgsql crash problem on winxp?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Alter View foo?
Next
From: Sean Davis
Date:
Subject: Re: Find and Replace All