Hi fellow Vertica users!! I've a problem with this CTE running on Dbeaver I get this error:
SQL Error [4566] [42V01]: [Vertica]VJDBC ERROR: Relation "actualiza" does not exist
With this SQL which I've tested on SMSS and is running fine, just counting numbers nothing fancy:
WITH actualiza AS
(
SELECT 0 AS numero
UNION ALL
SELECT numero + 1
FROM actualiza AS cuenta
WHERE cuenta.numero < 10
) SELECT * FROM actualiza
Don't know what I'm doing wrong, by the way I'm a newbie on Vertica and trying to learn it.
Best regards!!!
Frank