I have tables, seq, triggers, sp, types, oracle queues etc.
I want to know what should ideally form part of a package and what should be outside.
Can tables be part of package ?
the general practice followed ? and its benefits.
I understand the main idea of package acting like a library or a namespace.
And one benefit w.r.t managing in SQL IDE I see is that you can easily drop and recreate and easily view and manage thigns occuring under one package.
What others ?
Go to the Oracle documentation for packages and read the section called “What is a package?”. It starts off:
It cannot include tables, triggers, sequence definitions etc.