Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 14th, 2008, 06:32 AM
Newbie
 
Join Date: Aug 2008
Posts: 3
Default Max Length Of Varchar

Please anyone let me know what is the maximum length of varchar datatype in db2 tat can we use
Reply
  #2  
Old August 14th, 2008, 06:47 AM
Newbie
 
Join Date: Aug 2008
Posts: 24
Default

Hi dude,

In IBM DB2 Maximum length of a VARCHAR column 32767 bytes


Regards

Padmanaban.N

DB2 Database Associate
Reply
  #3  
Old August 15th, 2008, 06:19 AM
Newbie
 
Join Date: Jan 2007
Posts: 27
Default

Keep in mind though that you will have to create a tablespace and a bufferpool of size 32K if you want to use varchar of that size.

Also, I am not really sure whether it will accept 32767.
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles