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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It works, but it takes away power of CONTAINS
see question Search II too
see question Search II too
ASKER