Hi, my script contains these two create view statements. When I run the script, it gives me ORA-00911: invalid character error message on "));" line.
When I run the two statements separately, it works fine. So I know that each statement on its own has no problem.
Please help!
Thank you!
CREATE OR REPLACE VIEW V_MYVIEW1 AS (
(
select blah
from blah
where blah
)
UNION
(
select blah
from blah
where blah
)); <----------- Error message!
CREATE OR REPLACE VIEW V_MYVIEW2 AS (
select blah
from blah
where blah
);
When I run the two statements separately, it works fine. So I know that each statement on its own has no problem.
Please help!
Thank you!
CREATE OR REPLACE VIEW V_MYVIEW1 AS (
(
select blah
from blah
where blah
)
UNION
(
select blah
from blah
where blah
)); <----------- Error message!
CREATE OR REPLACE VIEW V_MYVIEW2 AS (
select blah
from blah
where blah
);