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
OPENOFFICE TRIES TO IMPORT DOMAIN LOGIN SCRIPT
Blank screen After WIn XP splash screen.
OCZ Agility SSD Won't Boot on Toshiba M400
aol 9.5 software
How to declare the document I'm working in
Creating FLV thumbnail
URGENT - My EXTERNAL File looks OK but ...
URGENT: copy files from one node to another node using pyxmlrpcClient
date input as string
How to sync a shared calendar Exchange 2003 Outloook 2007 and Iphones