What is AB_LOCAL expression where do you use it in ab-
initio?
Answers were Sorted based on User's Feedback
Answer / prasad setti
If you use an SQL SELECT statement to specify the source
for Input Table, and if the statement involves a complex
query or a join of two or more tables in an unload, Input
Table may be unable to determine the best way to run the
query in parallel. In such cases, the GDE may return an
error message suggesting you use ABLOCAL(tablename) in the
SELECT statement to tell Input Table which table to use as
the basis for the parallel unload.
To do this, you would put an ABLOCAL(tablename) in the
appropriate place in the WHERE clause in the SELECT
statement, and specify the name of the "driving table"
(often the largest table, but see below) as a single
argument.
When you run the graph, Input Table will replace the
expression "ABLOCAL(tablename)" with the appropriate
parallel query condition for that table.
For example, suppose you want to join two tables-
customer_info and acct_type-and customer_info is the
driving table. You would code the SELECT statement as
follows:
select * from acct_type, customer_info
where ABLOCAL(customer_info) and
customer_info.acctid = acct_type.id
Note that when using an alias for a table, you must tell
ABLOCAL(tablename) the alias name as well.
select * from acct_type, customer_info custinfo
where ABLOCAL(customer_info custinfo) and
custinfo.acctid = acct_type.id
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / alok
we use AB_LOCAL(expression) to increase the SQL query
performance by supplying the name of large table in
expression. This way we make it as a driving table.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / mahendra garewal
AB_LOCAL is used for both parallel unload and for
determining the driving table in the complex queries.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / ramanjaneyulu.i
sql queries does not recognise by Abinitio then we will use
AB_LOCAL.
Is This Answer Correct ? | 4 Yes | 1 No |
How might you quantitatively measure an improvement made to a query?
Mention what is the syntax for m_dump in abinitio?
What is the diff between abinitiorc and .abinitiorc files ?
explain the environment varaibles with example?
Input A 100 NUll A NUll 200 B 100 Null B Null 300 Output A 100 200 B 100 300 Do this using Ab initio
Can we specify checkpoints without Phases?
How do we extract data from client machine?
What is a look-up?
What are the different forms of output that can be obtained after processing of data?
What is the difference between a DB config and a CFG file?
How can you export a component’s internal parameters ?
What is $mpjret? Where it is used in ab-initio?