Problems running full-text

A

Antonio Maciel

Hi.

I have a stored procedure that runs a query using full-text. In my code, I
create a string variable with the full-text expression ans pass this
variable to a paramter in my procedure, in order to avoid dynamic sql in my
stored procedure. My variable is created this way:

strSearchParam = "'""" & strSearch & """'" 'Here I concatenate my search
phrase with double quotes and plics

If I cut and paste the variable contents in my query analyzer, the procedure
runs ok. If I call the procedure from VB.NET passing the variable as a
parameter the procedure returns no rows. Is my concatenation wrong?

Thanks,

Antonio Maciel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top