Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9118809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:14:37+00:00 2026-06-17T05:14:37+00:00

I have three tables (Oracle source), lets call them tables 1, 2, and 3.

  • 0

I have three tables (Oracle source), lets call them tables 1, 2, and 3.

I would like to check a boolean field in table 1, and if it is T I want only data from table 2, and if it is F, I want only table 3.

Which transformation would be the most efficient for doing so, and how would I go about implementing it?

I’m experimenting with the Filter, Java, and Expression transformations, but if the expressions are checking on a row-by-row basis, then it seems like overkill for the expression to run on every row instead of just checking once and using the appropriate table.

Both tables 2 and 3 have a field with the same name, and I want that field for just one of the tables, based on the condition.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:14:38+00:00Added an answer on June 17, 2026 at 5:14 am

    Create a mapping similar to the following diagram:

    src_TABLE2 --> sq_TABLE2 --|
                               |--> union --> (further processing)
    src_TABLE3 --> sq_TABLE3 --|
    

    and use the following Source Filter conditions* in the source qualifiers:

    -- for sq_TABLE2
    'T' = ( SELECT FLAG FROM TABLE1 )
    
    -- for sq_TABLE3
    'F' = ( SELECT FLAG FROM TABLE1 )
    

    There are two source tables in the mapping and the union transformation merges data from these two pipelines. However, because of the filtering conditions at any given time data will be retrieved only from one of the source tables.

    * Source Filter is an attribute on the Properties tab of a source qualifier. The condition you set here is appended to the WHERE clause of the SELECT statement that is sent to the database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have three tables in oracle db as newitems, itemdetails, ticketitems table. Some dummy
I have a table TIME_TABLE on Oracle 10.6. There is a field called Start_Date
I have three tables (individuals, groups & recordlabels) and want use the information between
I have three tables of data: table: cars [10,000 rows] table: planes [2,000 rows]
I have three tables Author, Book and AuthorBook. AuthorBook table only contains two foreign
I have a table with three fields, one an identity field, and I need
I have three of many tables in Oracle (10g) database as listed below. I'm
I have a common database joining situation involving three tables. One table, A, is
I have live audio that I would like to feed into a oracle database.
I have three tables- Member,Payment,Award with over 3000 of records on them. At present

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.