UT-FAC_GENERACION_OBLIGADAT1.dtsx 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0"?>
  2. <DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
  3. DTS:refId="Package"
  4. DTS:CreationDate="9/30/2020 2:45:29 PM"
  5. DTS:CreationName="Microsoft.Package"
  6. DTS:CreatorComputerName="RUIZ"
  7. DTS:CreatorName="GRUPOME\druiz"
  8. DTS:DTSID="{1589333A-DCD1-4D47-8EC1-063BF564013B}"
  9. DTS:ExecutableType="Microsoft.Package"
  10. DTS:LastModifiedProductVersion="15.0.2000.121"
  11. DTS:LocaleID="1033"
  12. DTS:ObjectName="UT-FAC_GENERACION_OBLIGADAT1"
  13. DTS:PackageType="5"
  14. DTS:VersionBuild="2"
  15. DTS:VersionGUID="{B0D5BB11-C6ED-4C46-A24B-B3B86C7EE2D0}">
  16. <DTS:Property
  17. DTS:Name="PackageFormatVersion">8</DTS:Property>
  18. <DTS:Variables />
  19. <DTS:Executables>
  20. <DTS:Executable
  21. DTS:refId="Package\COD PROYECTO"
  22. DTS:CreationName="Microsoft.ExecuteSQLTask"
  23. DTS:Description="Execute SQL Task"
  24. DTS:DTSID="{1EA45D56-46F3-47FB-B8CA-A88790C1DEAD}"
  25. DTS:ExecutableType="Microsoft.ExecuteSQLTask"
  26. DTS:LocaleID="-1"
  27. DTS:ObjectName="COD PROYECTO"
  28. DTS:TaskContact="Execute SQL Task; Microsoft Corporation; SQL Server 2019; © 2019 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
  29. DTS:ThreadHint="0">
  30. <DTS:Variables />
  31. <DTS:ObjectData>
  32. <SQLTask:SqlTaskData
  33. SQLTask:Connection="{C795B859-49C9-4952-8EC8-B3DA2B9B7F89}"
  34. SQLTask:SqlStatementSource="UPDATE UT.FAC_GENERACION_OBLIGADA_T1&#xA; SET &#xA; UT.FAC_GENERACION_OBLIGADA_T1.COD_PROYECTO = PR.COD_PROYECTO&#xA;FROM&#xA;(&#xA; SELECT COD_PROYECTO, &#xA; M_OPE, &#xA; Y_OPE, &#xA; FECHA_INICIO, &#xA; FECHA_FIN, &#xA; PUNTO_MEDIDA&#xA; FROM CONCILIACION.PROYECTOS&#xA;) AS PR&#xA;WHERE UT.FAC_GENERACION_OBLIGADA_T1.COD_EQUIPO = PR.PUNTO_MEDIDA&#xA; --AND MONTH(UT.FAC_INYECCIONES.FECHA)=PR.M_OPE&#xA; --AND YEAR(UT.FAC_INYECCIONES.FECHA)=PR.Y_OPE&#xA; AND UT.FAC_GENERACION_OBLIGADA_T1.FECHA &gt;= PR.FECHA_INICIO&#xA; AND UT.FAC_GENERACION_OBLIGADA_T1.FECHA &lt;= PR.FECHA_FIN&#xA;&#x9; AND UT.FAC_GENERACION_OBLIGADA_T1.COD_PM='c08'&#xA;&#x9; AND UT.FAC_GENERACION_OBLIGADA_T1.FECHA &gt;= DATEADD(DAY, -62, GETDATE())" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
  35. </DTS:ObjectData>
  36. </DTS:Executable>
  37. </DTS:Executables>
  38. <DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>
  39. <!--This CDATA section contains the layout information of the package. The section includes information such as (x,y) coordinates, width, and height.-->
  40. <!--If you manually edit this section and make a mistake, you can delete it. -->
  41. <!--The package will still be able to load normally but the previous layout information will be lost and the designer will automatically re-arrange the elements on the design surface.-->
  42. <Objects
  43. Version="8">
  44. <!--Each node below will contain properties that do not affect runtime behavior.-->
  45. <Package
  46. design-time-name="Package">
  47. <LayoutInfo>
  48. <GraphLayout
  49. Capacity="4" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph">
  50. <NodeLayout
  51. Size="156,42"
  52. Id="Package\COD PROYECTO"
  53. TopLeft="415,279" />
  54. </GraphLayout>
  55. </LayoutInfo>
  56. </Package>
  57. </Objects>]]></DTS:DesignTimeProperties>
  58. </DTS:Executable>