Data types in Mysql / Mariadb

Numeric Data Types:

INT (Integer): Int data type represents an integer of normal size. So simply it can used to store numeric value. There are also BIGINT, MEDIUMINT, SMALLINT and TINYINT which represent different range of integer values.

DECIMAL: Decimal data type represents numbers with specific floating values. Maximum permitted value is 65 and maximum decimals are 30. There are also FLOAT and DOUBLE to store numeric values with floating point.

BOOLEAN:  This data type associates a value 0 with ―”false”, and a value 1 with true.

Date and Time Data Types: 

DATE: The DATE data type represents a date in “YYYY-MM-DD” format.

TIME: The TIME data type represents a time in “HH:MM:SS” format.

DATETIME: The DATETIME data type represents date and time in “YYYY-MM-DD HH:MM:SS” format.

TIMESTAMP: This data type represents a timestamp of the “YYYY-MM-DD HH:MM:SS” format. It mainly used to insert current date and time of record insertion / updation and deletion process.

String Data Types:

CHAR: This data type represents a fixed-length string. default value is 1.

VARCHAR: This data type represents a variable-length string of 0 to 65535.

TEXT: This data type represents a text column with a maximum length of 65,535 characters. Some more Text data types are MEDIUMTEXT, LONGTEXT and TINYTEXT.

ENUM: The ENUM data type represents a string object and allows only a single value from a given list.

SET: The SET data type represents a string object having zero or more values from a given list.

About Us

Luckily friends do ashamed to do suppose. Tried meant mr smile so. Exquisite behaviour as to middleton perfectly. Chicken no wishing waiting am. Say concerns dwelling graceful.

Services

Most Recent Posts

  • All Post
  • advanced-excel-training
  • Branding
  • deepti saini model
  • Development
  • Digital Marketing
  • digital marketing course gurgaon
  • Digital Marketing Internship Gurugram
  • digital marketing jobs
  • digital-marketing-institutes-sector-14
  • Leadership
  • Management
  • Notice
  • php-development-courses
  • php-full-stack-development-courses
  • php-job-opportunity
  • php-training
  • php-training-in-baksar
  • php-training-in-balia
  • php-training-in-bangalore
  • php-training-in-delhi
  • php-training-in-faridabad
  • php-training-in-gaziabad
  • php-training-in-gorakhpur
  • php-training-in-gurgaon
  • php-training-in-kolkata
  • php-training-in-muzaffarpur
  • php-training-in-noida
  • php-training-in-patna
  • placements
  • web development training gurgaon

Company Info

She wholly fat who window extent either formal. Removing welcomed.

Limited Seats Available – Register Now

We keep batch sizes limited so every learner gets personal attention and proper doubt solving. Reserve your seat now and start your training in the next batch without delay. For details call us +91- 8802000175

Help

Privacy Policy

Terms

Conditions

Subscribe Now

For latest news and updates, fill your details below-

You have been successfully Subscribed! Ops! Something went wrong, please try again.
© 2023 Created with Royal Elementor Addons