I am running the following cross apply sql query, however, the query cannot find the table.
For example:
SELECT sport,event_names
FROM table_name t
CROSS APPLY
(
VALUES
(event_1),
(event_2),
(event_3)
) x (event_names);
- 00000 - "invalid table name"
I can access this table when running the following query:
select * from table_name;
Table Value Constructor supported from 23c but you might want to use text literals to specify values.