SlideShare a Scribd company logo
1 of 9
Download to read offline
MySQL Data Types
In MySQL there are three main types :
text, number, and Date/Time types.
Data Types
Data types and ranges for Microsoft
Access, MySQL and SQL Server.
Text
Use for text or combinations of text and
numbers. 255 characters maximum.
Memo
Memo is used for larger amounts of text.
Stores up to 65,536 characters.
Note: You cannot sort a memo field.
However, they are searchable
Byte
Allows whole numbers from 0 to 255
Integer
Allows whole numbers between -32,768
and 32,767
Long
Allows whole numbers between
-2,147,483,648 and 2,147,483,647
Single
Single precision floating-point.
Will handle most decimals
Double
Double precision floating-point.
Will handle most decimals
Currency
Use for currency. Holds up to 15 digits
of whole dollars, plus 4 decimal places.
Tip: You can choose which country's
currency to use
AutoNumber
AutoNumber fields automatically give
each record its own number, usually
starting at 1
Date/Time
Use for dates and times
Yes/No
A logical field can be displayed as
Yes/No, True/False, or On/Off. In code,
use the constants True and False
(equivalent to -1 and 0). Note: Null
values are not allowed in Yes/No fields
Ole Object
Can store pictures, audio, video, or other
BLOBs (Binary Large OBjects)
Hyperlink
Contain links to other files, including
web pages
Lookup Wizard
Lets you type a list of options, which can
then be chosen from a drop-down list

More Related Content

Similar to My SQL Data types

Similar to My SQL Data types (20)

Sql data types for various d bs by naveen kumar veligeti
Sql data types for various d bs by naveen kumar veligetiSql data types for various d bs by naveen kumar veligeti
Sql data types for various d bs by naveen kumar veligeti
 
2.0 sql data types for my sql, sql server
2.0 sql data types for my sql, sql server2.0 sql data types for my sql, sql server
2.0 sql data types for my sql, sql server
 
Field Types
Field TypesField Types
Field Types
 
JAVA LESSON-01.pptx
JAVA LESSON-01.pptxJAVA LESSON-01.pptx
JAVA LESSON-01.pptx
 
2019 02 21_biological_databases_part2_v_upload
2019 02 21_biological_databases_part2_v_upload2019 02 21_biological_databases_part2_v_upload
2019 02 21_biological_databases_part2_v_upload
 
Field datatypes
Field datatypesField datatypes
Field datatypes
 
Number system
Number system Number system
Number system
 
SD & D Data Types
SD & D Data TypesSD & D Data Types
SD & D Data Types
 
MySql
MySqlMySql
MySql
 
Intro To TSQL - Unit 5
Intro To TSQL - Unit 5Intro To TSQL - Unit 5
Intro To TSQL - Unit 5
 
Intro to tsql unit 5
Intro to tsql   unit 5Intro to tsql   unit 5
Intro to tsql unit 5
 
Constants Variables Datatypes by Mrs. Sowmya Jyothi
Constants Variables Datatypes by Mrs. Sowmya JyothiConstants Variables Datatypes by Mrs. Sowmya Jyothi
Constants Variables Datatypes by Mrs. Sowmya Jyothi
 
Sql Basics And Advanced
Sql Basics And AdvancedSql Basics And Advanced
Sql Basics And Advanced
 
DBMS
DBMSDBMS
DBMS
 
2018 02 20_biological_databases_part2_v_upload
2018 02 20_biological_databases_part2_v_upload2018 02 20_biological_databases_part2_v_upload
2018 02 20_biological_databases_part2_v_upload
 
C# basics
C# basicsC# basics
C# basics
 
MSAvMySQL.pptx
MSAvMySQL.pptxMSAvMySQL.pptx
MSAvMySQL.pptx
 
2017 biological databasespart2
2017 biological databasespart22017 biological databasespart2
2017 biological databasespart2
 
2016 02 23_biological_databases_part2
2016 02 23_biological_databases_part22016 02 23_biological_databases_part2
2016 02 23_biological_databases_part2
 
02. Primitive Data Types and Variables
02. Primitive Data Types and Variables02. Primitive Data Types and Variables
02. Primitive Data Types and Variables
 

More from Juan Antonio Baez-Verdin

Taller sobre Sexualidad Semana de Psicología (NOTA: Solo para Psicologos)
Taller sobre Sexualidad Semana de Psicología (NOTA: Solo para Psicologos) Taller sobre Sexualidad Semana de Psicología (NOTA: Solo para Psicologos)
Taller sobre Sexualidad Semana de Psicología (NOTA: Solo para Psicologos) Juan Antonio Baez-Verdin
 
Sensibilizacion hacia la proactividad derechos sexuales marzo 2008
Sensibilizacion hacia la proactividad derechos sexuales marzo 2008Sensibilizacion hacia la proactividad derechos sexuales marzo 2008
Sensibilizacion hacia la proactividad derechos sexuales marzo 2008Juan Antonio Baez-Verdin
 
Comunidades virtuales para la salud sexual
Comunidades virtuales para la salud sexualComunidades virtuales para la salud sexual
Comunidades virtuales para la salud sexualJuan Antonio Baez-Verdin
 
Comunidades virtuales para la salud sexual
Comunidades virtuales para la salud sexualComunidades virtuales para la salud sexual
Comunidades virtuales para la salud sexualJuan Antonio Baez-Verdin
 
COMPETENCIAS DOCENTES PARA LA EDUCACION EN SEXUALIDAD
COMPETENCIAS DOCENTES PARA LA EDUCACION EN SEXUALIDADCOMPETENCIAS DOCENTES PARA LA EDUCACION EN SEXUALIDAD
COMPETENCIAS DOCENTES PARA LA EDUCACION EN SEXUALIDADJuan Antonio Baez-Verdin
 

More from Juan Antonio Baez-Verdin (18)

Aprendamos silabas 1/4
Aprendamos silabas 1/4Aprendamos silabas 1/4
Aprendamos silabas 1/4
 
Aprendamos las Vocales
Aprendamos las VocalesAprendamos las Vocales
Aprendamos las Vocales
 
Yodea academy presentacion
Yodea academy presentacionYodea academy presentacion
Yodea academy presentacion
 
Taller sobre Sexualidad Semana de Psicología (NOTA: Solo para Psicologos)
Taller sobre Sexualidad Semana de Psicología (NOTA: Solo para Psicologos) Taller sobre Sexualidad Semana de Psicología (NOTA: Solo para Psicologos)
Taller sobre Sexualidad Semana de Psicología (NOTA: Solo para Psicologos)
 
Jokes in English
Jokes in EnglishJokes in English
Jokes in English
 
Prepositional idioms
Prepositional idiomsPrepositional idioms
Prepositional idioms
 
Sample class uvm
Sample class uvmSample class uvm
Sample class uvm
 
NEE
NEENEE
NEE
 
Miranda w2
Miranda w2Miranda w2
Miranda w2
 
Sensibilizacion hacia la proactividad derechos sexuales marzo 2008
Sensibilizacion hacia la proactividad derechos sexuales marzo 2008Sensibilizacion hacia la proactividad derechos sexuales marzo 2008
Sensibilizacion hacia la proactividad derechos sexuales marzo 2008
 
Comunidades virtuales para la salud sexual
Comunidades virtuales para la salud sexualComunidades virtuales para la salud sexual
Comunidades virtuales para la salud sexual
 
Nursery rhyme r ppt
Nursery rhyme r pptNursery rhyme r ppt
Nursery rhyme r ppt
 
Comunidades virtuales para la salud sexual
Comunidades virtuales para la salud sexualComunidades virtuales para la salud sexual
Comunidades virtuales para la salud sexual
 
COMPETENCIAS DOCENTES PARA LA EDUCACION EN SEXUALIDAD
COMPETENCIAS DOCENTES PARA LA EDUCACION EN SEXUALIDADCOMPETENCIAS DOCENTES PARA LA EDUCACION EN SEXUALIDAD
COMPETENCIAS DOCENTES PARA LA EDUCACION EN SEXUALIDAD
 
Kopy
KopyKopy
Kopy
 
Taller grupo focal en sexualidad humana
Taller grupo focal en sexualidad humana Taller grupo focal en sexualidad humana
Taller grupo focal en sexualidad humana
 
La caceria de brujas antes y ahora
La caceria de brujas antes y ahoraLa caceria de brujas antes y ahora
La caceria de brujas antes y ahora
 
Mitos Romanos Diana y Orion
Mitos Romanos Diana y OrionMitos Romanos Diana y Orion
Mitos Romanos Diana y Orion
 

Recently uploaded

how can i exchange pi coins for others currency like Bitcoin
how can i exchange pi coins for others currency like Bitcoinhow can i exchange pi coins for others currency like Bitcoin
how can i exchange pi coins for others currency like BitcoinDOT TECH
 
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理pyhepag
 
basics of data science with application areas.pdf
basics of data science with application areas.pdfbasics of data science with application areas.pdf
basics of data science with application areas.pdfvyankatesh1
 
Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJames Polillo
 
MALL CUSTOMER SEGMENTATION USING K-MEANS CLUSTERING.pptx
MALL CUSTOMER SEGMENTATION USING K-MEANS CLUSTERING.pptxMALL CUSTOMER SEGMENTATION USING K-MEANS CLUSTERING.pptx
MALL CUSTOMER SEGMENTATION USING K-MEANS CLUSTERING.pptxNidaFaviankaNawawi
 
Machine Learning For Career Growth..pptx
Machine Learning For Career Growth..pptxMachine Learning For Career Growth..pptx
Machine Learning For Career Growth..pptxbenishzehra469
 
一比一原版西悉尼大学毕业证成绩单如何办理
一比一原版西悉尼大学毕业证成绩单如何办理一比一原版西悉尼大学毕业证成绩单如何办理
一比一原版西悉尼大学毕业证成绩单如何办理pyhepag
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIAlejandraGmez176757
 
How I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prisonHow I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prisonPayment Village
 
2024 Q2 Orange County (CA) Tableau User Group Meeting
2024 Q2 Orange County (CA) Tableau User Group Meeting2024 Q2 Orange County (CA) Tableau User Group Meeting
2024 Q2 Orange County (CA) Tableau User Group MeetingAlison Pitt
 
Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Jon Hansen
 
2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Call2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Calllward7
 
一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理pyhepag
 
一比一原版纽卡斯尔大学毕业证成绩单如何办理
一比一原版纽卡斯尔大学毕业证成绩单如何办理一比一原版纽卡斯尔大学毕业证成绩单如何办理
一比一原版纽卡斯尔大学毕业证成绩单如何办理cyebo
 
Pre-ProductionImproveddsfjgndflghtgg.pptx
Pre-ProductionImproveddsfjgndflghtgg.pptxPre-ProductionImproveddsfjgndflghtgg.pptx
Pre-ProductionImproveddsfjgndflghtgg.pptxStephen266013
 
Supply chain analytics to combat the effects of Ukraine-Russia-conflict
Supply chain analytics to combat the effects of Ukraine-Russia-conflictSupply chain analytics to combat the effects of Ukraine-Russia-conflict
Supply chain analytics to combat the effects of Ukraine-Russia-conflictJack Cole
 
Exploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptxExploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptxDilipVasan
 

Recently uploaded (20)

how can i exchange pi coins for others currency like Bitcoin
how can i exchange pi coins for others currency like Bitcoinhow can i exchange pi coins for others currency like Bitcoin
how can i exchange pi coins for others currency like Bitcoin
 
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
 
basics of data science with application areas.pdf
basics of data science with application areas.pdfbasics of data science with application areas.pdf
basics of data science with application areas.pdf
 
Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
 
MALL CUSTOMER SEGMENTATION USING K-MEANS CLUSTERING.pptx
MALL CUSTOMER SEGMENTATION USING K-MEANS CLUSTERING.pptxMALL CUSTOMER SEGMENTATION USING K-MEANS CLUSTERING.pptx
MALL CUSTOMER SEGMENTATION USING K-MEANS CLUSTERING.pptx
 
