Tables

ORA-02291: integrity constraint violated – parent key not found error occurs when we try to insert a row in a child table with a foreign key constraint and the related foreign key data is missing from parent table. Let us create a scenario which causes ORA-02291 error. Let us create an EMPLOYEE table which holds [...]

Continue reading about ORA-02291: integrity constraint violated – parent key not found

Binu George on January 9th, 2009

Foreign Key holds the reference to another table column value.It is also known as references constraint.
A foreign key means that values in one table must also appear in another table.

Continue reading about Oracle Tables: Foreign Keys | Oracle Referential Integrity

Binu George on January 9th, 2009

Composite primary key is a special type of primary key comprises a set of columns.In relational database a primary key is a candidate key to uniquely identify each row in a table.

Continue reading about Composite Primary Key in Oracle

Binu George on January 6th, 2009

CREATE TABLE AS SELECT statement can be used when we need to extract part or full data from a table and store it into another table based on certain conditions

Continue reading about Oracle/PLSQL:Create Table as Select

Binu George on January 6th, 2009

Usage Create table statement with foreign key constraint will create table with referential integrity
Foreign Key holds the reference to another table column value.It is also known as references constraint

Continue reading about Oracle/PLSQL: Create table with foreign key constraint

CREATE TABLE statement: create a table with composite primary key.

Continue reading about CREATE TABLE statement: create a table with composite primary key

Oracle PL/SQL:CREATE TABLE statement: create a table with primary key.

Continue reading about Oracle PL/SQL:CREATE TABLE statement: create a table with primary key.

Binu George on January 6th, 2009

CREATE TABLE statement is used to create table objects in database.You can create tables with different column data types.It is possible to add CONSTRAINTS like primary key ,foreign key etc while creating the table or can be added after the table creation

Continue reading about Oracle PL/SQL:Create Table

Binu George on November 13th, 2008

Primary key is a type of constraint used in Oracle tables.A primary key is used to uniquely identify each row in a table.A primary key can consist of one or more fields on a table. When more than one fields are used as a primary key, the key is called a composite key.

Continue reading about ALTER TABLE to ADD PRIMARY KEY in Oracle| Oracle ALTER TABLE

SEO Powered by Platinum SEO from Techblissonline