Results 1 to 2 of 2

Thread: DB2 function to determine max. length of column contents

  1. #1
    Join Date
    Dec 2005
    Posts
    1

    Question DB2 function to determine max. length of column contents

    does anyone know the DB2 function and sql syntax to determine max. length of column contents?


  2. #2
    Join Date
    Oct 2005
    Posts
    2,557
    select max(length(your_column_name)) from your_table_name;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •