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
New Windows 7 workstations in existing SBS 2003 domain
Migrate Sun messaging to Exchange
multiple email domains and sender selection
Offline address book cannot be downloaded after moving mailbox to exchange 2010
Online Backup
Calender applications.....
Integrating projects
Maximum number of VRF instances on a Cisco access router
VMWare VirtualCenter Server Service (vCenter) not starting on startup
.exe file won't run in Windows 7 XP Mode