テーブル名に次のProduct3つの列が含まれています:
Product-id
name
Price
列にはname、すべての製品名が表示されます。
例: 1340 GPS、1340T GPS など
私が書くとき
select top 10 * from product where contains(name,'1340');
結果1行1340 GPS
しかし、私が検索すると
select top 10 * from product where name like '%1340%';
結果は1340 GPS and 1340T GPSです。
実際、私の要件は使用することですcontains()が、両方の行のようなLIKE演算子を表示する必要があります。
その方法:?
助けてください
前もって感謝します