SQL Data Types
SQL Data Types
SQL
1. SQL COMMANDS
COMMANDS LIST
LIST
2. II NEED
2. NEED MONEY
MONEY TODAY
TODAY
SQL Where
MEDIUMBLOB For BLOBs (Binary Large
SQL Order By Objects). Holds up to
SQL And 16,777,215 bytes of data
SQL Or
LONGTEXT Holds a string with a
SQL Not
maximum length of
SQL Insert Into
4,294,967,295 characters
SQL Null Values
SQL Update LONGBLOB For BLOBs (Binary Large
SQL Delete Objects). Holds up to
SQL Select Top 4,294,967,295 bytes of
data
SQL Aggregate Functions
SQL Min and Max
SQL Count ENUM(val1, val2, A string object that can
val3, ...) have only one value,
SQL Sum
chosen from a list of
SQL Avg
possible values. You can list
SQL Like
up to 65535 values in an
SQL Wildcards ENUM list. If a value is
SQL In inserted that is not in the
SQL Between list, a blank value will be
SQL Between list, a blank value will be
SQL Aliases inserted. The values are
SQL Joins sorted in the order you
enter them
SQL Inner Join
SQL Left Join SET(val1, val2, A string object that can
SQL Right Join val3, ...) have 0 or more values,
SQL Full Join chosen from a list of
SQL Self Join possible values. You can list
up to 64 values in a SET list
SQL Union
SQL Group By
SQL Having
Numeric Data Types
SQL Exists
SQL Any, All
SQL Select Into Data type Description
SQL Insert Into Select
BIT(size) A bit-value type. The
SQL Case
number of bits per value is
SQL Null Functions specified in size. The size
SQL Stored Procedures parameter can hold a value
SQL Comments from 1 to 64. The default
value for size is 1.
SQL Operators
TINYINT(size) A very small integer.
SQL Database Signed range is from -128
SQL Create DB to 127. Unsigned range is
from 0 to 255. The size
SQL Drop DB
parameter specifies the
SQL Backup DB
maximum display width
SQL Create Table
(which is 255)
SQL Drop Table
SQL Alter Table BOOL Zero is considered as false,
SQL Constraints nonzero values are
considered as true.
SQL Not Null
SQL Unique BOOLEAN Equal to BOOL
SQL Primary Key
SQL Foreign Key SMALLINT(size) A small integer. Signed
range is from -32768 to
SQL Check
32767. Unsigned range is
SQL Default
from 0 to 65535. The size
SQL Index parameter specifies the
SQL Auto Increment maximum display width
SQL Dates (which is 255)
SQL Views
SQL Views
MEDIUMINT(size) A medium integer. Signed
SQL Injection
range is from -8388608 to
SQL Hosting
8388607. Unsigned range
SQL Data Types is from 0 to 16777215. The
size parameter specifies the
SQL References maximum display width
SQL Keywords (which is 255)
MySQL Functions INT(size) A medium integer. Signed
SQL Server Functions range is from -2147483648
MS Access Functions to 2147483647. Unsigned
SQL Quick Ref range is from 0 to
4294967295. The size
SQL Examples parameter specifies the
maximum display width
SQL Examples
(which is 255)
SQL Editor
SQL Quiz INTEGER(size) Equal to INT(size)
SQL Exercises
BIGINT(size) A large integer. Signed
SQL Server
range is from
SQL Bootcamp -9223372036854775808 to
SQL Certificate 9223372036854775807.
Unsigned range is from 0 to
18446744073709551615.
The size parameter
specifies the maximum
display width (which is
255)
DOUBLE
PRECISION(size,
d)
Types of Data in a
3.
Database
string of cha
string of cha
between -2,147,483,648
and 2,147,483,647
0001 to December
31, 9999
starting at 1
‹ Previous Next ›
W3schools
Pathfinder
Track
your
Sign Up Log in
progress
- it's
free!
PLUS SPACES
GET CERTIFIED
CONTACT US
Top Tutorials
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
How To Tutorial
SQL Tutorial
Python Tutorial
W3.CSS Tutorial
Bootstrap Tutorial
PHP Tutorial
Java Tutorial
C++ Tutorial
jQuery Tutorial
Top References
HTML Reference
CSS Reference
JavaScript Reference
SQL Reference
Python Reference
W3.CSS Reference
Bootstrap Reference
PHP Reference
HTML Colors
Java Reference
Angular Reference
jQuery Reference
Top Examples
HTML Examples
CSS Examples
JavaScript Examples
How To Examples
SQL Examples
Python Examples
W3.CSS Examples
Bootstrap Examples
PHP Examples
Java Examples
XML Examples