× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Cyndi,

The text below is from the SQL Programming Concepts manual.  It sounds as
though you're looking to use 'LIKE'.

I hope this is helpful.

Regards,
Andy Nolen-Parkhouse

<Quote>
LIKE says you are interested in rows in which a column value is similar
to the value you supply. When you use LIKE, SQL searches for a character
string similar to the one you specify. The degree of similarity is
determined by two special characters used in the string that you include
in the search condition:

_ An underline character stands for any single character.

% A percent sign stands for an unknown string of 0 or more characters. If
the percent sign starts the search string, then SQL allows 0 or more
character(s) to precede the matching value in the column. Otherwise, the
search string must begin in the first position of the column.
</Quote>

> -----Original Message-----
> From: midrange-l-admin@midrange.com [mailto:midrange-l-
> admin@midrange.com] On Behalf Of Cyndi Bradberry
> Sent: Thursday, January 02, 2003 12:08 PM
> To: 'MIDRANGE-L@midrange. Com' (E-mail)
> Subject: SQL Question
>
> A co-worker has just asked what to use as a variable replacement
> character
> in a select statement.  I can't find anything in any manual. Is there
> such a
> thing ?
>
> For example in dos you could type DEL *.* and it would delete
> everything.
> What do you use in SQL to imitate the * in the previous dos statement ?
>
> Thanks,
>
> Cyndi B.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.