Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > SQL
Registrarse FAQ Miembros Calendario Guía de estilo Buscar Temas de Hoy Marcar Foros Como Leídos

 
 
Herramientas Buscar en Tema Desplegado
  #2  
Antiguo 08-04-2017
Snayder187 Snayder187 is offline
Registrado
NULL
 
Registrado: abr 2017
Posts: 3
Poder: 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
 


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Ayuda consulta sql server victoriano MS SQL Server 1 02-03-2013 02:55:35
Consulta SQL con MS SQL Server cmfab MS SQL Server 6 28-02-2012 10:33:32
Consulta en SQL Server Jose Roman SQL 4 24-06-2008 15:02:08
Crear tabla en una BD en Server A desde consulta en tabla B en server B joaquinalberto MySQL 1 18-05-2007 10:39:27
MSSQL Server - Consulta Viet SQL 4 05-12-2003 14:45:18


La franja horaria es GMT +2. Ahora son las 20:50:16.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi