Académique Documents
Professionnel Documents
Culture Documents
What is a dbms?
A database is any organized collection of interrelated data.
Database Applications:
Banking: all transactions Universities: registration, grades Sales: customers, products, purchases Human resources: employee records, salaries, tax
deductions
DBMS
A database management system (DBMS) such as Access,
Oracle or SQL Server which provides the software tools you need to organize that data in a flexible manner.
It includes tools to add, modify or delete data from the
database, ask queries about the data stored in the database and produce reports summarizing selected contents.
Is to transform
Data
Information
Knowledge
Action
Excel as a database
An Excel list consists of columns and rows of data structured in a specific way: Each column contains the same category of data. (similar to a field in a database)
Each row in the list contains all of the fields of data for one
entity (similar to a record in a database), but called sets of data in Excels terminology .
The first row of the list must contain a unique name at the
Excel as Database
The row containing the column headings must be
formatted (i.e. bold, larger font, italicized, etc.) There can be blank cells in a column, but the entire row cannot be empty. Data can be sorted alphabetically or numerically in Excel using the Quick Sort buttons on the Standard Toolbar. Sorts can be in Ascending (A-Z) or Descending (Z-A) order.
Access, is a database management system from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software-development tools
MS Access stores data in its own format based on the
Access Jet Database Engine. It can also import or link directly to data stored in other applications and databases
Architecture of JET
Locking:
Jet allows multiple users to access the database
concurrently. To prevent that data from being corrupted or invalidated when multiple users try to write to the database, Jet employs a data write locking policy. Any single user can only modify those database records (that is, items in the database) to which they have applied a lock that gives them exclusive access to the record until the lock is released.
Architecture of JET
Transaction processing: Jet supports transaction processing for database systems that have this capability A transaction is a series of operations performed on a database that must be done together this is known as atomicity and is a part of ACID (Atomicity, Consistency, Isolation, and Durability), concepts considered to be the key transaction processing features of a database management system.
Architecture of JET
Data integrity: Jet enforces entity integrity and referential integrity. Entity integrity is one of the key concepts of relational databases, and ensures that no record is able to be duplicated and also ensures that no field (or group of fields) that identify the record (the primary key) are NULL. Referential integrity is where the fields that identify data that exist in a database table (the foreign key) must correspond with an existing primary key in that database
Architecture of JET
Queries: They can be defined in Microsoft QBE (Query By Example), through the Microsoft Access SQL Window or through Access Basic's Data Access Objects (DAO) language. These are then converted to an SQL SELECT statement. The query is then compiled this involves parsing the query (involves syntax checking and determining the columns to query in the database table), then converted into an internal Jet query object format, which is then tokenized and organised into a tree like structure.
MS-Access query
An MS-Access query is a set of stored SQL
instructions that manipulate and/or select data from one or more tables.
Select Query Data grouping and/or filtering Make-Table Query Select + creates/populates new
table. Update Query Updates fields from specified table data Append Query Runs query on one table, appends results to a table Delete Query Delete selected records from table
MS Access Queries
Queries are extremely easy to set up/use and provide an upto-date snapshot of your data at any time. Queries may be used to calculate values based upon existing fields, join fields from separate tables, globally update or delete data, and export linked/calculated data to external programs.
USE
EXCEL
MS ACCESS
YES
YES
Complex user input validation or events (if field X = Y, and field Z is empty, perform some action)
Challenging to accomplish
Yes
Yes
Yes
Excel 2000 and Excel 2003: 65,535 rows Excel 2007 and Excel 2010: 1,048,576 rows
USE Simple cross-references Complex data analysis/queries Events based on user actions (when user exits a field/cell do X, when they mouse over a field/cell do Y) Multiple users, but generally accessing data at different times Multiple users, accessing data at the same time
No
Yes
No
Yes (but can be slow depending on network speed) Yes Yes Yes
Frequent mass-update operations Multiple data entry forms Mail Merge with Word
MS ACCESS Yes Possible with VB coding, backup software,or UI Builder for Microsoft Access
Record-level auditing
No
Expertise Required
Low
Attaching files/links to fields No Sharing information on the Web Yes (Excel 2007 and Excel 2010)
Yes (MS Access 2007 and Access 2010) Yes (Microsoft Access 2010)
MS ACCESS Yes Possible with VB coding, backup software,or UI Builder for Microsoft Access
Record-level auditing
No
Expertise Required
Low
Attaching files/links to fields No Sharing information on the Web Yes (Excel 2007 and Excel 2010)
Yes (MS Access 2007 and Access 2010) Yes (Microsoft Access 2010)
flat database
all information has a one-to-one relationship
MS Access
like multiple spreadsheets that are connected to one
another.
use MS Excel.
IF you have one-to-many or many-to-many
06/06/06
Examples
Printed Phone Directory (White Pages)
Flat database: One-to-one relationships
Library Catalog
Relational database: Many-to-many relationships Library patrons check out many books. Books are checked out by many patrons.
06/06/06
data sharing. MS Excel is best used for minor data collection, manipulation, and especially visualization. SPSS is best used for minor data collection and especially data analysis. It is easy to export data from MS Access to Excel Cheap, readily available
one FTE to maintain the server as a database administrator and another FTE to serve as an application developer).
Includes front-end tools for rapid application development
(RAD).
CALC
StarOffice Calc:
It is Similar to Microsoft Excel. Any part or whole part of calc can be printed in a
desired format. Calc data can viewed in the form of graph or charts. The calc information is transferred to any database or word processing software.
Applications: -Payment of bills -Invoices or bills -Results analysis of student -Financial accounting -Income tax calculation
BASE
StarOffice Base: AdabasD database, a program of similar scale to Microsoft Access. Front end to access Oracle, Informix, Sybase and others. They include over 30 predefined table schemas to help in design. Create Simple Queries without any SQL Knowledge Graphical Interface in Forms Share information through reports
THANK YOU