CREATE TABLE dbo.so_42623962
(
RowSk int NOT NULL
, [Date] date
);
, Biml, OLE DB Sources
<Biml xmlns="http://schemas.varigence.com/biml.xsd">
<Connections>
<OleDbConnection Name="tempdb" ConnectionString="Data Source=localhost\dev2016;Initial Catalog=tempdb;Provider=SQLNCLI11.0;Integrated Security=SSPI;"/>
</Connections>
<Packages>
<Package Name="so_42623962" >
<Variables>
<Variable Name="StartDate" DataType="String">2017-01-01</Variable>
<Variable Name="MiddleDate" DataType="String">2017-01-01</Variable>
</Variables>
<Tasks>
<Dataflow Name="DFT Demo">
<Transformations>
<OleDbSource Name="SRC Query" ConnectionName="tempdb">
<DirectInput><![CDATA[SELECT *
FROM dbo.so_42623962 AS X
WHERE X.[Date] > ? AND X.[Date] <= ? ;]]></DirectInput>
<Parameters>
<Parameter Name="0" VariableName="User.StartDate" />
<Parameter Name="1" VariableName="User.MiddleDate" />
</Parameters>
</OleDbSource>
<DerivedColumns Name="DER Placeholder" />
</Transformations>
</Dataflow>
</Tasks>
</Package>
</Packages>
</Biml>
. CDATA, , /, ,
<Dataflow Name="DFT Escaped">
<Transformations>
<OleDbSource Name="SRC Query" ConnectionName="tempdb">
<DirectInput>SELECT *
FROM dbo.so_42623962 AS X
WHERE X.[Date] > ? AND X.[Date] <= ?;</DirectInput>
<Parameters>
<Parameter Name="0" VariableName="User.StartDate" />
<Parameter Name="1" VariableName="User.MiddleDate" />
</Parameters>
</OleDbSource>
<DerivedColumns Name="DER Placeholder" />
</Transformations>
</Dataflow>
Date
,
<Dataflow Name="DFT Escapedx2">
<Transformations>
<OleDbSource Name="SRC Query" ConnectionName="tempdb">
<DirectInput>SELECT *
FROM dbo.so_42623962 AS X
WHERE X.Date > ? AND X.Date <= ?;</DirectInput>
<Parameters>
<Parameter Name="0" VariableName="User.StartDate" />
<Parameter Name="1" VariableName="User.MiddleDate" />
</Parameters>
</OleDbSource>
<DerivedColumns Name="DER Placeholder" />
</Transformations>
</Dataflow>
, ? - (/ ). yyyy-mm-dd aka ccyy-mm-dd, , , , ISO yyyymmdd.
, , AS400. , "" , , , AS400 CYMD, " ", , yyyy-mm-dd CYMD. , , .