Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
using SQLParameter for SQL: "LIKE '%{fieldvalue}%'"
Hi,
has anyone ran into the use case where they need to use a parameter between a like or another search statement? I have tried multiple variations but can't get nay working.I have tried the below.
like '%' || {fieldvalue} || '%'
like '%' + @{fieldvalue} + '%'
like '% + @{fieldvalue} + %'
case when NS_CONCAT({binnumber}) like '%CUT2%' then 1 else 0 end
Thanks
0