|
|
|
|
|
|
Re: Difference between Global Temporary Table and Collections in PLSQL [message #651753 is a reply to message #651701] |
Tue, 24 May 2016 08:30 |
Bill B
Messages: 1971 Registered: December 2004
|
Senior Member |
|
|
a GTT is a pseudo table that is stored in the temp tablespace and can be manipulated by using standard oracle commands like select, update, delete. It can also have indexes applied. Anything you can do with a normal table you can do with a GTT Except all data in the table is ONLY seen by the specific session and no one else can see or manipulate your data.
A collection is just a memory array that needs to be accessed using a different set of instructions.
I use GTT's a fair amount, I also use collections. Both have their strengths and weaknesses.
|
|
|