SQL Question
From: Lisa M. Lewis <lmg_at_isdsa.pgh.wec.com>
Date: 1997/09/15
Message-ID: <341D75DA.31866FC0_at_isdsa.pgh.wec.com>#1/1
Date: 1997/09/15
Message-ID: <341D75DA.31866FC0_at_isdsa.pgh.wec.com>#1/1
I am trying to do something like:
insert into temptable
select v.userid
from visits v, location l, comparetable ct
where v.location = l.location
and SUBSTR(l.location,0,LENGTH( ct.location ) ) = ct.location;
Can anyone tell me if there is a more efficient way of doing this either in SQL or PL/SQL?
Thanks for your time!
Lisa
P.S. Please respond by e-mail. Received on Mon Sep 15 1997 - 00:00:00 CEST