![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#2
|
|||
|
|||
|
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 |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
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 |
|