Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Where.....command contains unrecognised pharse/keyword

Hi

trying to load a table with this where clause but instead i get the above script error

WHERE clicod = 'BX','BI','BW','BS','BF','BL','BT','BA','BE','BP','BM','BK','BD';

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

the syntax is:

where clicod = 'BX' Or clicod = 'BI' OR  ....

if you are writeing a query in sql you can write

where clicod in ('BX','BI','BW','BS','BF','BL','BT','BA','BE','BP','BM','BK','BD')

Hope it helps

View solution in original post

5 Replies
alexandros17
Partner - Champion III
Partner - Champion III

the syntax is:

where clicod = 'BX' Or clicod = 'BI' OR  ....

if you are writeing a query in sql you can write

where clicod in ('BX','BI','BW','BS','BF','BL','BT','BA','BE','BP','BM','BK','BD')

Hope it helps

Not applicable
Author

Hi,

Try

WHERE clicod IN( 'BX','BI','BW','BS','BF','BL','BT','BA','BE','BP','BM','BK','BD');

Rebeca

kumarnatarajan
Partner - Specialist
Partner - Specialist

hi,
try this
Ex:
where WildMatch(clicod,'BX','BI','BW','BS','BF','BL','BT','BA','BE','BP','BM','BK','BD');
narender123
Specialist
Specialist

Hi,

Try this,

WHERE clicod = 'BX' or 'clicod='BI' or clicod='BW' or clicod='BS' or clicod='BF' or clicod='BL' or clicod='BT' or clicod='BA' or clicod='BE' or clicod='BP' or clicod='BM' or clicod='BK' or clicod='BD';

Thanks

Narender

Anonymous
Not applicable
Author

That was very helpful, Thanks alot guys