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
How to parse XML string in Oracle procedure ?
Deleting records from an Oracle database using SQL based on timestamps using SAS SQL passthrough
itext tables
Access Program Which Sends An Email
SharePoint - Limit Acees is allowing view of all customer document libraries - must correct this soon! Pt3
How to auto fill a form on blur
Simplified Chinese grabled in Lotus Notes
How can I add a user and password to AD with a power shell script?
Looking for a Steady State replacement for W7
Visua Studio console program "not a valid Win32 application"