SlideShare uma empresa Scribd logo
1 de 20
CODIGO PARA GENERAR LA BASE DE DATOS<br />ESTE CODIGO QUE SE MUESTRA PODEMOS VER QUE SE EMPIESA CREANDO LA BASE DE DATOS EMPLEADOS DESPUES SE CREAN LAS TABLAS EMPLEADOS, DEPARTAMENTO, NOMINA Y ACCESO DONDE TAMBIEN SE LE INSERTAN REGISTROS A LAS TABLAS POR MEDIO DE CODIGO<br />create database empleados<br />use empleados<br />create table empleado (id_emp int not null, ap_pat varchar (15), ap_mat varchar (15), nombre varchar (25) not null, direccion varchar (35)not null, telefono int) <br />create table departamento (nom_dpto varchar (15) not null, ubicacion varchar (10) not null, total_emp int not null)<br />create table nomina (id_emp int not null, nom_dpto varchar (15) not null, sueldo money not null, bono money, total money not null)<br />create table acceso (id_emp int not null, hr_llegada datetime not null, hr_salida datetime not null)<br />insert into empleado (id_emp,ap_pat,ap_mat,nombre,direccion,telefono) values (1535,'Perez','Flores','Pedro','C. Fco Villa 231 Col. Centro',2345434)<br />insert into empleado (id_emp,ap_pat,ap_mat,nombre,direccion,telefono) values (3547,'Chavez','Hernandez','Juan','C. Zaragoza 5473 Col. Esperanza',7123245)<br />insert into departamento (nom_dpto,ubicacion,total_emp)values('sistemas','area 1 A',8)<br />insert into departamento (nom_dpto,ubicacion,total_emp)values('ensamblado','area 3 B',130)<br />insert into nomina (id_emp,nom_dpto,sueldo,bono,total) values (1535,'sistemas',12000,2000,14000)<br />insert into nomina (id_emp,nom_dpto,sueldo,bono,total) values (3547,'ensamblado',7000,500,7500)<br />insert into acceso (id_emp, hr_llegada,hr_salida)values(1535,'08:00 am','16:00 pm')<br />insert into acceso (id_emp, hr_llegada,hr_salida)values(3547,'10:00 am','18:00 pm')<br />PANTALLAS:<br />DESPUES DE AVER CREADO LA BASE DE DATOS Y LAS TABLAS EN SQL POR MEDIO DE CODIGO NOS VAMOS A UNA APLICACIÓN LLAMADA VISUAL STUDIO DONDE HAY VAMOS A IR CREANDO EL CUBO PASO POR PASO.<br />EN ESTE PRIMER PASO DESPUES DE ABRIR EL VISUAL STUDIO LE VAMOS A DAR UN CLIC EN ARCHIVO-NUEVO-PROYECTO.. <br />DESPUES DE QUE DIMOS CLIC EN EL NUEVO PROYECTO NOS VA A SALIR UNA VENTANA DE DIALOGO DONDE VAMOS A SELECCIONAR  DONDE DICE PLANTILLAS LA PARTE QUE DICE PROYECTO DE ANALYSIS SERVICES, EN LA PARTE DE ABAJO SE LE PONE EL NOMBRE COMO QUERAMOS QUE SE LLAME NUESTRO NUEVO PROYECTO Y SE LE  DA CLIC EN EL BOTON DE ACEPTAR<br />DESPUES DE QUE LE DIMOS ACEPTAR  NOS APARECERA UNA BARRA CON VARIAS CARPETAS AL LADO DERECHO  DE LA PANTALLA DONDE VAMOS A PONER EL CURSOR SOBRE LA CARPETA QUE DICE  VISTAS DE ORIGEN DE DATOS Y LE DAMOS CLIC DERECHO EN SIMA DE ELLA Y NOS DESPLEGARA UNA OPCION DONDE NO APARECERA UNA PESTAÑA QUE DICE NUEVA VISTA DE ORIGEN DE DATOS… Y LE  DAMOS UN CLIC EN ELLA<br />DESPUES DE AVER DADO UN CLIC EN LA PESTAÑA DE NUEVA VISTA DE ORIGEN DE DATOS… NOS MANDARA UN CUADRO DE DIALOGO QUE  SE LLAMA ASISTENTE PARA VISTAS DE ORIGEN DE DATOS QUE ESTE NOS AYUDARA HACER A REALIZAR LA CONEXIÓN Y LAS RELACIONES PARA LAS DIMENCIONES DEL CUBO SE LE DA EN EL BOTON SIGUIENTE <br />NOS MANDA A LA SIGUENTE PANTALLADON DE AQUÍ SE SELECCIONA UN ORIGEN DE DATOS PERO COMO NO HAY UN ORIGEN DE DATOS LE DAMOS CLIC EN EL BOTON QUE DICE NUEVO ORIGEN DE DATOS… <br />NOS MANDA OTRAVES A LA PANTALLA PRINCIPAL DEL ASISTENTE DE ORIGEN DE DATOS Y LE DAMOS OTRAVES EN EL BOTON SIGUIENTE<br />YA ESTANDO EN ESTA PANTALLA SELECCIONAMOS LA PARTE QUE NOS DICE : CREAR UN ORIGEN DE DATOS BASADO EN UNA CONEXIÓN NUEVA O EXISTENTE DESPUES DE AVER SELECCIONADO ESA PARTE LE DAMOS EN EL BOTON QUE DICE NUEVA…<br />DESPUES DE AVER DADO UN CLIC EN EL BOTON DE NUEVA NOS MANDA A ESTA PANTALLA DONDE AQUÍ VAMOS A PONER EL NOMBRE DEL SERVIDOR ESE DEPENDE DE LA MAQUINA EN LA QUE ESTEMOS,  SELECCIONAMOS LA CONEXIÓN UTILIZAR AUTENTIFICACION DE WINDOWS Y  DAMOS UN CLIC EN LA PARTE QUE DICE SELECCIONAR O ESCRIBIR NOMBRE DE LA BASE DE DATOS DESPUES DE QUE SE ACTIVO ESE CAMPO ESCRIBIMOS EL NOMBRE DE LA BASE DE DATOS YA EXISTENTE Y LE DAMOS CLIC EN EL BOTON ACEPTAR.<br />DESPUES DE QUE SE HIZO LOS PASOS DE  LA PANTALLA ANTERIOR NOS MANDO A ESTA PANTALLADONDE YA NOS APARECE EN EL RECUADRO BLANCO EL NOMBRE DEL SERVIDOR SEGUIDO DE EL NOMBRE DE LA BASE DE DATOS LE DAMOS EN EL BOTON SIGUIENTE<br />EN ESTA PANTALLA VAMOS A SELECCIONAR EL CAMPO UTILIZAR LAS CREDENCIALES DEL USUARIO ACTUAL LE DAMOS EN SIGUIENTE<br />Y AHORA EN EL BOTON FINALIZAR Y CONTINUAMOS CON EL ASISTENTE<br />AQUÍ NOS APARECE LA  CONTINUACION DEL ASISTENTE DONDE YA PODEMOS VER QUE ESTA LIGADA L A BASE DE DATOS QUE CERAMOS AL PRINCIPIO LE DAMOS EN EL BOTON SIGUIENTE<br />AQUI EN ESTA PANTALLA DEJAMOS TODO SELECCIONADO ASI COMO APARECE Y SOLO DAMOS CLIC EN EL BOTON SIGUIENTE<br />EN ESTA PANTALLA SE SELECCIONAN LAS TABLAS QUE APARECEN EN EL RECUADRO DE LA PARTE IZQUIERDA<br />Y LAS ARRASTRAMOS AL RECUADRO DE LA PARTE DERECHA Y LE DAMOS EN SIGUIENTE<br />AQUÍ NOS MUESTRA LA BASE DE DATOS Y LAS TABLAS QUE SELECCIONAMOS ANTERIOR MENTE Y DAMOS EN L E BOTON DE FINALIZAR EL ASISTENTE<br />YA FINALIZADO EL ASISTENTE NOS MUESTRA ESTA PANTALLA CON EL RESULTADO FINAL DEL ASISTENTE<br />AQUÍ SE LIGAN LAS TABLAS SEGÚN LOS CAMPOS QUE TENGAN RELACION Y DESPUES SE PROCEDE A LA REALIZACION DEL CUBO<br />DESPUES DE AVER DADO CLIC EN LA CARPETA DE CUBO-NUEVO CUBO… NOS APARECE EL ASISTENTE CON EL QUE VAMOS A FORMAR EL CUBO LE DAMOS SIGUIENTE EN TODAS LAS PANTALLAS COMO SE MUESTAR A CONTINIACION<br />DESPUES DE AVER FINALIZADO EL ASISTENTE VEMOS EL RESULTADO COMO YA NOS QUEDO EL CUBO CON NUESTRA BASE DE DATOS <br />CODIGO DEL CUBO<br />AQUÍ VEMOS EL CODIGO DEL CUBO QUE NOS GENERO DESPUES DE HABER HECHO TODOS LOS PASO ANTERIORES DE LOS ASISTENTES<br /><Cube xmlns:xsd=quot;
http://www.w3.org/2001/XMLSchemaquot;
 xmlns:xsi=quot;
