Microsoft
Software
Hardware
Network
Question : DB2 Procedure
I am creating a stored procedure In DB2 in which i have written a select query and the result of that sql query in a variable let us say A and this variable i am using inside another select query as
select id from test where id like %A;
the above select query is throwing an error.It is saying that it is not able to recognize %.
Please suggest.
Answer : DB2 Procedure
Host variables need to be prefaced with a colon.
e.g.
1: 2:
set :A = '%' || :A; select id from test where id like :A;
Random Solutions
Windows7 my Documents folder
net share system error 5 acces denied
drive mapping not working?
Exchange 2003 does not work after reinstalling SMTP service on SBS 2003 Server
please check my .htaccess
How do I remove Network Neighborhood using group policy?
windows 2008 64 server
Exchange 2003 Logical Size vs Physical Size
Cisco VPN client for Windows, use both RSA SecurID soft token and hard token
Crystal Reports Xi - Sorting a CrossTab Report by a Summary Field