Question

What is the unit type in PL/SQL? If there is no built-in type, how do I make one?

No correct solution

OTHER TIPS

Perhaps you are trying to create your own type. In Oracle you can achieve that with the CREATE TYPE statement.

Use the CREATE TYPE statement to create the specification of an object type, a SQLJ object type, a named varying array (varray), a nested table type, or an incomplete object type. You create object types with the CREATE TYPE and the CREATE TYPE BODY statements. The CREATE TYPE statement specifies the name of the object type, its attributes, methods, and other properties. The CREATE TYPE BODY statement contains the code for the methods that implement the type.

You can define the behavior of your own object.

link

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top