Hi,
I am on DB2 Version 9.7. I create a table with below definition:
db2 "create table tvar2(name varchar(10))"
and then I try to insert into the above table using below command:
db2 "insert into tvar2 values(encrypt('a'))"
which throws below error:
SQL0433N Value " ~" is too long. SQLSTATE=22001
Why is it not allowing me to insert data into encrypted form?
I am on DB2 Version 9.7. I create a table with below definition:
db2 "create table tvar2(name varchar(10))"
and then I try to insert into the above table using below command:
db2 "insert into tvar2 values(encrypt('a'))"
which throws below error:
SQL0433N Value " ~" is too long. SQLSTATE=22001
Why is it not allowing me to insert data into encrypted form?