Está en la página 1de 3

UNIVERSIDAD ANDINA DEL CUSCO

FACULTAD DE INGENIERIA
CARRERA PROFESIONAL DE INGENIERIA DE SISTEMAS

TIPOS DE DATOS Y SU EQUIVALENTE

CURSO:
BASE DE DATOS I

PRESENTADO POR:
NAVARRO HUAMAN, Luis Fidel

CUSCO-PERU
2014

TIPOS DE DATOS DE SQL CON EQUIVALENCIAS EN BYTES

TIPO DE DATOS
Bigint
Int
Smallint
Tinyint
Float
Real
Money
Smallmoney
Date
True
False
Decimal y Numeric:
Numeric es funcionalmente equivalente a
Decimal
Datetime

Time
Time (0)
Time (1)
Time (2)
Time (3)
Time (4)
Time (5)
Time (6)
Time (7)
Smalldatatime
Datetimeoffset
Datetimeoffset(0)
Datetimeoffset(1)
Datetimeoffset(2)
Datetimeoffset(3)
Datetimeoffset(4)
Datetimeoffset(5)
Datetimeoffset(6)
Datetimeoffset(7)

TAMAO EN BYTES
8 Bytes
4 Bytes
2 Bytes
1 Byte
Depende del valor de n
4 Bytes
8 Bytes
4 Bytes
3 Bytes
1 Bit
0 Bit
5 Bytes (Precisin 1-9 )
9 Bytes (Precisin 10-19)
13 Bytes (Precisin 20-28)
17 Bytes (Precisin 29-38)
8 Bytes (Todas las dems precisiones)
6 Bytes (Precisin menor a 3)
7 Bytes (Para precisiones 3 y 4)
5 Bytes (Para precisiones 16,7)
3 Bytes (Para precisiones 8,0)
3 Bytes (Para precisiones 10,1)
3 Bytes (Para precisiones 11,2)
4 Bytes (Para precisiones 12,3)
4 Bytes (Para precisiones 13,4)
5 Bytes (Para precisiones 14,5)
5 Bytes (Para precisiones 15,6)
5 Bytes (Para precisiones 16,7)
4 Bytes
10 Bytes (Para precisiones 34,7)
8 Bytes (Para precisiones 26,0)
8 Bytes (Para precisiones 28,1)
8 Bytes (Para precisiones 29,2)
9 Bytes (Para precisiones 30,3)
9 Bytes (Para precisiones 31,4)
10 Bytes (Para precisiones 32,5)
10 Bytes (Para precisiones 33,6)
10 Bytes (Para precisiones 34,7)

Char(n)
Varchar(n)
Ntext
Text
Image
Nchar
Nvarchar
Binary
Varbinary
Sql_variant

n Bytes
n Bytes +2 Bytes
2*( (Longitud de cadena
especificada)Bytes)
Depende Tamao (puede ser inferior a
214.748.3647 Bytes)
Datos binarios de longitud variable desde
0 hasta 2^31-(2.147.483.647) Bytes
N Bytes
2*(Longitud real de los datos
especificados)+2 Bytes
n Bytes (Oscila entre 1 y 8.000)
n Bytes (Oscila entre 1 y 8.000)
Longitud mxima de 8.016 Bytes
Longitud mxima de tipo base real es 8
Bytes

Si una tabla contiene 8 columnas o menos de tipo bit se almacenan como un Byte, si hay
entre 9 y 16 columnas de tipo bit se almacenan como 2 Bytes.

