dbTalk Databases Forums  

Can I use "LIKE" in a query?

comp.databases.btrieve comp.databases.btrieve


Discuss Can I use "LIKE" in a query? in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Robin
 
Posts: n/a

Default Can I use "LIKE" in a query? - 07-27-2004 , 12:36 PM






Hi,

I don't find mention of "LIKE" in the the SQL documentation that comes
with Pervasive, but from some of the postings here it looks like maybe
you can use it -- I have 2000i SP3. What's the definitive answer, and
if you can use it in a query, what do you use for a multiple-character
wildcard?

Thanks.

Reply With Quote
  #2  
Old   
Bill Bach
 
Posts: n/a

Default Re: Can I use "LIKE" in a query? - 07-28-2004 , 06:12 PM






Yes. Use % for multi-char, _ for single-char.
e.g. Select * From Person Where LastName LIKE 'B%'

Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Pervasive.SQL Service & Support Classes ***
Chicago: August, 2004: See our web site for details!


Robin wrote:

Quote:
Hi,

I don't find mention of "LIKE" in the the SQL documentation that comes
with Pervasive, but from some of the postings here it looks like maybe
you can use it -- I have 2000i SP3. What's the definitive answer, and
if you can use it in a query, what do you use for a multiple-character
wildcard?

Thanks.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.