I am trying to escape the special characters while executing the
following sql, but couldn't figure out a way.
db2_all "db2 connect to mydb; db2 select * from table
(SNAPSHOT_CONTA INER ( '' , -1 ) ) as snp where TABLESPACE_NAME =
'MYTSP'; db2 terminate".
How would I get this successully executed?
Thanks.
following sql, but couldn't figure out a way.
db2_all "db2 connect to mydb; db2 select * from table
(SNAPSHOT_CONTA INER ( '' , -1 ) ) as snp where TABLESPACE_NAME =
'MYTSP'; db2 terminate".
How would I get this successully executed?
Thanks.
Comment