Jun 1, 2001 #1 gotluru Programmer Joined Oct 16, 2000 Messages 10 Location US Hi, Can I change Datatype Varchar2 to Clob by using Alter Table Command? Thanks in Advance.. Prasad
Jun 4, 2001 #2 2742 Programmer Joined Apr 23, 2001 Messages 34 Location 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 Joined May 24, 2001 Messages 31 Location US IBM documentation states you can CAST between VarChar(2) and CLOB. Upvote 0 Downvote