Does anyone know if it is possible to use cfqueryparam to bind a string to an 
MS SQL full-text search column?

Here's what I'm trying:

<cfquery name="VARIABLES.qrySomeQuery" datasource="#REQUEST.DataSource#"> 
   SELECT  *
   FROM    SomeTable
   WHERE   CONTAINS(SomeColumn_varchar, 'FORMSOF (INFLECTIONAL, " <cfqueryparam 
cfsqltype="cf_sql_varchar" value="#VARIABLES.SomeString#"> ")')
</cfquery>

I get back the error:
[Macromedia][SQLServer JDBC Driver]Invalid parameter binding(s).

The following non-inflectional form fails with the same error:
WHERE   CONTAINS(SomeColumn_varchar, '<cfqueryparam cfsqltype="cf_sql_varchar" 
value="#VARIABLES.SomeString#">')


I've tried cf_sql_char and cf_sql_longvarchar and get the same results.

Thank you!
-James

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204337
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to