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

  • Home
  • SEARCH
  • 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 4064610
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:52:38+00:00 2026-05-20T15:52:38+00:00

in MySQL if we create a field dataType of INT and does not specify

  • 0

in MySQL if we create a field dataType of INT and does not specify any length/values then it automatically became int(11) and if we set the attribute UNSIGNED or UNSIGNED ZEROFILL then it turns into int(10)

Where does this length(1) goes?

  • 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-20T15:52:39+00:00Added an answer on May 20, 2026 at 3:52 pm

    int value can be -2147483648 these are 11 digits so the default display size is 11

    unsigned int does not allow negative numbers so by default it need only display size 10

    As the documentation below shows, the number of bits required to store SIGNED INT and UNSIGNED INT is the same, the range of storable numbers is merely shifted:

    Unsigned type can be used to permit
    only nonnegative numbers in a column
    or when you need a larger upper
    numeric range for the column. For
    example, if an INT column is UNSIGNED,
    the size of the column’s range is the
    same but its endpoints shift from
    -2147483648 and 2147483647 up to 0 and 4294967295.

    http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a MySQL table: CREATE TABLE documents ( id INT NOT NULL AUTO_INCREMENT,
I have an MySQL table: CREATE TABLE responses ( id INT NOT NULL AUTO_INCREMENT,
I need to create a simple mySQL database with a field for an image.
first of all I'm using MySql. I have to create a advance search field
Lets say I have the following MySQL structure: CREATE TABLE `domains` ( `id` INT(10)
I have 2 tables in my mysql database: CREATE TABLE IF NOT EXISTS `RECIPES`
assume I already created a table in MySQL as below CREATE TABLE IF NOT
In MySQL I can create a table with a time field, and the value
My mySQL database create shows CREATE DATABASE `foo` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE
Is it possible to import csv data into mysql and automatically create the column

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.