Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

(q7)What is the likely cause of the error? "table not found" ?

q7.PNG

When the script displayed in the exhibit is reloaded, an error message is displayed.

Table not found

Left Join (SalesPerson)

LOAD ID,

DepartmentID

FROM [DataSourceA.xlsx]

(ooxml, embedded labels, table is SalesPersonDepartment);

What is the likely cause of the error?

A. When loaded, the SalesPerson table is auto concatenated to Customer and does not exist when referenced.

B. The Left Join statement fails to correctly bracket the referenced table name, such as Left Join ([SalesPerson]).

C. The Left Join statement fails to correctly quote the referenced table name, such as Left Join ("SalesPerson").

D. There is an error in the Customer table load and it is not created in memory.

7 Replies
sunny_talwar

I don't see Customer table in your script above, can you share the complete script?

hic
Former Employee
Former Employee

In addition to Sunny's question: What do you get if you remove the Qualify statement and the Left Join statement?

HIC

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

The answer is A.

A. When loaded, the SalesPerson table is auto concatenated to Customer and does not exist when referenced.

Even though the Customer table is missing from the screen print you included but I imagined that the Customer table is before the SalesPerson table.

Not applicable
Author

I do not see a reference to customer table

Clever_Anjos
Employee
Employee

try this:

SalesPerson:

NOCONCATENATE LOAD

...

Not applicable
Author

Just this scrpt I have.

Not applicable
Author

I did not understand why you are using QUALITY  *; If you do a LEFT JOIN There has not been any connection. you should do UNQUALIFY to particular field that you want to connect with the tables or make CONCATENATE between tables It depends What exactly are you trying to achieve?