También podría gustarte

  • 01 Plan de Mantenimiento Camiones International
    01 Plan de Mantenimiento Camiones International
    Documento3 páginas
    01 Plan de Mantenimiento Camiones International
    Luis Navarro
    Aún no hay calificaciones
  • Como Disenar Un Data Center Adc
    Como Disenar Un Data Center Adc
    Documento12 páginas
    Como Disenar Un Data Center Adc
    Pasthrana Bass
    Aún no hay calificaciones
  • BASEDATOS
    BASEDATOS
    Documento2 páginas
    BASEDATOS
    Luis Navarro
    Aún no hay calificaciones
  • SOL
    SOL
    Documento1 página
    SOL
    Luis Navarro
    Aún no hay calificaciones
  • Poi 2017 PDF
    Poi 2017 PDF
    Documento83 páginas
    Poi 2017 PDF
    Luis Navarro
    Aún no hay calificaciones
  • Ejercicio1 1
    Ejercicio1 1
    Documento3 páginas
    Ejercicio1 1
    Luis Navarro
    Aún no hay calificaciones
  • Formato de Informe
    Formato de Informe
    Documento1 página
    Formato de Informe
    Luis Navarro
    Aún no hay calificaciones
  • Informe Marketing
    Informe Marketing
    Documento21 páginas
    Informe Marketing
    Luis Navarro
    Aún no hay calificaciones
  • Programacion de La Placa Arduino
    Programacion de La Placa Arduino
    Documento4 páginas
    Programacion de La Placa Arduino
    Luis Navarro
    Aún no hay calificaciones
  • 644k Catalog
    644k Catalog
    Documento24 páginas
    644k Catalog
    Luis Navarro
    Aún no hay calificaciones
  • Ejercicio 1
    Ejercicio 1
    Documento4 páginas
    Ejercicio 1
    Luis Navarro
    Aún no hay calificaciones
  • ATACSE
    ATACSE
    Documento3 páginas
    ATACSE
    Luis Navarro
    Aún no hay calificaciones
  • Gantt
    Gantt
    Documento1 página
    Gantt
    Luis Navarro
    Aún no hay calificaciones
  • Estado Del Arte V08
    Estado Del Arte V08
    Documento35 páginas
    Estado Del Arte V08
    Luis Navarro
    Aún no hay calificaciones
  • Estrategia de Marketing
    Estrategia de Marketing
    Documento21 páginas
    Estrategia de Marketing
    Luis Navarro
    Aún no hay calificaciones
  • Seguridad de Bases de Datos
    Seguridad de Bases de Datos
    Documento11 páginas
    Seguridad de Bases de Datos
    Luis Navarro
    Aún no hay calificaciones
  • Ejercicio 1
    Ejercicio 1
    Documento4 páginas
    Ejercicio 1
    Luis Navarro
    Aún no hay calificaciones
  • PFC 1
    PFC 1
    Documento37 páginas
    PFC 1
    Luis Navarro
    Aún no hay calificaciones
  • Gerencia de Conocimiento
    Gerencia de Conocimiento
    Documento2 páginas
    Gerencia de Conocimiento
    Luis Navarro
    Aún no hay calificaciones
  • Cubo
    Cubo
    Documento3 páginas
    Cubo
    Luis Navarro
    Aún no hay calificaciones
  • Ingenieria Sistemas
    Ingenieria Sistemas
    Documento2 páginas
    Ingenieria Sistemas
    Luis Navarro
    Aún no hay calificaciones
  • TC 112745
    TC 112745
    Documento3 páginas
    TC 112745
    Luis Navarro
    Aún no hay calificaciones
  • Luis Navarro Soldadura
    Luis Navarro Soldadura
    Documento8 páginas
    Luis Navarro Soldadura
    Luis Navarro
    Aún no hay calificaciones
  • 1 PB
    1 PB
    Documento36 páginas
    1 PB
    Nishme Estefany Zapata Reto
    Aún no hay calificaciones
  • Teoria Colas
    Teoria Colas
    Documento15 páginas
    Teoria Colas
    Luis Navarro
    Aún no hay calificaciones
  • Preguntas Gestion de Ad
    Preguntas Gestion de Ad
    Documento3 páginas
    Preguntas Gestion de Ad
    Luis Navarro
    Aún no hay calificaciones
  • Teoria Colas
    Teoria Colas
    Documento15 páginas
    Teoria Colas
    Luis Navarro
    Aún no hay calificaciones
  • Actores
    Actores
    Documento7 páginas
    Actores
    Luis Navarro
    Aún no hay calificaciones
  • Factibilidad
    Factibilidad
    Documento5 páginas
    Factibilidad
    Luis Navarro
    Aún no hay calificaciones