Subject | Re: [firebird-support] VFP6s5 ODBC & FireBird15 - Partial Match in WHERE clause |
---|---|
Author | Martijn Tonies |
Post date | 2004-02-18T13:23:39Z |
Hi,
it would have returned rows ;-)
You can use the following:
MLOOKUPS.CTYPEID STARTING WITH 'NONC'
or you can use
MLOOKUPS.CTYPEID LIKE 'NONC%'
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> I am trying to setup a remote view in VFP as follows:Well, obviously, the value in CTYPEID <> 'NONC", else
>
> SELECT * ;
> FROM MLOOKUPS ;
> WHERE MLOOKUPS.CTYPEID = 'NONC' ;
> ORDER BY MLOOKUPS.CLOOKUP
>
> The 'NONC' is actually a partial string. Though no errors are generated I
> do not get any records from the database.
>
> Please advise, how can I WHERE partially matching records.
it would have returned rows ;-)
You can use the following:
MLOOKUPS.CTYPEID STARTING WITH 'NONC'
or you can use
MLOOKUPS.CTYPEID LIKE 'NONC%'
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com