Jun 1, 2001 #1 gotluru Programmer Oct 16, 2000 10 US Hi, Can I change Datatype Varchar2 to Clob by using Alter Table Command? Thanks in Advance.. Prasad
Jun 4, 2001 #2 2742 Programmer Apr 23, 2001 34 NZ Hi there Yes you can alter the data type using alter table but i'm not sure whether DB2 can convert varchar2 to Clobs ? Hope this helps! ALTER TABLE table-name ALTER COLUMN column-name SET DATA TYPE type size. Upvote 0 Downvote
Hi there Yes you can alter the data type using alter table but i'm not sure whether DB2 can convert varchar2 to Clobs ? Hope this helps! ALTER TABLE table-name ALTER COLUMN column-name SET DATA TYPE type size.
Jun 6, 2001 #3 vtj MIS May 24, 2001 31 US IBM documentation states you can CAST between VarChar(2) and CLOB. Upvote 0 Downvote