![]() |
Relational Database Management Systems![]() ![]() ![]() ![]() ![]()
A Relational Database Management system (often called an RDBMS for short) such as ORACLE gives you a way of doing the below mentioned tasks in an understandable and reasonably uncomplicated way :
What is a Relational Model The Relational model of a DBMS presents an orderly, predictable and intuitive approach to organizing, manipulating and viewing data. The relational model is based on mathematical concepts that on set theory, which makes it simple. Definition and Terminology of RDBMS The relational management system is a way of logically storing and managing data in the form of tables. A TABLE is a method of presenting data in the form of rows and columns. Each column represents a single field of a record. Several such columns make a record, providing meaningful and interrelated information. Each record is represented in a row. A table may consist of any number of rows. Many tables having interrelated and interdependent data are grouped by establishing relations. Managing the tables and their relations provides mean's for inserting, deleting, retrieval and updating data forms an RDBMS.
Establishing Relations We have seen that data is stored logically in tables in RDBMS. Each table has a unique name. To identify a particular row in a table, a column or a combination of columns are used. The column should be able to uniquely identify each row. Such a column is a candidate for a 'Primary Key'. No two rows in the table can have the same values for the column comprising the primary key. A column identified as primary key cannot have duplicate values and null values (no value). For example, considering the Employee table in fig 1.2, every employee has a unique employee number. The 'empno' column can be chosen as the primary key. Similarly the 'Deptno' column in the Department table can be the primary key. Foreign Key The Primary key and the Foreign key are used to establish relations among related tables. In fig 1.2 the domain of the values in the 'Dept No' column of the Employee table is within the range of values in the Department table's 'Dept No'. An employee must belong to a department that is listed in the Department table. The 'Dept No' column in table Employee is the candidate for the foreign key. By definition, a foreign key in a table shall be a primary key in some other related table. Nulls A Null can be said as an undefined value or no value. A null is used in the columns where the value is unknown. A null does not mean spaces or blanks. A 'null' value cannot be used in any calculations or comparison operations, A ',mill' is comparable to an infinity. A null is not. equal to another null.
|
|
Domain NamesSQL Database Management Systems Relational Database Management System Properties of RDBMS Client Server Computing Oracle Relational Database Database Structure and Space Management SQL Data Types How to Use Data Types? What is Operators and Conditions Character OperatorsOperator Precedence Data Retrieval Using SQL Plus SQL Data Definitions Data Retrieval Using Select SQL Operator Precedence Selecting Rows and Columns The Group by Clause
Having Clause Union, Union all, Intersact and Minus Commands Playing with Numbers Date Functions Example of Date Arithmetic Working with Null Values
Joining Tables and Subqueries Views Synonyms Indexes Clusters Sequences Formatting Query Results with SQL Plus Data Integrity The Optimizer How Oracle Optimizes SQL Statements Evaluating Expression and ConditionsOptimization Hints PL-SQL PL-SQL Architecture Error Reporting Functions Character Functions Composite Data Types PL-SQL Structures How to use PL-SQL Structures Normalization Operator Precedence Cursor Error Handling Database Triggers Types of Triggers Locking Sub Programs Packages New and Improved Data Types Improved Select Statement Advanced Quering Improved Scalability Improved Performance Via Partitioning Object Relational Features Heterogeneous Data Access Improved Security Administration New Data Types Improved Select Statement Changes to the Select Statement Improved Scalability Data Partitioning Oriented Toward Objects Character Functions Creating Object Types Created Nested Tables Oracle8 and Distributed Database Oracle8 Database Management and Security Distributed Database Invoking Export Invoking ImportWeb DesignWeb HostingE Commerce |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |