Skip to content
Advertisement

Column or global variable not found db2

I have a issue with DB2.

I have two libraries with the same structure database. The only one difference is the data.

When i try this sql request for the first library, it’s work

but when i try with the other library, i have this error.

I check the CLIENT and EMPLOYE tables and they have the column with data.

Thank you in advance for your answer

Advertisement

Answer

The way you qualify columns depends on the way tables are “declared”

see Table designators

So if you want something common you can code

Or because comma notation is old and not really readable

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement