Segunda Fase Normal

13
Modelo Conseptual

Transcript of Segunda Fase Normal

Page 1: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 1/13

Modelo Conseptual

Page 2: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 2/13

Modelo Logico

Page 3: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 3/13

Primera Fase

Normal

Page 4: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 4/13

Segunda Fase Normal

Page 5: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 5/13

 Tercera Fase Normal

Page 6: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 6/13

Lenguaje de definición de datos (DDL)

Use Jehi

Create Table Cargos ( No_Cargo int not null,

 Cargo Varchar (45) not null,

);

Create Table Carta(No_Carta int not null,Saludo Varchar(40) null,Cuero Varchar(!0) null

);

Create Table "estion#$icios (

%echa_de_&n'io Varchar (5)null,%echa_de_ecibido Varchar (5)null,No_&*leado int not null,+ersona_ue_ecibe Varchar (5) null

);

Create Table Carn- (No_Carn- int not null,No*bre Varchar (.5)null,/ellido Varchar (.5)null,&dad int null,

Seo Varchar (5)null,1ireccion 'archar (.5)null,Tele$ono int not null,No_Cargo Varchar (4)not null

);

Create Table 2nstitucion(

No_2nstitucion int not null,Tio_1e_2nstitucion Varchar (5) not null

);

Create Table &*leados (No_&*leado int not null,No_Carn- intnot null,No_Cargo int not null);

Page 7: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 7/13

Create Table #$icio(No_#$icio int not null,No_Correlati'o int not null,

);

Create Table &stado_#$icio(

No_&stado int not null,&stado_1el_#$icio 'archar (0)not null

);

Create Table Correlati'o (

No_Correlati'o int not null,Ta*a3o 'archar (0)not null,

a3o 'archar (0) not null);

Create Table aneo_1e_+rioridades(No_1e_aneo int not null,Tio_de_aneo Varchar(5)not null

);

Create Table +lantillas (

No_+lantilla int not null,No*bre_1e_+lantilla Varchar(.0)null,No_Correlati'o intnot null,%or*a_de_en'io Varchar(.0)not null,1estinatario Varchar(.0) not null);

Create Table +ro$esiones(

No_+re$esion int not null,+ro$esion Varchar(5)not null,); 

Create Table e$erencias(

No_e$erencia int not null,Tio_1e_e$erencia Varchar(.0)not null,

);

Page 8: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 8/13

Diccionario de Datos

Tabla Cargos

No_Cargo Cargo

1 Gerente

2 Jefe de departamento

Tabla Carta

No_Carta Saludo Cuerpo

15 ----------------------- ----------------------------

Tabla Gestion de Oficios

Fecha de Envio Fecha de Recio No Empleado !er"ona #ue recie

12-$2-2$1% 2$-$2-2$1%   12   Jehiver"on

12-$5-2$1%& 2$-$5-2$1%   $2   'ui"

Tabla institución

No_2nstitucion Tio de institucion

"obierno. +ri'ada

Tabla Empleados

No_&*leado No_Carn- No_Cargo

5! .6

47! .

Tabla Oficio

No_#$icio No_Correlati'o

48 75.

Page 9: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 9/13

84 .57

Tabla Carné

No_Carne No*bre /ellido &dad Seo 1irecci

on

Tele$o

no

No_car

go

.6 ath Solares .5 asculino 96,:

<ona9

54787

87

Josh artine= .5 asculino 9!,:8

<ona59

574.7

47

.

Tabla Estado Oficio

No &stado &stado_1el_#$icio

87 &n'io

87 ecibido

Tabla Correlativo

No_Correlati'o Ta*a3o a3o75. #$icio .0!

.57 Carta .05

Tabla Manejo de Prioridades

No_1e_aneo Tio_de_aneo

.6 Urgente

.6 &n esera

Tabla Plantillas

No_+lantil

la

No*bre_1e_+lantil

la

No_Correlati

'o

%or*a_de_en'

io

1estinatar

io

Page 10: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 10/13

.5 asd5! 5! +a>uete +?"

Tabla Profesiones

No_+re$esion +ro$esion

54 2ngeniero

Tabla Referencias

No_e$erencia Tio_1e_e$erencia

.5! /utodidacta

Page 11: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 11/13

enguaje de manipulación de datos !DM"

2nsert into Cargos'alues (,9"erente9);2nsert into Cargos'alues (.,9Je$e de dearta*ento9);2nsert into Cargos'alues (6,9&*leado9);2nsert into Cargos'alues (4,9anteni*iento9);@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into CartaValues (6.,9ensae9,9:o>uesea9)

2nsert into CartaValues (.6,9Saludo9,9ensae9)@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into "estion#$iciosValues (9.@[email protected]!9,9.0@[email protected]!9,.,9Jehi'erson9)2nsert into "estion#$iciosValues (9.@[email protected]!9,9.0@[email protected]!9,0.,9:uis9)@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into Carn-Values(.6,9ath9,9Solares9,.5,9asculino9,96,: <ona9,5478787,)2nsert into Carn-Values(,9Josh9,9artine=9,.5,9asculino9,96,: <ona9,574.747,.)

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into 2nstitucionValues(.,9"obierno9)2nsert into 2nstitucionValues(.,9+ri'ada9)@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into &*leadosValues(5!,.6,)2nsert into &*leadosValues(47!,,.)@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@2nsert into #$icioValues(48,75.)2nsert into #$icioValues(84,.57)@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into &stado_#$icioValues(87,9&n'io9)2nsert into &stado_#$icio

Page 12: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 12/13

Values(87,9ecibido9)@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into Correlati'oValues(75.,9#$icio9,.0!)2nsert into Correlati'oValues(.57,9Carta9,.05)

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into aneo_1e_+rioridadesValues(.6,9Urgente9)2nsert into aneo_1e_+rioridadesValues(.6,9&n esera9)@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into +lantillasValues(.5,9asd5!9,95!9,9+a>uete9,9+?"9)@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into +ro$esiones

Values(54,92ngeniero9) @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2nsert into e$erenciasValues(6.!,9/utodidacta9) 

Select A $ro* CargosSelect A $ro* CartaSelect A %ro* "estion#$iciosSelect A $ro* Carn-Select A $ro* 2nstitucionSelect A $ro* &*leadosSelect A $ro* #$icioSelect A $ro* &stado_#$icioSelect A $ro* Correlati'oSelect A $ro* aneo_1e_+rioridadesSelect A $ro* +lantillasSelect A $ro* +ro$esionesSelect A $ro* e$erencias

1ro table Cargos1ro table Carta1ro table "estion#$icios

1ro table Carn-1ro table 2nstitucion1ro table &*leados1ro table #$icio1ro table &stado_#$icio1ro table Correlati'o1ro table aneo_1e_+rioridades1ro table +lantillas1ro table +ro$esiones1ro table e$erencias

Page 13: Segunda Fase Normal

7/25/2019 Segunda Fase Normal

http://slidepdf.com/reader/full/segunda-fase-normal 13/13

Creacion de la base de datos