---
title: "Here is The Permissible Length of DB2-Object-Names"
description: "The maximum limits that can be used in DB2 database a quick reference."
url: https://srinimf.com/2014/09/01/maximum-limits-on-db2/
date: 2014-09-01
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2014/09/pexels-photo-1843837.jpeg?fit=1880%2C1253&ssl=1
categories: ["DB2"]
tags: ["SQL tips and tricks"]
type: post
lang: en
---

# Here is The Permissible Length of DB2-Object-Names

In this post, you will see the maximum size of different DB2 objects.

Related[SQL Query: How to Check Index Space](https://srinimf.com/2023/01/21/sql-query-how-to-check-index-space/)

Related[DB2 Check Vs. Default Constraint Top Differences](https://srinimf.com/2021/10/30/db2-check-vs-default-constraint-top-differences/)

| ** Item** | ** Limit** |
| --- | --- |
| ** Longest alias, synonym, collection ID, correlation  name, statement name, or name of a column, cursor,  index, table, view, or table check constraint** | ** 18 bytes** |
| ** Longest authorization name, package name, or name of  a plan, database, table space, storage group, or  referential constraint** | ** 8 bytes** |
| ** Longest host identifier** | ** 64 bytes** |
| ** Longest server name or location identifier** | ** 16 bytes** |

Related Posts

- [How to Understand Triggers in DB2 SQL Context](https://srinimf.com/2015/09/17/4-types-of-triggers-in-db2/)DateSeptember 17, 2015
- [DB2 – DDL (Data Definition Language)](https://srinimf.com/2013/01/19/db2_ddl/)DateJanuary 19, 2013
- [20 Neat DB2 Interview Questions and Answers](https://srinimf.com/2023/08/14/20-exclusive-db2-interview-questions-to-read-now/)DateAugust 14, 2023

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2014%2F09%2F01%2Fmaximum-limits-on-db2%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2014%2F09%2Fpexels-photo-1843837.jpeg%3Ffit%3D1200%252C800%26ssl%3D1&description=Here%20is%20The%20Permissible%20Length%20of%20DB2-Object-Names)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2014/09/01/maximum-limits-on-db2/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2014/09/01/maximum-limits-on-db2/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2014/09/01/maximum-limits-on-db2/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2014/09/01/maximum-limits-on-db2/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20Here%20is%20The%20Permissible%20Length%20of%20DB2-Object-Names&body=https%3A%2F%2Fsrinimf.com%2F2014%2F09%2F01%2Fmaximum-limits-on-db2%2F&share=email)
-

### Like this:

Like Loading…
