Professional Documents
Culture Documents
html
SQL (Structured Query Language) is the most common standardized database language used
to create, retrieve, access, modify, control and manage relational databases. SQL is a querying
language exclusively designed for controlling data and managing databases effectively.
SQL was originally developed by IBM (International Business Machines Corporation) in the
1970's for their DB2 RDBMS. The team of developers included Andrew Richardson, Donald C.
Messerly and Raymond F. Boyce. This first version was initially known as SEQUEL. It was
basically used to modify and query the data stored in IBM's relational database product called
System R. Later, SQL version 3 was officially defined by the American National Standards
Institute (ANSI) in the ANSI SQL: 1999 standard. Most existing DBMS's currently conform to the
earlier ANSI SQL92 standard.
Majority of database management systems implement these standards and add their proprietary
extensions. However, to be attuned with the ANSI standard, they all maintain the key
commands such as SELECT, UPDATE, DELETE, INSERT, WHERE.
SQL helps in the retrieval, insertion, updating, and deletion of data from databases. A
comprehensive database management system (DBMS) also comprises of managerial and
administrative tasks. Oracle produces a procedural version of SQL which it calls PL/SQL. SQL
is supported by every major database system in use today, including MySQL, Postgre SQL,
Berkeley DB, Oracle, DB2, Sybase, Informix, and Microsoft SQL. SQL is often pronounced as
"sequel".
What is SQL?
Although SQL is an ANSI (American National Standards Institute) standard, there are many
different versions of the SQL language.
However, to be compliant with the ANSI standard, they all support at least the major commands
(such as SELECT, UPDATE, DELETE, INSERT, WHERE) in a similar manner.
Note: Most of the SQL database programs also have their own proprietary extensions in
addition to the SQL standard!
Abbreviation of structured query language, and pronounced either see-kwellor as separate
letters. SQL is a standardized query language for requesting information from a database. The
original version called SEQUEL (structured English query language) was designed by
an IBM research center in 1974 and 1975. SQL was first introduced as a commercial database
system in 1979 by Oracle Corporation.
Historically, SQL has been the favorite query language for database management systems
running on minicomputers and mainframes. Increasingly, however, SQL is
being supported by PC database systems because it supports distributed databases (databases
that are spread out over several computer systems). This enables several users on a local-area
network to access the same database simultaneously.
Although there are different dialects of SQL, it is nevertheless the closest thing to
a standard query language that currently exists. In 1986, ANSI approved a rudimentary version
of SQL as the official standard, but most versions of SQL since then have included
many extensions to the ANSI standard. In 1991, ANSI updated the standard. The new standard
is known as SAG SQL
Relational Database
A relational database stores data in separate tables instead of placing all data in one large
table.
A relational database then allows Data Base Administrator's (DBA's) to define relationships
between these tables.
These relationships enable DBA's to combine data from several tables for querying and
reporting.
This is accomplished through the use of keys, which are database fields used to uniquely
identify specific records in a table.
Relational database technology allows databases to be larger, faster, and more efficient.
The concept of a relational database was first developed by Dr. Edger F. (Ted) Codd in A
Relational Model of Data for Large Shared Data Banks in 1970.
Dr. Codd defined thirteen standards which must be met before a database can be considered to
be a relational database:
3. Systematic null value support–The DBMS provides systematic support for the treatment of
null values (unknown or inapplicable data), distinct from default values, and independent of any
domain.
4. Active, online relational catalog–The description of the database and its contents is
represented at the logical level as tables and can therefore be queried using the database
language.
5. Comprehensive data sublanguage–At least one supported language must have a well-
defined syntax and be comprehensive. It must support data definition, manipulation, integrity
rules, authorization, and transactions.
6. View updating rule–All views that are theoretically updatable can be updated through the
system.
7. Set-level insertion, update, and deletion — The DBMS supports not only setlevel retrievals
but also set-level inserts, updates, and deletes.
10. Integrity independence–The database language must be capable of defining integrity rules.
They must be stored in the online catalog, and they cannot be bypassed.
11. Distribution independence–Application programs and ad hoc requests are logically
unaffected when data is first distributed or when it is redistributed.
12. No subversion–It must not be possible to bypass the integrity rules defined through the
database language by using lower-level languages.
Alternatives to the relational database model include the hierarchical model, the network model,
and the object model.
What is a Database?
One of the technology terms that most people have become accustomed to hearing either at
work or while surfing the Internet is the database. The database used to be an extremely
technical term, however with the rise of computer systems and information technology
throughout our culture, the database has become a household term.
While storing data is a great feature of databases, for many database users the most important
feature is quick and simple retrieval of information. In a relational database, it is extremely easy
to pull up information regarding an employee, but relational databases also add the power of
running queries. Queries are requests to pull specific types of information and either show them
in their natural state or create a report using the data. For instance, if you had a database of
employees and it included tables such as salary and job description, you can easily run a query
of which jobs pay over a certain amount. No matter what kind of information you store on your
database, queries can be created using SQL to help answer important questions.
Storing a Database
Databases can be very small (less than 1 MB) or extremely large and complicated (terabytes as
in many government databases), however all databases are usually stored and located on hard
disk or other types of storage devices and are accessed via computer. Large databases may
require separate servers and locations, however many small databases can fit easily as files
located on your computer's hard drive.
Securing a Database
Obviously, many databases store confidential and important information that should not be
easily accessed by just anyone. Many databases require passwords and other security features
in order to access the information. While some databases can be accessed via the Internet
through a network, other databases are closed systems and can only be accessed on site.
Difference between oracle 9i and 10g
http://www.zimbio.com/Education/articles/25Al2N18JwW/Difference+Between+Oracle+9i+Oracle+10g
In 1977 Software Development Laboratories (SDL) developed the Oracle Database software which
is simply known as Oracle. It is an Object-Relational Database Management System (ORDMBS)
which is identified by an alpha numeric system identifier (SID).
The Oracle Database software includes a set of operating system processes such as PMON or
process monitor and SMON or system monitor together and memory with data storage. In 2001,
Oracle 9i was released, the “i” standing for the word “Internet” meaning that it is Internet ready.
Oracle 10g, on the other hand, was released in 2003 to support regular expressions with the letter
“g” standing for “grid” to emphasize Oracle 10g as grid computing ready.
Summary:-
clusters)
2. Data pump replaces imp utility with impdp - faster data movement with expdp and
impdp
14. New asmcmd utility for managing asm storage hope this helps! avishek