Hi,
I'm trying to retrieve a record from DB2 without using DBI package like this.
but it fails everytime with the error. this only happens when using a ' in the condition (such as 'steve' in this example). Using a number works fine.
Any ideas on how to resolve this is appreciated.
I'm trying to retrieve a record from DB2 without using DBI package like this.
Code:
system("db2 select \* from customer where cname=\'steve\' ");
Any ideas on how to resolve this is appreciated.
Comment