Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats the difference between a ROW type and a COLUMN type in Oracle?

column difference Oracle row type
0
Posted

Whats the difference between a ROW type and a COLUMN type in Oracle?

0

Well, Oracle really doesn’t provide the type of encapsulation that the book talks about with ADT’s, and both types are declared in the same way in Oracle, so think of the difference lying in the intended use of a type. If a type is created with the intent that it represent an entire tuple inside a table, it is a ROW type. If a type is created with the intent that it will be used as one attribute inside a tuple, it is a COLUMN type. So there is a fine line between the two, but there is an important distinction between the two, even if it is only in “intent” and not in actual implementation. You should be able to find cases in your PDA where you will use both ROW and COLUMN types in very different ways…

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123