Link to home
Start Free TrialLog in
Avatar of Webbo_1980
Webbo_1980

asked on

Format command on SQL

Is there a way to simulate the string.format command in SQL

e.g.

string.format("([{0}] LIKE '%{1}%')",param1,param2)

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Lee
Lee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of js-profi
js-profi

additionally you can concatenate strings by + operator.