Professional Documents
Culture Documents
Database
A database is an application that manages data and allows fast storage and retrieval of that
data. There are different types of database but the most popular is a relational database
that stores data in tables where each row in the table holds the same sort of information. In
the early 1970s, Ted Codd, an IBM researcher devised 12 laws of normalization. These apply
to how the data is stored and relations between different tables.
Database Management Systems
A database management system (DBMS) consists of software that operates databases,
providing storage, access, security, backup and other facilities. The most popular DBMS is
Oracle, Microsoft SQL Server, Microsoft Access and MySQL.
RDBMS components
(RDBMS) include Data Definition Language (DDL) for defining the structure of the
database, Data Control Language (DCL) for defining security/access controls, and Data
Manipulation Language (DML) for querying and updating data.
Types of database
Operational database
These databases store detailed data about the operations of an organization. They are
typically organized by subject matter, process relatively high volumes of updates
using transactions. Essentially every major organization on earth uses such databases.
Examples include customer databases that record contact, credit, and demographic
information about a business' customers, personnel databases that hold information such as
salary, benefits, skills data about employees, manufacturing databases that record details
about product components, parts inventory, and financial databases that keep track of the
organization's money, accounting and financial dealings.
Data warehouse
Data warehouses archive historical data from operational databases and often from external
sources such as market research firms. Often operational data undergoes transformation on
its way into the warehouse, getting summarized, reclassified, etc. The warehouse becomes
the central source of data for use by managers and other end-users who may not have
access to operational data.
Analytical database
Analysts may do their work directly against a data warehouse, or create a separate analytic
database for Online Analytical Processing. For example, a company might extract sales
records for analyzing the effectiveness of advertising and other sales promotions at an
aggregate level.
Distributed database
These are databases of local work-groups and departments at regional offices, branch
offices, manufacturing plants and other work sites. These databases can include segments of
both common operational and common user databases, as well as data generated and used
only at a user’s own site.
Database Programming With Visual Basic 6
Tables/Entity
Tables are a collection of rows and columns that identify occurrences of the entity the table
is representing. It is these tables that consume the space required to hold the information
of our business applications.
Database Field/Columns/Attribute
In database management systems, fields are the smallest units of information you
can access and every field has a name, called the field name. A field can
be required, optional, or calculated. A required field is one in which you must enter data,
while an optional field is one you may leave blank. A calculated field is one whose value is
derived from some formula involving other fields. You do not enter data into a calculated
field; the system automatically determines the correct value.A collection of fields is called
a record.
Database Row/Tuple
Row also called a record or tuple represents a single, implicitly structured data item in
a table. In simple terms, a database table can be thought of as consisting
of rows and columns or fields. Each row in a table represents a set of related data, and
every row in the table has the same structure.
Column 1 Column 2
Row 1 Row 1, Column 1 Row 1, Column 2
Row 2 Row 2, Column 1 Row 2, Column 2
Row 3 Row 3, Column 1 Row 3, Column 2
To create a Table
1. Expand a server group, and then expand a server , and then expand a Database
2. Right-click Tables, and then click New Table.
3. Click in the Column Name and type a unique name for the field.
4. In the Data Type column select the data type you want.
5. In the Length column, type a length according data type.
6. When you are ready to save your table, click Save on the toolbar, and then type a
unique name for the table.
DataType