Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Like value from other table

Like value from other table

From: Tony B <anthonybrough_at_googlemail.com>
Date: Fri, 21 Sep 2007 14:57:52 -0700
Message-ID: <1190411872.458999.180180@50g2000hsm.googlegroups.com>


Hi All

I am new to oracle and am using 10G

In Access I often used the "Like" statement to query Table 1 with a value from table 2 like this:

SELECT tblcompany.IDcompany, tblcompany.Company, tblcompany.Pcode, tblseller.IDSeller, tblseller.SellerNAme FROM tblcompany, tblseller
WHERE (((tblcompany.Pcode) Like [tblseller]![Pcode_1] & " *"));

What is the correct syntax for doing this in Oracle.

TIA Tony Received on Fri Sep 21 2007 - 16:57:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US