Skip to content
Advertisement

PLS-00201: identifier ‘COL1.POTO’ must be declared

Hi I have problem with variable:

enter image description here

Here is my code

The Osoba table:

enter image description here

It’s my first post so don’t be so angry for formatting.

Advertisement

Answer

This can be done with a single efficient SQL statement.

I highly doubt that the SELET statement and the general logic in your code is correct. CROSS JOINs create a cartesian product and are always suspect. But even worse: The inserted rows only take data from the input parameters and thus are all the same. The SELECT statement only determines the number of rows.

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