http://www.w3.org/2001/XMLSchema-instancequot;
 xmlns:dwd=quot;
http://schemas.microsoft.com/DataWarehouse/Designer/1.0quot;
 dwd:design-time-name=quot;
2671790d-869b-4569-9a4d-ec53676f3e25quot;
 xmlns=quot;
http://schemas.microsoft.com/analysisservices/2003/enginequot;
><br />  <ID>Empleados</ID><br />  <Name>Empleados</Name><br />  <CreatedTimestamp>0001-01-01T00:00:00Z</CreatedTimestamp><br />  <LastSchemaUpdate>0001-01-01T00:00:00Z</LastSchemaUpdate><br />  <Annotations><br />    <Annotation><br />      <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramLayout</Name><br />    </Annotation><br />    <Annotation><br />      <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:ShowFriendlyNames</Name><br />      <Value>true</Value><br />    </Annotation><br />    <Annotation><br />      <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:ShowRelationshipNames</Name><br />      <Value>false</Value><br />    </Annotation><br />    <Annotation><br />      <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:UseDiagramDefaultLayout</Name><br />      <Value>true</Value><br />    </Annotation><br />    <Annotation><br />      <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramViewPortLeft</Name><br />      <Value>0</Value><br />    </Annotation><br />    <Annotation><br />      <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramViewPortTop</Name><br />      <Value>0</Value><br />    </Annotation><br />    <Annotation><br />      <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramBoundingLeft</Name><br />      <Value>0</Value><br />    </Annotation><br />    <Annotation><br />      <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramBoundingTop</Name><br />      <Value>0</Value><br />    </Annotation><br />    <Annotation><br />      <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramZoom</Name><br />      <Value>100</Value><br />    </Annotation><br />  </Annotations><br />  <LastProcessed>0001-01-01T00:00:00Z</LastProcessed><br />  <State>Unprocessed</State><br />  <Dimensions><br />    <Dimension dwd:design-time-name=quot;
4e5db891-5e35-4590-910d-9ed95846f01dquot;
><br />      <ID>Nomina</ID><br />      <Name>Nomina</Name><br />      <DimensionID>Nomina</DimensionID><br />      <Attributes><br />        <Attribute dwd:design-time-name=quot;
2590b145-f18d-457e-804d-af09fcc707b9quot;
><br />          <AttributeID>Nomina</AttributeID><br />        </Attribute><br />        <Attribute dwd:design-time-name=quot;
4d9342d9-bc1e-4101-b79a-80da99e38be2quot;
><br />          <AttributeID>Id Emp</AttributeID><br />        </Attribute><br />      </Attributes><br />    </Dimension><br />    <Dimension dwd:design-time-name=quot;
a9815534-e1e9-49b5-985d-6dfe126cdf42quot;
><br />      <ID>Empleado</ID><br />      <Name>Empleado</Name><br />      <DimensionID>Empleado</DimensionID><br />      <Attributes><br />        <Attribute dwd:design-time-name=quot;
89b8aa73-4eb0-4ac0-bfd4-894165d09053quot;
><br />          <AttributeID>Empleado</AttributeID><br />        </Attribute><br />        <Attribute dwd:design-time-name=quot;
efa1756d-c71f-4039-9b75-5717521acd11quot;
><br />          <AttributeID>Ap Pat</AttributeID><br />        </Attribute><br />        <Attribute dwd:design-time-name=quot;
d5778be9-16fd-45a9-a733-8d23ececb596quot;
><br />          <AttributeID>Ap Mat</AttributeID><br />        </Attribute><br />        <Attribute dwd:design-time-name=quot;
5ffe7d7c-2e8a-4638-9414-1e3c20b5190fquot;
><br />          <AttributeID>Nombre</AttributeID><br />        </Attribute><br />        <Attribute dwd:design-time-name=quot;
15713c73-ae09-483d-969d-aa47f83e43b4quot;
><br />          <AttributeID>Direccion</AttributeID><br />        </Attribute><br />        <Attribute dwd:design-time-name=quot;
ea4c32b4-c7aa-42af-bbf9-4448767db2ddquot;
><br />          <AttributeID>Telefono</AttributeID><br />        </Attribute><br />        <Attribute dwd:design-time-name=quot;
dda581bf-aa16-44d0-8f5d-f2322951aadfquot;
><br />          <AttributeID>Hr Llegada</AttributeID><br />        </Attribute><br />        <Attribute dwd:design-time-name=quot;
bd80fca2-5567-4eae-bd58-f93f50b4738dquot;
><br />          <AttributeID>Hr Salida</AttributeID><br />        </Attribute><br />      </Attributes><br />    </Dimension><br />  </Dimensions><br />  <MeasureGroups><br />    <MeasureGroup dwd:design-time-name=quot;
38aad38a-0924-4ea7-ae9f-50e5e4805c8fquot;
><br />      <ID>Departamento</ID><br />      <Name>Departamento</Name><br />      <CreatedTimestamp>0001-01-01T00:00:00Z</CreatedTimestamp><br />      <LastSchemaUpdate>0001-01-01T00:00:00Z</LastSchemaUpdate><br />      <LastProcessed>0001-01-01T00:00:00Z</LastProcessed><br />      <State>Unprocessed</State><br />      <Measures><br />        <Measure dwd:design-time-name=quot;
2cfb4b60-f4b8-4a86-88a1-a242b62ff79fquot;
><br />          <ID>Total Emp</ID><br />          <Name>Total Emp</Name><br />          <Source dwd:design-time-name=quot;
b0447f0f-9f87-4624-b11a-910e693414c1quot;
><br />            <DataType>Integer</DataType><br />            <Source xsi:type=quot;
ColumnBindingquot;
 dwd:design-time-name=quot;
