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
Setting Up Raid On Windows 2003 Server With Faulty Hard Drive
How can I parse the following string, store it in a variable and then use those variables to populate some txt fields?
Access: 'Control can't be edited - bound to unknown field'
sbs 2008 backup configuration
Setting msExchMailboxSecurityDescr
iptor with VB.NET
run excel and run the enable auto refresh
String manipulation - SLB FP Equity --> SLBP.PA
Virtual Data Recovery Error
Sharepoint Survey: Clicked 'No' to 'Show user names while creating the survey! Is there a way to turn the feature back on to see the names again?
Export Access 2010 Report to CSV with Headers?