Machine Learning For Career Growth..pptx
Machine Learning For Career Growth..pptxMachine Learning For Career Growth..pptx
Machine Learning For Career Growth..pptx
 
一比一原版西悉尼大学毕业证成绩单如何办理
一比一原版西悉尼大学毕业证成绩单如何办理一比一原版西悉尼大学毕业证成绩单如何办理
一比一原版西悉尼大学毕业证成绩单如何办理
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
 
How I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prisonHow I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prison
 
2024 Q2 Orange County (CA) Tableau User Group Meeting
2024 Q2 Orange County (CA) Tableau User Group Meeting2024 Q2 Orange County (CA) Tableau User Group Meeting
2024 Q2 Orange County (CA) Tableau User Group Meeting
 
Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)
 
2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Call2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Call
 
一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理
 
一比一原版纽卡斯尔大学毕业证成绩单如何办理
一比一原版纽卡斯尔大学毕业证成绩单如何办理一比一原版纽卡斯尔大学毕业证成绩单如何办理
一比一原版纽卡斯尔大学毕业证成绩单如何办理
 
Pre-ProductionImproveddsfjgndflghtgg.pptx
Pre-ProductionImproveddsfjgndflghtgg.pptxPre-ProductionImproveddsfjgndflghtgg.pptx
Pre-ProductionImproveddsfjgndflghtgg.pptx
 
Abortion pills in Dammam Saudi Arabia// +966572737505 // buy cytotec
Abortion pills in Dammam Saudi Arabia// +966572737505 // buy cytotecAbortion pills in Dammam Saudi Arabia// +966572737505 // buy cytotec
Abortion pills in Dammam Saudi Arabia// +966572737505 // buy cytotec
 
Machine Learning for Accident Severity Prediction
Machine Learning for Accident Severity PredictionMachine Learning for Accident Severity Prediction
Machine Learning for Accident Severity Prediction
 
Slip-and-fall Injuries: Top Workers' Comp Claims
Slip-and-fall Injuries: Top Workers' Comp ClaimsSlip-and-fall Injuries: Top Workers' Comp Claims
Slip-and-fall Injuries: Top Workers' Comp Claims
 
Supply chain analytics to combat the effects of Ukraine-Russia-conflict
Supply chain analytics to combat the effects of Ukraine-Russia-conflictSupply chain analytics to combat the effects of Ukraine-Russia-conflict
Supply chain analytics to combat the effects of Ukraine-Russia-conflict
 
Exploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptxExploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptx
 

My SQL Data types

  • 1. MySQL Data Types In MySQL there are three main types : text, number, and Date/Time types. Data Types Data types and ranges for Microsoft Access, MySQL and SQL Server.
  • 2. Text Use for text or combinations of text and numbers. 255 characters maximum. Memo Memo is used for larger amounts of text. Stores up to 65,536 characters. Note: You cannot sort a memo field. However, they are searchable
  • 3. Byte Allows whole numbers from 0 to 255 Integer Allows whole numbers between -32,768 and 32,767
  • 4. Long Allows whole numbers between -2,147,483,648 and 2,147,483,647 Single Single precision floating-point. Will handle most decimals
  • 5. Double Double precision floating-point. Will handle most decimals Currency Use for currency. Holds up to 15 digits of whole dollars, plus 4 decimal places. Tip: You can choose which country's currency to use
  • 6. AutoNumber AutoNumber fields automatically give each record its own number, usually starting at 1 Date/Time Use for dates and times
  • 7. Yes/No A logical field can be displayed as Yes/No, True/False, or On/Off. In code, use the constants True and False (equivalent to -1 and 0). Note: Null values are not allowed in Yes/No fields
  • 8. Ole Object Can store pictures, audio, video, or other BLOBs (Binary Large OBjects) Hyperlink Contain links to other files, including web pages
  • 9. Lookup Wizard Lets you type a list of options, which can then be chosen from a drop-down list