9118010b-eb95-4390-aa60-122edf28c56equot;
><br />              <TableID>dbo_departamento</TableID><br />              <ColumnID>total_emp</ColumnID><br />            </Source><br />          </Source><br />        </Measure><br />        <Measure dwd:design-time-name=quot;
ba0a81d1-074f-4ac5-9018-967e6f6ee511quot;
><br />          <ID>Recuento Departamento</ID><br />          <Name>Recuento Departamento</Name><br />          <AggregateFunction>Count</AggregateFunction><br />          <Source dwd:design-time-name=quot;
d44eeebe-14a7-480c-8486-ccf3385c144bquot;
><br />            <DataType>Integer</DataType><br />            <DataSize>4</DataSize><br />            <Source xsi:type=quot;
RowBindingquot;
 dwd:design-time-name=quot;
9c092136-1e08-4190-9d04-e18cea69b34fquot;
><br />              <TableID>dbo_departamento</TableID><br />            </Source><br />          </Source><br />        </Measure><br />      </Measures><br />      <StorageMode>Molap</StorageMode><br />      <ProcessingMode>Regular</ProcessingMode><br />      <Dimensions><br />        <Dimension xsi:type=quot;
RegularMeasureGroupDimensionquot;
 dwd:design-time-name=quot;
cbc5311e-a527-41d3-92c1-0bc09465b46aquot;
><br />          <CubeDimensionID>Nomina</CubeDimensionID><br />          <Attributes><br />            <Attribute dwd:design-time-name=quot;
b7523044-2aef-4084-9901-7cbe2725689aquot;
><br />              <AttributeID>Nomina</AttributeID><br />              <KeyColumns><br />                <KeyColumn dwd:design-time-name=quot;
9e1a7c7e-2a81-4051-8956-4c52c5290463quot;
><br />                  <DataType>WChar</DataType><br />                  <DataSize>15</DataSize><br />                  <Source xsi:type=quot;
ColumnBindingquot;
 dwd:design-time-name=quot;
c6e6feac-d996-4fa5-ba4f-8053d670a9baquot;
><br />                    <TableID>dbo_departamento</TableID><br />                    <ColumnID>nom_dpto</ColumnID><br />                  </Source><br />                </KeyColumn><br />              </KeyColumns><br />              <Type>Granularity</Type><br />            </Attribute><br />          </Attributes><br />        </Dimension><br />        <Dimension xsi:type=quot;
ReferenceMeasureGroupDimensionquot;
 dwd:design-time-name=quot;
