Procedure to define a parameter using the Timestamp data type. This procedure applies to parameters defined at both the source system and task levels.
To define a Timestamp type parameter:
-
Do one of the following:
-
To define a source system parameter, from the Views menu, select Design, and then select Source System Parameters.
-
To define a task level parameter, from the Views menu, select Design, then select Tasks, and then click the Parameters subtab.
-
To define a source system parameter, from the Views menu, select Design, and then select Source System Parameters.
-
Click New.
-
Enter a parameter name.
-
Select the Timestamp data type.
-
Click in the Value field to open the Enter Parameter Value dialog.
-
Select one of the following options:
-
Static. This option specifies a value that remains constant for all ETL runs.
-
Runtime. This option specifies the value will be updated by the DAC before each ETL run.
-
SQL. This option
-
Static. This option specifies a value that remains constant for all ETL runs.
-
If you selected the Static option:
-
Click in the Date field to open the Date dialog.
-
Enter a data and time, click OK.
-
Click in the Date field to open the Date dialog.
-
If you selected the Runtime option:
-
Click in the Value field to open the Enter Parameter Value dialog.
-
Select a Variable from the list.
-
From the Function list, select a format to which the DAC will convert
the date. If you select Custom, enter a custom date format.
If you select SQL Syntax or SQL Syntax (Date Only), select a Connection Type.
-
Click in the Value field to open the Enter Parameter Value dialog.
-
If you selected the SQL option:
-
Click in the SQL field to open the Enter Parameter Value dialog.
-
Select a Logical Data Source from the list.
-
Enter the parameter definition and click OK.
-
Click in the SQL field to open the Enter Parameter Value dialog.
-
Click OK to close the Enter Parameter Value dialog.
-
(Optional) To inactivate the parameter, select Inactive.
-
Click Save.
No comments:
Post a Comment