Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6211683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:22:51+00:00 2026-05-24T06:22:51+00:00

Im new to Database programming and I have a very basic question: In my

  • 0

Im new to Database programming and I have a very basic question:

In my PHPMyAdmin GUI that Im using to create tables in my database, what does it mean when the column “type” (ie. datatype) has the data type and something in brackets after that.
For example:
int(20), bigint(30) …..

I understand the type int and bigint imply the number of bytes that are used and consequently the range of values that can be stored. But what does the value in the brackets mean?

What does the (20) and the (30) stand for…. what impact does this have on….

Sorry if the Q is basic, I am trying to understand databases….

Thanks a lot

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T06:22:52+00:00Added an answer on May 24, 2026 at 6:22 am

    Basically this is a Display Width.

    I’ve found very good explanation of this concept here is so decided to not describe it myself and let you read it yourself from the original source.

    In the same way that a max-length can be specified for string data types (e.g. VARCHAR(5) = Maximum 5 Characters), Numeric data type cells can have a “Display Length” specified ( E.g.: INT(5) ).

    There is a common misconception that specifying a Display Length on an INT column will limit that column’s range. As example, it is quite often thought that defining a column as INT(1) will reduce the column’s unsigned range to 0 – 9, and that INT(2) would reduce the column’s unsigned range to 0 – 99. This is not the case. An INT data column will ALWAYS have a viable unsigned range of 0 – 4294967295, or a signed range of -2147483648 to 2147483647, irrespective of the specified Display Width, whether it be 1 ( INT(1) ) or 20 ( INT(20) ).

    1. Display width doesn’t change storage requirements for a data type.
    2. Display width doesn’t alter the actual data in any way (ie: it stores the entire value for the data)
    3. A column returns it’s full value when called in a query, regardless of the display width (the book directly contradicts this claim it makes as seen above)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm fairly new to database programming in WinForms, and have been using BindingSource, DataSet,
I know this is a very basic question. I am new to web programming.Im
I'm new to database indexing, if I have 2 columns in a table that
I'm fairly new to Visual Studio (specifically Visual Basic .NET) but have been programming
I am new to Ajax programming and I have been told that there are
I am new to database programming and am using sqlite and python. As an
i have a question because i am fairly new to python, socket programming and
a bit new to programming and had a general question that I just thought
I'm very new to database programming and I've got a small database (SQL CE
I have been looking at the new database server we are setting up for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.