search and replace possible on SQL?

From: "Duncan Adams (DNS)" <duncan(dot)adams(at)vcontractor(dot)co(dot)za>
To: pgsql-novice(at)postgresql(dot)org
Subject: search and replace possible on SQL?
Date: 2002-05-06 14:02:23
Message-ID: 7DD34E6DF5CD1B4283DDAB96A855DCED2F32B5@vodabemail1.vodacom.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi all

i have two areas where i get information for my project. one is obtained
from a SNMP walk across our systems and the other is captured by support
personal.

Now i want to be able to compare a list of systems that the SMNP walk has
handed over to me with the information that has been data captured by the
support personal and either update or insert.

this would be easy if i could just get the support personal to enter the
information as it appears in the DNS (they add spaces to make it easier to
read.), after many hours of head banging i have given this up. I also can't
just take out the spaces they put in to the data as there are some devices
(like hubs) that have names with spaces in them.

is there any way of doing this with sql eg.

select * from table1 where name.table1 = <regualer(name)>.table2;

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Joel Burton 2002-05-06 14:20:43 Re:
Previous Message Rob 2002-05-06 14:01:53 Triggers in the db