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
Unable to install any framework .NET in XP Mode (Virtual PC)
Safari beach ball when I open it
can any n-router support g and n standards simultaneously?
CSS issue with hidden menu drop downs
Styling a Dropdownlist using CSS
How do I see what traffic is traversing my Cisco 2811 router?
Anyone knows what this fruit is called in english and if I can buy it in the USA somewhere even online
a class def and all the functions inside a dll ???
Compare two excel files
What can be done with huge files that cannot be defragmented?