Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Location
    Ottawa, Canada
    Posts
    58

    Unanswered: Max Column Length - configurable?

    Is it possible to setup db2 to truncate data if its larger then the column length instead of returning an error?

  2. #2
    Join Date
    Aug 2004
    Posts
    330
    You can try using a SUBSTR() function on your insert statement to limit the number of characters you are inserting for a particular column.

Posting Permissions

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