DazzaL
Member
Hi,
i have a sql script that i loaded into pl/sql dev (file.. open.. sql script) and tired to run (f*):
-- tlv.sql --
create type tag_length_value_typ is object(name varchar2(32767),
length integer,
value varchar2(32767));
/
create type tag_length_value_tab is table of tag_length_value_typ;
/------
in sqlplus or TOAD this works perfectly. In plsql developer it does not. What it ACTUALLY did was to create the tag_length_value_typ with the contents of the whole file..invalid of course.
Why does exhibit this behaviour? can pl/sql dev not handle this?
the only way to get this to work is run:
---
create type tag_length_value_typ is object(name varchar2(32767),
length integer,
value varchar2(32767));
--
then
---
create type tag_length_value_tab is table of tag_length_value_typ;
---
without the /'s (put them in and it complains! which is odd as according to oracle docets you need semi colons and forward slashes with types).
Daz.
this / problem also appears in packages..put them in and it complains of invalid chars...
Version: 5.1.2.682
i have a sql script that i loaded into pl/sql dev (file.. open.. sql script) and tired to run (f*):
-- tlv.sql --
create type tag_length_value_typ is object(name varchar2(32767),
length integer,
value varchar2(32767));
/
create type tag_length_value_tab is table of tag_length_value_typ;
/------
in sqlplus or TOAD this works perfectly. In plsql developer it does not. What it ACTUALLY did was to create the tag_length_value_typ with the contents of the whole file..invalid of course.
Why does exhibit this behaviour? can pl/sql dev not handle this?
the only way to get this to work is run:
---
create type tag_length_value_typ is object(name varchar2(32767),
length integer,
value varchar2(32767));
--
then
---
create type tag_length_value_tab is table of tag_length_value_typ;
---
without the /'s (put them in and it complains! which is odd as according to oracle docets you need semi colons and forward slashes with types).
Daz.
this / problem also appears in packages..put them in and it complains of invalid chars...
Version: 5.1.2.682