schema objects

5
Muhammad Umair OBJECTS Oracle Database 11g Developer Track

Upload: umair-shakir

Post on 19-Jan-2017

261 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Schema Objects

Muhammad Umair

OBJECTS

Oracle Database 11g Developer Track

Page 2: Schema Objects

›Schema– A schema is a collection of database objects associated with

one particular database username. This username is called the schema owner, or the owner of the related group of objects. You may have one or multiple schemas in a database.

OBJECTS

Page 3: Schema Objects

› Tables› Views› Indexes› Sequences› Synonyms› Function / Procedures› Triggers› Packages

OBJECTS

Page 4: Schema Objects

› Views– A virtual table that gives customized presentation of data of one

or more tables.› Index

– A database object that increases performance by reducing the time to search a record from a table.

› Sequence– A database object that generates integer values in a sequence.

› Synonym– Synonym is an alternate name of database object

OBJECTS

Page 5: Schema Objects

› Function / Procedures– these are named code segments which are stored in the

database. The difference between the two is that function returns a values where as procedure doesn’t return a value

› Triggers– A trigger is an un-named code segment that is executed when

some database event occurs.› Packages

– A package is an encapsulation of variables and Functions / procedures

OBJECTS