diccionarioBD
-
Upload
melissa-espinosa -
Category
Documents
-
view
1 -
download
0
description
Transcript of diccionarioBD
El presente documento es un vocabulario de la base de datos correspondiente al software [empresa]. A continuación se muestra los campos a utilizar la cual podrá dar de alta, modificar y consulta clientes, proveedores y productos.
Para el desarrollo de la base de datos se utilizo SQL server 2008.tomando en cuenta los requerimientos de la empresa
Campo Tipo Dato Tamaño Null Tipo Clave
Descripcion Referencia
ID_Cliente Smalint 10 Not null Numero dado por la empresa para el cliente
PK
Nombre String 20 Not nullApellido_Paterno String 12 Not nullApellido_Materno String 12 Not nullE-mail String 25 Not nullDireccion String 25 Not nullRFC String 10 Not nullTelefono Int 10 Not nullID_Proveedores String 5 Not null Asignado
por la empresa
PK
Nombre String 20 Not nullDireccion String 25 Not nullTelefono Int 10 Not nullCuenta Int 10 Not null FKBanco Int 10 Not nullRFC String 10 Not nullAlmacen String 2 Not nullE-mail String 25 Not nullID_Facturas Int 6 Not null PKID_Clientes Int 10 Not null ID_Clientes
tabla de clientes
FK
ID_Producto Int 6 Not null Tabla de productos
FK
RFC String 10 Not null tabla de clientes
FK
Direccion String 25 Not null tabla de clientes
FK
FechaAlta Datetime 6 Not nullFechaBaja Datetime 6 Not nullFechaCambio Datetime 6 Not null
ID_Producto Int 6 Not null PKNombre String 10 Not nullPrecioUnitario Decimal 15 Not null
Precio Decimal 15 Not null
Total Decimal 15 Not nullTotalIva Decimal 15 Not nullIVA Decimal 15 Not nullCantidad Int 15 Not null