Link to home
Start Free TrialLog in
Avatar of mativare
mativare

asked on

search

MSSQL 7.0 beta
I full-text- indexed my table and it is fully operational
I need a help with this SP syntax
CREATE  PROCEDURE SPsearchGeneraldescription
@str char(10)
 AS
SELECT Auto, description
FROM [general]  
WHERE CONTAINS (description,  '@str')
It returns 0 rows, no errors but similar select statement
returns plenty of rows, I tried double quotes too surrounding argument
Without quotes I got syntax error
Any help appreciated
Avatar of mativare
mativare

ASKER

Edited text of question
ASKER CERTIFIED SOLUTION
Avatar of formula
formula

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It works, but it takes away power of CONTAINS
see question Search II too