Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    (Foc14006) SQL Translator Error Null join to table holdtable()

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(Foc14006) SQL Translator Error Null join to table holdtable()
 Login/Join
 
Member
posted
Here is the SQL statement generated in I way migrator. It is also throwing (FOC14019) Error.It Would be very helpful if anyone help me to resolve this issue.

SELECT
T5.VENDOR_SKU
FROM
(SELECT
T3.VENDOR_SKU
FROM
((SELECT
T4.VENDOR_SKU
FROM
(f_rso_stg_ds T4 LEFT OUTER JOIN d_product T1
ON
T4.VENDOR_SKU = T1.PRODUCT_KEY )
WHERE
T1.PRODUCT_KEY IS NULL
) T3
LEFT OUTER JOIN xref_product T2
ON
T3.VENDOR_SKU = T2.CROSS_REF_PRODUCT_KEY )
WHERE
T2.CROSS_REF_PRODUCT_KEY IS NULL
) T5


WebFOCUS 7.6
Windows, All Outputs

 
Posts: 7 | Registered: August 22, 2013Report This Post
Guru
posted Hide Post
Your signature says WebFOCUS 7.6 but since support for sub queries was added in DataMigrator Release 7.7 I'm going to assume that you are using the current release.

A FOC14019 is a SQL Translator general error. What relational database is your source? I think to diagnose this further it may be best to open a hottrack case and provide the three source synonyms and data flow.

Alternatively you could take another approach.

If PRODUCT_KEY is a the key of d_product it can't be NULL in the source table, so the only NULL values would be those created by the OUTER JOIN

So it looks like what you want is all the rows f_rso_stg_ds where the VENDOR_KEY is not found in d_product.

If that's correct instead of a SUB-SELECT and a JOIN another way to obtain that result is with a WHERE condition:

NOT EXISTS(SELECT * FROM d_product SQ WHERE SQ.PRODUCT_KEY = VENDOR_KEY)


You could add another WHERE condition to check the xref_product table. Then you wouldn't need any JOINS to get the results.


N/A
 
Posts: 397 | Location: New York City | Registered: May 03, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    (Foc14006) SQL Translator Error Null join to table holdtable()

Copyright © 1996-2020 Information Builders