官术网_书友最值得收藏!

Using the expression editor

To manipulate the date, we need to write the functions in the ports. You can use the functions provided from the list of functions inside the expression editor.

  1. Click on the icon as shown in the following screenshot to open the expression editor:
  2. New windows will pop up where you can write the function. From the Functions tab, you can use functions. Informatica PowerCenter provides all the functions that cater to the need of SQL/Oracle functions, mathematical functions, trigonometric functions, date functions, and so on.

 

  1. In our scenario ,we need to use the CONCAT function. Double-click on the Concat function under the list of functions to get the function in the editor as shown in the following screenshot:
  1. Click on Ports in the expression editor, and double-click on FIRST_NAME and LAST_NAME to get the function as shown in the following screenshot:
  • As you can notice in the preceding screenshot, the expression editor provides a numeric keypad and an operator keypad that can be used to write the functions.
  • Once you complete writing the function, click on Validate to make sure the function is correct syntactically. Click on OK.
  • Similarly, write the function for calculating TOTAL_SALARY, which is JAN_SAL+FEB_SAL.
  1. Link the corresponding ports to the target as shown in the following screenshot:
  • Save the mapping to save the metadata in the repository. With this, we are done with creating the mapping using expression transformation. We have also discussed the ports and learned how to use the expression editor. You also learned how to write the function in transformation. These details will be used across all other transformations in Informatica.
主站蜘蛛池模板: 安化县| 浦东新区| 松江区| 贵港市| 武强县| 涟源市| 黑河市| 呼玛县| 甘肃省| 涿鹿县| 麻城市| 和林格尔县| 都安| 宿迁市| 资阳市| 平谷区| 锦州市| 宁城县| 宜春市| 筠连县| 天柱县| 清原| 乃东县| 包头市| 辉南县| 北碚区| 思茅市| 定结县| 六盘水市| 黎平县| 涟源市| 乐清市| 广西| 广安市| 无为县| 塔河县| 马边| 东兰县| 南充市| 济阳县| 富顺县|