I am having a table name Product
contains 3 columns as:
Product-id
name
Price
In name
column, all product names a
select * from product where FREETEXT (product.,'"1340"')
Here is straight way to do this . you can use "*" before in contain syntax same as like operator . but you need to use double quote before and after the search string . check following query :
SELECT *
FROM product
WHERE CONTAINS(name,'"*1340*"');
it will definitely work .