Re: The like clause of sql
- From: "Ken Snell [MVP]" <kthsneisllis9@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Apr 2005 11:29:53 -0400
SELECT Tablename.*
FROM Tablename
WHERE Tablename.FieldName Like "*" & "YourText" & "*";
--
Ken Snell
<MS ACCESS MVP>
"sefs" <sefsinc@xxxxxxxxx> wrote in message
news:ujl0%23T4OFHA.1392@xxxxxxxxxxxxxxxxxxxxxxx
>I have a table that consist of rows of one field.
>
> like this
>
> 1) firstitem
> 2) thisitem
> 3) thatitem
>
> I want to compare the values in the table against another value, and if
> the
> any value in the table is included as part of the other value of that
> other
> value i am comparing it against its selected.
>
> For example
>
> If i compare firstitme against lalalalfirstitemlalala
> then the first row is added to the selected list and so on.
>
> What is the statemnt I should use with the LIKE clause
>
> Best regards.
>
>
.
- Follow-Ups:
- Re: The like clause of sql
- From: sefs
- Re: The like clause of sql
- References:
- The like clause of sql
- From: sefs
- The like clause of sql
- Prev by Date: Re: Combine text from same text field
- Next by Date: Re: Type Conversion Failure in Update Query
- Previous by thread: The like clause of sql
- Next by thread: Re: The like clause of sql
- Index(es):
Relevant Pages
|
Loading