4e47914d-822d-410f-81ef-3c678c0348f2quot;
><br />          <CubeDimensionID>Empleado</CubeDimensionID><br />          <Attributes><br />            <Attribute dwd:design-time-name=quot;
0be9eca1-b165-4f12-9468-640e9c545523quot;
><br />              <AttributeID>Empleado</AttributeID><br />              <Type>Granularity</Type><br />            </Attribute><br />          </Attributes><br />          <IntermediateCubeDimensionID>Nomina</IntermediateCubeDimensionID><br />          <IntermediateGranularityAttributeID>Id Emp</IntermediateGranularityAttributeID><br />          <Materialization>Regular</Materialization><br />        </Dimension><br />      </Dimensions><br />      <Partitions /><br />    </MeasureGroup><br />    <MeasureGroup dwd:design-time-name=quot;
baf432d2-5508-41ed-a77d-d01f69adcbe0quot;
><br />      <ID>Nomina</ID><br />      <Name>Nomina</Name><br />      <CreatedTimestamp>0001-01-01T00:00:00Z</CreatedTimestamp><br />      <LastSchemaUpdate>0001-01-01T00:00:00Z</LastSchemaUpdate><br />      <LastProcessed>0001-01-01T00:00:00Z</LastProcessed><br />      <State>Unprocessed</State><br />      <Measures><br />        <Measure dwd:design-time-name=quot;
b35e0160-79bd-46d4-8afa-900334717a93quot;
><br />          <ID>Sueldo</ID><br />          <Name>Sueldo</Name><br />          <Source dwd:design-time-name=quot;
958fbc4c-8764-4764-ae8b-487fb1b0de32quot;
><br />            <DataType>Double</DataType><br />            <Source xsi:type=quot;
ColumnBindingquot;
 dwd:design-time-name=quot;
aa2141b4-c3ae-46ef-9eb8-2ff6dbdab37cquot;
><br />              <TableID>dbo_nomina</TableID><br />              <ColumnID>sueldo</ColumnID><br />            </Source><br />          </Source><br />        </Measure><br />        <Measure dwd:design-time-name=quot;
f3ab4cee-d1f1-4239-98e5-1dc9c3b2c6a7quot;
><br />          <ID>Bono</ID><br />          <Name>Bono</Name><br />          <Source dwd:design-time-name=quot;
9729f8af-c96e-4741-a205-eb6dfda6c8b3quot;
><br />            <DataType>Double</DataType><br />            <Source xsi:type=quot;
ColumnBindingquot;
 dwd:design-time-name=quot;
82e97a48-a3f3-4d15-8a95-c0472ce738c8quot;
><br />              <TableID>dbo_nomina</TableID><br />              <ColumnID>bono</ColumnID><br />            </Source><br />          </Source><br />        </Measure><br />        <Measure dwd:design-time-name=quot;
a93c9c50-95d6-41af-b96f-9e459004ab57quot;
><br />          <ID>Total</ID><br />          <Name>Total</Name><br />          <Source dwd:design-time-name=quot;
d857da80-394b-4d44-ac49-90e951108bb1quot;
><br />            <DataType>Double</DataType><br />            <Source xsi:type=quot;
ColumnBindingquot;
 dwd:design-time-name=quot;
81c76403-4da9-4fcc-a0d6-001ce4bd48fcquot;
><br />              <TableID>dbo_nomina</TableID><br />              <ColumnID>total</ColumnID><br />            </Source><br />          </Source><br />        </Measure><br />        <Measure dwd:design-time-name=quot;
0b0672b3-7c80-465b-b896-dcce0b098329quot;
><br />          <ID>Recuento Nomina</ID><br />          <Name>Recuento Nomina</Name><br />          <AggregateFunction>Count</AggregateFunction><br />          <Source dwd:design-time-name=quot;
d6d4cb1a-850e-4194-a0a8-f65ac6522e20quot;
><br />            <DataType>Integer</DataType><br />            <DataSize>4</DataSize><br />            <Source xsi:type=quot;
RowBindingquot;
 dwd:design-time-name=quot;
7b1afdbb-dd74-4a54-899e-92f3a50ee623quot;
><br />              <TableID>dbo_nomina</TableID><br />            </Source><br />          </Source><br />        </Measure><br />      </Measures><br />      <StorageMode>Molap</StorageMode><br />      <ProcessingMode>Regular</ProcessingMode><br />      <Dimensions><br />        <Dimension xsi:type=quot;
DegenerateMeasureGroupDimensionquot;
 dwd:design-time-name=quot;
748425d1-37fd-46b3-8751-30c33e81685fquot;
><br />          <CubeDimensionID>Nomina</CubeDimensionID><br />          <Attributes><br />            <Attribute dwd:design-time-name=quot;
69c54691-13bc-4311-9780-58347a245ea3quot;
><br />              <AttributeID>Nomina</AttributeID><br />              <KeyColumns><br />                <KeyColumn dwd:design-time-name=quot;
a62d1640-37e4-4d74-94bf-193bbd443e72quot;
><br />                  <DataType>WChar</DataType><br />                  <DataSize>15</DataSize><br />                  <Source xsi:type=quot;
ColumnBindingquot;
 dwd:design-time-name=quot;
32297afd-95d1-4413-982a-6db44af13a5fquot;
><br />                    <TableID>dbo_nomina</TableID><br />                    <ColumnID>nom_dpto</ColumnID><br />                  </Source><br />                </KeyColumn><br />              </KeyColumns><br />              <Type>Granularity</Type><br />            </Attribute><br />          </Attributes><br />        </Dimension><br />        <Dimension xsi:type=quot;
ReferenceMeasureGroupDimensionquot;
 dwd:design-time-name=quot;
94b2fd7b-8a12-4f56-98d3-9367ad901f90quot;
><br />          <CubeDimensionID>Empleado</CubeDimensionID><br />          <Attributes><br />            <Attribute dwd:design-time-name=quot;
7a0bfc73-c3fa-4bec-8547-546ce117e069quot;
><br />              <AttributeID>Empleado</AttributeID><br />              <Type>Granularity</Type><br />            </Attribute><br />          </Attributes><br />          <IntermediateCubeDimensionID>Nomina</IntermediateCubeDimensionID><br />          <IntermediateGranularityAttributeID>Id Emp</IntermediateGranularityAttributeID><br />          <Materialization>Regular</Materialization><br />        </Dimension><br />      </Dimensions><br />      <Partitions /><br />    </MeasureGroup><br />  </MeasureGroups><br />  <Source dwd:design-time-name=quot;
d887d14b-2535-4f1a-9e13-1d3f640c26a0quot;
><br />    <DataSourceViewID>Empleados</DataSourceViewID><br />  </Source><br /></Cube><br />
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql
Cubo sql

