Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfqueryparam with the LIKE syntax

Status
Not open for further replies.

GUJUm0deL

Programmer
Jan 16, 2001
3,676
US
Would this work?
Code:
DELETE FROM CategoryXYZA12_1
WHERE CPath12a LIKE <cfqueryparam cfsqltype="cf_sql_integer" value="%/#url.id#/%">

I've never used the cfqueryparam with the LIKE syntax and the % sign.

Thanks.

_____________________________
Just Imagine.
 
Close:

Code:
CPath12a LIKE <cfqueryparam cfsqltype="cf_sql_varchar" value="%#url.searchtext#%">

You don't need the /'s

Hope this helps!

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top