|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
hi,
thanks in advance for your help. i am trying to create a query to look for some products starting with certain names. the product list is created dynamically. SELECT... FROM... WHERE ProductName IN LIKE ('%Auto%', '%Medical%', ...) this doesn't work but how can i use in and like in the same query? ![]() |
|
#2
|
|||
|
|||
|
There is no abbreviation for like. You need to state each like predicate explicitly.
|
|
#3
|
|||
|
|||
|
Quote:
thanks a lot! |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > using Like and In |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|