In DB2, is there a datatype that allows the string to grow and shrink dynamically like the Varchar(Max) datatype in SQL Server database?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, according to this and this, DB2 doesn’t have a large capacity text type.
You can use the
VARCHAR(n)data type for text. Please keep in mind thatnis the maximum length of bytes and not the character length. The maximum length is 32704 in byte. This is important if you are using a UTF-8 encoded database.