
Informatica® 10.4.0 Transformation Language Reference Informatica Transformation Language Reference 10.4.0 December 2019 © Copyright Informatica LLC 2009, 2020 This software and documentation are provided only under a separate license agreement containing restrictions on use and disclosure. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording or otherwise) without prior consent of Informatica LLC. Informatica and the Informatica logo are trademarks or registered trademarks of Informatica LLC in the United States and many jurisdictions throughout the world. A current list of Informatica trademarks is available on the web at https://www.informatica.com/trademarks.html. Other company and product names may be trade names or trademarks of their respective owners. U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation is subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License. Portions of this software and/or documentation are subject to copyright held by third parties. Required third party notices are included with the product. The information in this documentation is subject to change without notice. If you find any problems in this documentation, report them to us at [email protected]. Informatica products are warranted according to the terms and conditions of the agreements under which they are provided. INFORMATICA PROVIDES THE INFORMATION IN THIS DOCUMENT "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING WITHOUT ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. Publication Date: 2020-06-25 Table of Contents Preface ...................................................................... 9 Informatica Resources................................................... 9 Informatica Network................................................. 9 Informatica Knowledge Base............................................ 9 Informatica Documentation............................................. 9 Informatica Product Availability Matrices................................... 10 Informatica Velocity................................................. 10 Informatica Marketplace.............................................. 10 Informatica Global Customer Support...................................... 10 Chapter 1: The Transformation Language.................................... 11 The Transformation Language Overview....................................... 11 Transformation Language Components.................................... 11 Internationalization and the Transformation Language........................... 12 Expression Syntax..................................................... 12 Expression Components.............................................. 12 Rules and Guidelines for Expression Syntax.................................. 13 Adding Comments to Expressions........................................... 14 Reserved Words...................................................... 15 Chapter 2: Constants........................................................ 16 DD_DELETE......................................................... 16 Example........................................................ 16 DD_INSERT.......................................................... 16 Examples........................................................ 17 DD_REJECT......................................................... 17 Examples........................................................ 17 DD_UPDATE......................................................... 17 Examples........................................................ 18 FALSE............................................................. 18 Example........................................................ 18 NULL............................................................. 18 Working with Null Values in Boolean Expressions.............................. 19 Null Values in Comparison Expressions.................................... 19 Null Values in Aggregate Functions....................................... 19 Null Values in Filter Conditions.......................................... 19 Nulls with Operators................................................. 19 TRUE............................................................. 19 Example........................................................ 20 Table of Contents 3 Chapter 3: Operators........................................................ 21 Operator Precedence................................................... 21 Complex Operators.................................................... 22 Subscript Operator.................................................. 23 Dot Operator...................................................... 24 Complex Operators for Nested Data Types.................................. 26 Arithmetic Operators................................................... 30 String Operators...................................................... 31 Nulls........................................................... 31 Example........................................................ 31 Comparison Operators.................................................. 32 Logical Operators..................................................... 33 Nulls........................................................... 33 Chapter 4: Variables........................................................ 34 Built-in Variables...................................................... 34 SYSDATE........................................................ 34 Local Variables....................................................... 34 Chapter 5: Dates............................................................ 35 Dates Overview....................................................... 35 Date/Time Datatype................................................. 35 Julian Day, Modified Julian Day, and the Gregorian Calendar....................... 36 Dates in the Year 2000............................................... 36 Dates in Relational Databases.......................................... 38 Dates in Flat Files.................................................. 38 Default Date Format................................................. 38 Date Format Strings.................................................... 39 TO_CHAR Format Strings................................................. 40 Examples........................................................ 42 TO_DATE and IS_DATE Format Strings........................................ 43 Rules and Guidelines for Date Format Strings................................. 45 Example........................................................ 45 Understanding Date Arithmetic............................................. 47 Chapter 6: Functions........................................................ 48 Function Categories.................................................... 48 Aggregate Functions................................................ 48 Aggregate Functions and Nulls.......................................... 50 Character Functions................................................. 50 Complex Functions................................................. 51 Conversion Functions................................................ 51 4 Table of Contents Data Cleansing Functions............................................. 52 Date Functions.................................................... 53 Encoding Functions................................................. 53 Financial Functions................................................. 54 Numeric Functions.................................................. 54 Scientific Functions................................................. 54 Special Functions.................................................. 55 String Functions................................................... 55 Test Functions.................................................... 55 Window Functions.................................................. 55 ABORT............................................................ 56 ABS.............................................................. 56 ADD_TO_DATE....................................................... 57 AES_DECRYPT....................................................... 60 AES_ENCRYPT....................................................... 61 ANY.............................................................. 62 ARRAY............................................................ 63 ASCII............................................................. 64 AVG.............................................................. 65 CAST............................................................. 66 CEIL.............................................................. 67 CHOOSE........................................................... 68 CHR.............................................................. 69 CHRCODE.......................................................... 70 COLLECT_LIST......................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages233 Page
-
File Size-