Hi,
I want to convert this query into like query.
SET @sqltext ='Select '+@field+' from '+@table+' where '+@wherefield+'='''+@whereval+''' And IsActive=1'
how can I do this?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Khargesh RajputRank #616 · 3.9K reputationPosted Feb 9, 2015, 12:51 AM EST