Lookup query

Descrição

1 INFA (Lookup Transformation) Mapa Mental sobre Lookup query, criado por dbrown em 09-11-2013.
dbrown
Mapa Mental por dbrown, atualizado more than 1 year ago
dbrown
Criado por dbrown aproximadamente 11 anos atrás
33
0

Resumo de Recurso

Lookup query
  1. Default query
    1. SELECT
      1. All lookup ports
        1. Can generate sql
          1. Don't change ports/columns
          2. ORDER BY
            1. orders the columns by the same order they appear in the lookup
              1. IS generates the order by
                1. you can't see this when you generate sql in sql override
              2. Overriding
                1. ORDER BY clause with fewer colums
                  1. Increase performance
                    1. suppress ORDERBY with comment notation
                      1. cannot override or suppress when using pushdown optimization
                        1. -- at the end
                        2. If the table name or any column name in the lookup query contains a reserved word, you must ensure that all reserved words are enclosed in quotes
                          1. reswords.txt
                            1. can put reserved words in
                              1. put in installation dir
                                1. IS will look at this file and put quotes in query
                              2. Can use parameters and variables
                                1. in the query
                                  1. as a query
                                    1. IS expands variables at run time
                                    2. / slash char in column name
                                      1. IS converts to _ underscore
                                        1. 1 generate default query
                                          1. 2 replace _ underscore with / slash
                                            1. 3 enclose in double quotes
                                          2. add a WHERE clause
                                            1. limit rows
                                              1. DYNAMIC cache - use a filter before with same condition
                                              2. uncached
                                                1. must use "Use Any Value Lookup Policy on Mulitple Match condition to override the lookup query
                                                  1. IS does NOT build
                                                    1. uses alias's for column names
                                                      1. do not change
                                                      2. to reference input ports in the WHERE clause, configure parameter binding
                                                        1. SELECT EMPLOYEE.NAME as NAME, max(EMPLOYEE.ID) as ID from EMPLOYEE WHERE EMPLOYEE.NAME=?NAME1?
                                                        2. You cannot use subqueries in the SQL override for uncached lookups. Lookup
                                                      3. Filtering source rows
                                                        1. lookup source filter
                                                          1. caching enabled
                                                            1. pushdown optimization
                                                              1. creates a voew
                                                              2. properties tab
                                                                1. do not include WHERE
                                                                  1. Enclose parms & vars in string identifies

                                                                  Semelhante

                                                                  Lookup trans
                                                                  dbrown
                                                                  Properties of Lookup
                                                                  dbrown
                                                                  Lookup condition
                                                                  dbrown
                                                                  Lookup Ports
                                                                  dbrown
                                                                  Returning multiple rows
                                                                  dbrown
                                                                  Lookup Cache
                                                                  dbrown
                                                                  Database Deadlock Resilience
                                                                  dbrown
                                                                  Transformation Functions
                                                                  dbrown
                                                                  Lookup Ports - created from Mind Map
                                                                  dbrown
                                                                  Lookup condition - created from Mind Map
                                                                  dbrown
                                                                  Lookup Cache - created from Mind Map
                                                                  dbrown