I think the best way is to rely on the standard copyright approach that we use for books, etc. In the same way as authors and publishers, even though there is no technological constraint, do not use copyrighted work, web designers and web masters should not use copyrighted material in their web site. Why this approach, which works fine with books, does not work with website material? I think that the only reason is that a different category of people, less respectful of the work of others, design and maintain websites.

]]>FUNCTION read_mytable (

x IN NUMBER,

y IN NUMBER) RETURN NUMBER IS array_value NUMBER;

c_multipler CONSTANT NUMBER :=1000;

TYPE mytabtype IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;

prec_cep_calculations mytabtype;

BEGIN

array_value:= prec_cep_calculations((x * c_multipler)+ y);

RETURN array_value;

EXCEPTION

WHEN NO_DATA_FOUND THEN

RETURN NULL;

END;

no compile errors — SQL Developer version 1.5.5

]]>PROCEDURE write_mytable(

x IN NUMBER,

y IN NUMBER,

array_value IN NUMBER) IS

TYPE mytabtype IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;

c_multipler CONSTANT NUMBER :=1000;

prec_cep_calculations mytabtype;

BEGIN

prec_cep_calculations ((x * c_multipler) + y) := array_value;

END;

No compile errors

]]>PROCEDURE write_mytable(

x IN NUMBER,

y IN NUMBER,

array_value IN NUMBER) IS

mytabtype IS TABLE OF NUMBER INDEXED BY BINARY_INTEGER;

c_multipler CONSTANT NUMBER :=1000;

prec_cep_calculations mytabtype;

BEGIN

prec_cep_calculations ((x * c_multipler) + y) := array_value;

END;

Error PLS-00103: Encountered the symbol “IS” when expecting one of the following: constant exception table long double ref char timestamp interval date binary notional character nchar

]]>TYPE MYTABTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;

Error: PLS-00355: use of pl/sql table not allowed in this context

]]>*

ERROR at line 7:

ORA-06550: l�nea 7, columna 14:

PLS-00103: Encountered the symbol “IS” when expecting one of the following:

constant exception

table long double ref

char ]]>