Mais conteúdo relacionado

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Cubo sql

  • 1. CODIGO PARA GENERAR LA BASE DE DATOS<br />ESTE CODIGO QUE SE MUESTRA PODEMOS VER QUE SE EMPIESA CREANDO LA BASE DE DATOS EMPLEADOS DESPUES SE CREAN LAS TABLAS EMPLEADOS, DEPARTAMENTO, NOMINA Y ACCESO DONDE TAMBIEN SE LE INSERTAN REGISTROS A LAS TABLAS POR MEDIO DE CODIGO<br />create database empleados<br />use empleados<br />create table empleado (id_emp int not null, ap_pat varchar (15), ap_mat varchar (15), nombre varchar (25) not null, direccion varchar (35)not null, telefono int) <br />create table departamento (nom_dpto varchar (15) not null, ubicacion varchar (10) not null, total_emp int not null)<br />create table nomina (id_emp int not null, nom_dpto varchar (15) not null, sueldo money not null, bono money, total money not null)<br />create table acceso (id_emp int not null, hr_llegada datetime not null, hr_salida datetime not null)<br />insert into empleado (id_emp,ap_pat,ap_mat,nombre,direccion,telefono) values (1535,'Perez','Flores','Pedro','C. Fco Villa 231 Col. Centro',2345434)<br />insert into empleado (id_emp,ap_pat,ap_mat,nombre,direccion,telefono) values (3547,'Chavez','Hernandez','Juan','C. Zaragoza 5473 Col. Esperanza',7123245)<br />insert into departamento (nom_dpto,ubicacion,total_emp)values('sistemas','area 1 A',8)<br />insert into departamento (nom_dpto,ubicacion,total_emp)values('ensamblado','area 3 B',130)<br />insert into nomina (id_emp,nom_dpto,sueldo,bono,total) values (1535,'sistemas',12000,2000,14000)<br />insert into nomina (id_emp,nom_dpto,sueldo,bono,total) values (3547,'ensamblado',7000,500,7500)<br />insert into acceso (id_emp, hr_llegada,hr_salida)values(1535,'08:00 am','16:00 pm')<br />insert into acceso (id_emp, hr_llegada,hr_salida)values(3547,'10:00 am','18:00 pm')<br />PANTALLAS:<br />DESPUES DE AVER CREADO LA BASE DE DATOS Y LAS TABLAS EN SQL POR MEDIO DE CODIGO NOS VAMOS A UNA APLICACIÓN LLAMADA VISUAL STUDIO DONDE HAY VAMOS A IR CREANDO EL CUBO PASO POR PASO.<br />EN ESTE PRIMER PASO DESPUES DE ABRIR EL VISUAL STUDIO LE VAMOS A DAR UN CLIC EN ARCHIVO-NUEVO-PROYECTO.. <br />DESPUES DE QUE DIMOS CLIC EN EL NUEVO PROYECTO NOS VA A SALIR UNA VENTANA DE DIALOGO DONDE VAMOS A SELECCIONAR DONDE DICE PLANTILLAS LA PARTE QUE DICE PROYECTO DE ANALYSIS SERVICES, EN LA PARTE DE ABAJO SE LE PONE EL NOMBRE COMO QUERAMOS QUE SE LLAME NUESTRO NUEVO PROYECTO Y SE LE DA CLIC EN EL BOTON DE ACEPTAR<br />DESPUES DE QUE LE DIMOS ACEPTAR NOS APARECERA UNA BARRA CON VARIAS CARPETAS AL LADO DERECHO DE LA PANTALLA DONDE VAMOS A PONER EL CURSOR SOBRE LA CARPETA QUE DICE VISTAS DE ORIGEN DE DATOS Y LE DAMOS CLIC DERECHO EN SIMA DE ELLA Y NOS DESPLEGARA UNA OPCION DONDE NO APARECERA UNA PESTAÑA QUE DICE NUEVA VISTA DE ORIGEN DE DATOS… Y LE DAMOS UN CLIC EN ELLA<br />DESPUES DE AVER DADO UN CLIC EN LA PESTAÑA DE NUEVA VISTA DE ORIGEN DE DATOS… NOS MANDARA UN CUADRO DE DIALOGO QUE SE LLAMA ASISTENTE PARA VISTAS DE ORIGEN DE DATOS QUE ESTE NOS AYUDARA HACER A REALIZAR LA CONEXIÓN Y LAS RELACIONES PARA LAS DIMENCIONES DEL CUBO SE LE DA EN EL BOTON SIGUIENTE <br />NOS MANDA A LA SIGUENTE PANTALLADON DE AQUÍ SE SELECCIONA UN ORIGEN DE DATOS PERO COMO NO HAY UN ORIGEN DE DATOS LE DAMOS CLIC EN EL BOTON QUE DICE NUEVO ORIGEN DE DATOS… <br />NOS MANDA OTRAVES A LA PANTALLA PRINCIPAL DEL ASISTENTE DE ORIGEN DE DATOS Y LE DAMOS OTRAVES EN EL BOTON SIGUIENTE<br />YA ESTANDO EN ESTA PANTALLA SELECCIONAMOS LA PARTE QUE NOS DICE : CREAR UN ORIGEN DE DATOS BASADO EN UNA CONEXIÓN NUEVA O EXISTENTE DESPUES DE AVER SELECCIONADO ESA PARTE LE DAMOS EN EL BOTON QUE DICE NUEVA…<br />DESPUES DE AVER DADO UN CLIC EN EL BOTON DE NUEVA NOS MANDA A ESTA PANTALLA DONDE AQUÍ VAMOS A PONER EL NOMBRE DEL SERVIDOR ESE DEPENDE DE LA MAQUINA EN LA QUE ESTEMOS, SELECCIONAMOS LA CONEXIÓN UTILIZAR AUTENTIFICACION DE WINDOWS Y DAMOS UN CLIC EN LA PARTE QUE DICE SELECCIONAR O ESCRIBIR NOMBRE DE LA BASE DE DATOS DESPUES DE QUE SE ACTIVO ESE CAMPO ESCRIBIMOS EL NOMBRE DE LA BASE DE DATOS YA EXISTENTE Y LE DAMOS CLIC EN EL BOTON ACEPTAR.<br />DESPUES DE QUE SE HIZO LOS PASOS DE LA PANTALLA ANTERIOR NOS MANDO A ESTA PANTALLADONDE YA NOS APARECE EN EL RECUADRO BLANCO EL NOMBRE DEL SERVIDOR SEGUIDO DE EL NOMBRE DE LA BASE DE DATOS LE DAMOS EN EL BOTON SIGUIENTE<br />EN ESTA PANTALLA VAMOS A SELECCIONAR EL CAMPO UTILIZAR LAS CREDENCIALES DEL USUARIO ACTUAL LE DAMOS EN SIGUIENTE<br />Y AHORA EN EL BOTON FINALIZAR Y CONTINUAMOS CON EL ASISTENTE<br />AQUÍ NOS APARECE LA CONTINUACION DEL ASISTENTE DONDE YA PODEMOS VER QUE ESTA LIGADA L A BASE DE DATOS QUE CERAMOS AL PRINCIPIO LE DAMOS EN EL BOTON SIGUIENTE<br />AQUI EN ESTA PANTALLA DEJAMOS TODO SELECCIONADO ASI COMO APARECE Y SOLO DAMOS CLIC EN EL BOTON SIGUIENTE<br />EN ESTA PANTALLA SE SELECCIONAN LAS TABLAS QUE APARECEN EN EL RECUADRO DE LA PARTE IZQUIERDA<br />Y LAS ARRASTRAMOS AL RECUADRO DE LA PARTE DERECHA Y LE DAMOS EN SIGUIENTE<br />AQUÍ NOS MUESTRA LA BASE DE DATOS Y LAS TABLAS QUE SELECCIONAMOS ANTERIOR MENTE Y DAMOS EN L E BOTON DE FINALIZAR EL ASISTENTE<br />YA FINALIZADO EL ASISTENTE NOS MUESTRA ESTA PANTALLA CON EL RESULTADO FINAL DEL ASISTENTE<br />AQUÍ SE LIGAN LAS TABLAS SEGÚN LOS CAMPOS QUE TENGAN RELACION Y DESPUES SE PROCEDE A LA REALIZACION DEL CUBO<br />DESPUES DE AVER DADO CLIC EN LA CARPETA DE CUBO-NUEVO CUBO… NOS APARECE EL ASISTENTE CON EL QUE VAMOS A FORMAR EL CUBO LE DAMOS SIGUIENTE EN TODAS LAS PANTALLAS COMO SE MUESTAR A CONTINIACION<br />DESPUES DE AVER FINALIZADO EL ASISTENTE VEMOS EL RESULTADO COMO YA NOS QUEDO EL CUBO CON NUESTRA BASE DE DATOS <br />CODIGO DEL CUBO<br />AQUÍ VEMOS EL CODIGO DEL CUBO QUE NOS GENERO DESPUES DE HABER HECHO TODOS LOS PASO ANTERIORES DE LOS ASISTENTES<br /><Cube xmlns:xsd=quot; http://www.w3.org/2001/XMLSchemaquot; xmlns:xsi=quot; http://www.w3.org/2001/XMLSchema-instancequot; xmlns:dwd=quot; http://schemas.microsoft.com/DataWarehouse/Designer/1.0quot; dwd:design-time-name=quot; 2671790d-869b-4569-9a4d-ec53676f3e25quot; xmlns=quot; http://schemas.microsoft.com/analysisservices/2003/enginequot; ><br /> <ID>Empleados</ID><br /> <Name>Empleados</Name><br /> <CreatedTimestamp>0001-01-01T00:00:00Z</CreatedTimestamp><br /> <LastSchemaUpdate>0001-01-01T00:00:00Z</LastSchemaUpdate><br /> <Annotations><br /> <Annotation><br /> <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramLayout</Name><br /> </Annotation><br /> <Annotation><br /> <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:ShowFriendlyNames</Name><br /> <Value>true</Value><br /> </Annotation><br /> <Annotation><br /> <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:ShowRelationshipNames</Name><br /> <Value>false</Value><br /> </Annotation><br /> <Annotation><br /> <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:UseDiagramDefaultLayout</Name><br /> <Value>true</Value><br /> </Annotation><br /> <Annotation><br /> <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramViewPortLeft</Name><br /> <Value>0</Value><br /> </Annotation><br /> <Annotation><br /> <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramViewPortTop</Name><br /> <Value>0</Value><br /> </Annotation><br /> <Annotation><br /> <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramBoundingLeft</Name><br /> <Value>0</Value><br /> </Annotation><br /> <Annotation><br /> <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramBoundingTop</Name><br /> <Value>0</Value><br /> </Annotation><br /> <Annotation><br /> <Name>http://schemas.microsoft.com/DataWarehouse/Designer/1.0:DiagramZoom</Name><br /> <Value>100</Value><br /> </Annotation><br /> </Annotations><br /> <LastProcessed>0001-01-01T00:00:00Z</LastProcessed><br /> <State>Unprocessed</State><br /> <Dimensions><br /> <Dimension dwd:design-time-name=quot; 4e5db891-5e35-4590-910d-9ed95846f01dquot; ><br /> <ID>Nomina</ID><br /> <Name>Nomina</Name><br /> <DimensionID>Nomina</DimensionID><br /> <Attributes><br /> <Attribute dwd:design-time-name=quot; 2590b145-f18d-457e-804d-af09fcc707b9quot; ><br /> <AttributeID>Nomina</AttributeID><br /> </Attribute><br /> <Attribute dwd:design-time-name=quot; 4d9342d9-bc1e-4101-b79a-80da99e38be2quot; ><br /> <AttributeID>Id Emp</AttributeID><br /> </Attribute><br /> </Attributes><br /> </Dimension><br /> <Dimension dwd:design-time-name=quot; a9815534-e1e9-49b5-985d-6dfe126cdf42quot; ><br /> <ID>Empleado</ID><br /> <Name>Empleado</Name><br /> <DimensionID>Empleado</DimensionID><br /> <Attributes><br /> <Attribute dwd:design-time-name=quot; 89b8aa73-4eb0-4ac0-bfd4-894165d09053quot; ><br /> <AttributeID>Empleado</AttributeID><br /> </Attribute><br /> <Attribute dwd:design-time-name=quot; efa1756d-c71f-4039-9b75-5717521acd11quot; ><br /> <AttributeID>Ap Pat</AttributeID><br /> </Attribute><br /> <Attribute dwd:design-time-name=quot; d5778be9-16fd-45a9-a733-8d23ececb596quot; ><br /> <AttributeID>Ap Mat</AttributeID><br /> </Attribute><br /> <Attribute dwd:design-time-name=quot; 5ffe7d7c-2e8a-4638-9414-1e3c20b5190fquot; ><br /> <AttributeID>Nombre</AttributeID><br /> </Attribute><br /> <Attribute dwd:design-time-name=quot; 15713c73-ae09-483d-969d-aa47f83e43b4quot; ><br /> <AttributeID>Direccion</AttributeID><br /> </Attribute><br /> <Attribute dwd:design-time-name=quot; ea4c32b4-c7aa-42af-bbf9-4448767db2ddquot; ><br /> <AttributeID>Telefono</AttributeID><br /> </Attribute><br /> <Attribute dwd:design-time-name=quot; dda581bf-aa16-44d0-8f5d-f2322951aadfquot; ><br /> <AttributeID>Hr Llegada</AttributeID><br /> </Attribute><br /> <Attribute dwd:design-time-name=quot; bd80fca2-5567-4eae-bd58-f93f50b4738dquot; ><br /> <AttributeID>Hr Salida</AttributeID><br /> </Attribute><br /> </Attributes><br /> </Dimension><br /> </Dimensions><br /> <MeasureGroups><br /> <MeasureGroup dwd:design-time-name=quot; 38aad38a-0924-4ea7-ae9f-50e5e4805c8fquot; ><br /> <ID>Departamento</ID><br /> <Name>Departamento</Name><br /> <CreatedTimestamp>0001-01-01T00:00:00Z</CreatedTimestamp><br /> <LastSchemaUpdate>0001-01-01T00:00:00Z</LastSchemaUpdate><br /> <LastProcessed>0001-01-01T00:00:00Z</LastProcessed><br /> <State>Unprocessed</State><br /> <Measures><br /> <Measure dwd:design-time-name=quot; 2cfb4b60-f4b8-4a86-88a1-a242b62ff79fquot; ><br /> <ID>Total Emp</ID><br /> <Name>Total Emp</Name><br /> <Source dwd:design-time-name=quot; b0447f0f-9f87-4624-b11a-910e693414c1quot; ><br /> <DataType>Integer</DataType><br /> <Source xsi:type=quot; ColumnBindingquot; dwd:design-time-name=quot; 9118010b-eb95-4390-aa60-122edf28c56equot; ><br /> <TableID>dbo_departamento</TableID><br /> <ColumnID>total_emp</ColumnID><br /> </Source><br /> </Source><br /> </Measure><br /> <Measure dwd:design-time-name=quot; ba0a81d1-074f-4ac5-9018-967e6f6ee511quot; ><br /> <ID>Recuento Departamento</ID><br /> <Name>Recuento Departamento</Name><br /> <AggregateFunction>Count</AggregateFunction><br /> <Source dwd:design-time-name=quot; d44eeebe-14a7-480c-8486-ccf3385c144bquot; ><br /> <DataType>Integer</DataType><br /> <DataSize>4</DataSize><br /> <Source xsi:type=quot; RowBindingquot; dwd:design-time-name=quot; 9c092136-1e08-4190-9d04-e18cea69b34fquot; ><br /> <TableID>dbo_departamento</TableID><br /> </Source><br /> </Source><br /> </Measure><br /> </Measures><br /> <StorageMode>Molap</StorageMode><br /> <ProcessingMode>Regular</ProcessingMode><br /> <Dimensions><br /> <Dimension xsi:type=quot; RegularMeasureGroupDimensionquot; dwd:design-time-name=quot; cbc5311e-a527-41d3-92c1-0bc09465b46aquot; ><br /> <CubeDimensionID>Nomina</CubeDimensionID><br /> <Attributes><br /> <Attribute dwd:design-time-name=quot; b7523044-2aef-4084-9901-7cbe2725689aquot; ><br /> <AttributeID>Nomina</AttributeID><br /> <KeyColumns><br /> <KeyColumn dwd:design-time-name=quot; 9e1a7c7e-2a81-4051-8956-4c52c5290463quot; ><br /> <DataType>WChar</DataType><br /> <DataSize>15</DataSize><br /> <Source xsi:type=quot; ColumnBindingquot; dwd:design-time-name=quot; c6e6feac-d996-4fa5-ba4f-8053d670a9baquot; ><br /> <TableID>dbo_departamento</TableID><br /> <ColumnID>nom_dpto</ColumnID><br /> </Source><br /> </KeyColumn><br /> </KeyColumns><br /> <Type>Granularity</Type><br /> </Attribute><br /> </Attributes><br /> </Dimension><br /> <Dimension xsi:type=quot; ReferenceMeasureGroupDimensionquot; dwd:design-time-name=quot; 4e47914d-822d-410f-81ef-3c678c0348f2quot; ><br /> <CubeDimensionID>Empleado</CubeDimensionID><br /> <Attributes><br /> <Attribute dwd:design-time-name=quot; 0be9eca1-b165-4f12-9468-640e9c545523quot; ><br /> <AttributeID>Empleado</AttributeID><br /> <Type>Granularity</Type><br /> </Attribute><br /> </Attributes><br /> <IntermediateCubeDimensionID>Nomina</IntermediateCubeDimensionID><br /> <IntermediateGranularityAttributeID>Id Emp</IntermediateGranularityAttributeID><br /> <Materialization>Regular</Materialization><br /> </Dimension><br /> </Dimensions><br /> <Partitions /><br /> </MeasureGroup><br /> <MeasureGroup dwd:design-time-name=quot; baf432d2-5508-41ed-a77d-d01f69adcbe0quot; ><br /> <ID>Nomina</ID><br /> <Name>Nomina</Name><br /> <CreatedTimestamp>0001-01-01T00:00:00Z</CreatedTimestamp><br /> <LastSchemaUpdate>0001-01-01T00:00:00Z</LastSchemaUpdate><br /> <LastProcessed>0001-01-01T00:00:00Z</LastProcessed><br /> <State>Unprocessed</State><br /> <Measures><br /> <Measure dwd:design-time-name=quot; b35e0160-79bd-46d4-8afa-900334717a93quot; ><br /> <ID>Sueldo</ID><br /> <Name>Sueldo</Name><br /> <Source dwd:design-time-name=quot; 958fbc4c-8764-4764-ae8b-487fb1b0de32quot; ><br /> <DataType>Double</DataType><br /> <Source xsi:type=quot; ColumnBindingquot; dwd:design-time-name=quot; aa2141b4-c3ae-46ef-9eb8-2ff6dbdab37cquot; ><br /> <TableID>dbo_nomina</TableID><br /> <ColumnID>sueldo</ColumnID><br /> </Source><br /> </Source><br /> </Measure><br /> <Measure dwd:design-time-name=quot; f3ab4cee-d1f1-4239-98e5-1dc9c3b2c6a7quot; ><br /> <ID>Bono</ID><br /> <Name>Bono</Name><br /> <Source dwd:design-time-name=quot; 9729f8af-c96e-4741-a205-eb6dfda6c8b3quot; ><br /> <DataType>Double</DataType><br /> <Source xsi:type=quot; ColumnBindingquot; dwd:design-time-name=quot; 82e97a48-a3f3-4d15-8a95-c0472ce738c8quot; ><br /> <TableID>dbo_nomina</TableID><br /> <ColumnID>bono</ColumnID><br /> </Source><br /> </Source><br /> </Measure><br /> <Measure dwd:design-time-name=quot; a93c9c50-95d6-41af-b96f-9e459004ab57quot; ><br /> <ID>Total</ID><br /> <Name>Total</Name><br /> <Source dwd:design-time-name=quot; d857da80-394b-4d44-ac49-90e951108bb1quot; ><br /> <DataType>Double</DataType><br /> <Source xsi:type=quot; ColumnBindingquot; dwd:design-time-name=quot; 81c76403-4da9-4fcc-a0d6-001ce4bd48fcquot; ><br /> <TableID>dbo_nomina</TableID><br /> <ColumnID>total</ColumnID><br /> </Source><br /> </Source><br /> </Measure><br /> <Measure dwd:design-time-name=quot; 0b0672b3-7c80-465b-b896-dcce0b098329quot; ><br /> <ID>Recuento Nomina</ID><br /> <Name>Recuento Nomina</Name><br /> <AggregateFunction>Count</AggregateFunction><br /> <Source dwd:design-time-name=quot; d6d4cb1a-850e-4194-a0a8-f65ac6522e20quot; ><br /> <DataType>Integer</DataType><br /> <DataSize>4</DataSize><br /> <Source xsi:type=quot; RowBindingquot; dwd:design-time-name=quot; 7b1afdbb-dd74-4a54-899e-92f3a50ee623quot; ><br /> <TableID>dbo_nomina</TableID><br /> </Source><br /> </Source><br /> </Measure><br /> </Measures><br /> <StorageMode>Molap</StorageMode><br /> <ProcessingMode>Regular</ProcessingMode><br /> <Dimensions><br /> <Dimension xsi:type=quot; DegenerateMeasureGroupDimensionquot; dwd:design-time-name=quot; 748425d1-37fd-46b3-8751-30c33e81685fquot; ><br /> <CubeDimensionID>Nomina</CubeDimensionID><br /> <Attributes><br /> <Attribute dwd:design-time-name=quot; 69c54691-13bc-4311-9780-58347a245ea3quot; ><br /> <AttributeID>Nomina</AttributeID><br /> <KeyColumns><br /> <KeyColumn dwd:design-time-name=quot; a62d1640-37e4-4d74-94bf-193bbd443e72quot; ><br /> <DataType>WChar</DataType><br /> <DataSize>15</DataSize><br /> <Source xsi:type=quot; ColumnBindingquot; dwd:design-time-name=quot; 32297afd-95d1-4413-982a-6db44af13a5fquot; ><br /> <TableID>dbo_nomina</TableID><br /> <ColumnID>nom_dpto</ColumnID><br /> </Source><br /> </KeyColumn><br /> </KeyColumns><br /> <Type>Granularity</Type><br /> </Attribute><br /> </Attributes><br /> </Dimension><br /> <Dimension xsi:type=quot; ReferenceMeasureGroupDimensionquot; dwd:design-time-name=quot; 94b2fd7b-8a12-4f56-98d3-9367ad901f90quot; ><br /> <CubeDimensionID>Empleado</CubeDimensionID><br /> <Attributes><br /> <Attribute dwd:design-time-name=quot; 7a0bfc73-c3fa-4bec-8547-546ce117e069quot; ><br /> <AttributeID>Empleado</AttributeID><br /> <Type>Granularity</Type><br /> </Attribute><br /> </Attributes><br /> <IntermediateCubeDimensionID>Nomina</IntermediateCubeDimensionID><br /> <IntermediateGranularityAttributeID>Id Emp</IntermediateGranularityAttributeID><br /> <Materialization>Regular</Materialization><br /> </Dimension><br /> </Dimensions><br /> <Partitions /><br /> </MeasureGroup><br /> </MeasureGroups><br /> <Source dwd:design-time-name=quot; d887d14b-2535-4f1a-9e13-1d3f640c26a0quot; ><br /> <DataSourceViewID>Empleados</DataSourceViewID><br /> </Source><br /></Cube><br />