Microsoft
Software
Hardware
Network
Question : Passed parameter used in select statement where column like the passed parameter
How do I use passed parameter in
‘where column like my_parameter?
I have a loop where I’m passing parameters and need to update a table where column LIKE my_parameter. So the first my_parameter is say '9876' and I need to update the table where my_column like '9876%'.
Update my_table set my_column1 = 3 where my_column like my_parameter;
Answer : Passed parameter used in select statement where column like the passed parameter
this will do:
1:
Update my_table set my_column1 = 3 where my_column like my_parameter ||'%';
Random Solutions
Radio button Dependency using JSF and Apache Trinidad
Why is my border not wrapping around all of my content in firefox??
WRVS4000 Router in front of Cisco ASA
JQuery based image (actually an element of code) rotator
Need a SUM
Black marks over the text of some PDF docs in adobe reader (like hightlights).
Excel VBA Bloomberg function
Cleaning tapes in Commvault
Regex to remove width property from HTML TAble tag where width is over 500
EIGRP Traffic limited to 50% by default?