Ver Mensaje Individual
  #2  
Antiguo 08-04-2017
Snayder187 Snayder187 is offline
Registrado
NULL
 
Registrado: abr 2017
Posts: 3
Reputación: 0
Snayder187 Va por buen camino
CREATE DATABASE EVENTOS
GO

USE EVENTOS
GO

TABLE CATEGORIA
- idcategoria int identity(1,1) primary key,
- nom_categoria varchar(100) not null


TABLE TIPO_ITEM
- idtipoitem int identity(1,1) primary key,
- idcategoria int,
- nom_tipoitem varchar(100) not null


TABLE ITEM
- iditem int identity(1,1) primary key,
- idtipoitem int not null,
- des_item varchar(100) not null, << descripcion
- con_item varchar(20) not null, << condicion
- sto_item int not null << stock


TABLE DETALLE_ITEM
- iddetalleitem int identity(1,1) primary key,
- idtipoitem int not null,
- med_detalleitem varchar(50) not null, << medidas
- cap_detalleitem int not null, << capacidad
- dir_detalleitem varchar(100) not null


TABLA PROVEEDOR
- idproveedor int identity(1,1) primary key,
- ruc_proveedor char(11) not null,
- razonsocial_proveedor varchar(100) not null,
- contacto varchar(100) not null,
- celular varchar(12) not null,
- direccion varchar(100) not null,
- telefono varchar(11) null,
- email varchar(80) null,
- estado varchar(1) not null


TABLE PERSONAL
- idpersonal int identity(1,1) primary key
- nom_personal varchar(80) not null,
- ape_personal varchar(100) not null,
- dni_personal varchar(8) not null,
- fna_personal date not null,
- dir_personal varchar(100) not null,
- tel_personal varchar(11) null,
- cel_personal varchar(13) not null,
- esc_personal varchar(25) not null,
- est_personal varchar(1) not null



TABLA PRECIOS

TABLA CONTRATO

TABLA ALQUILER

TABLA CLIENTES

TABLA COTIZACION

TABLA EVENTOS

TABLA REPORTES
Responder Con Cita