Top Banner
MS Access Database Connection
24

MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Dec 28, 2015

Download

Documents

Agnes Harris
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

MS Access Database Connection

Page 2: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Database?

A database is a program that stores data and records in a structured and queryable format.

The tools that are used for managing, maintaining and querying database are called Database Management Systems.

The language that is used for querying and managing databases is called Structured Query Language (SQL).

Page 3: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Where and How?

Page 4: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

To connect accdb access file from a C# application you should download 2007 Office System Driver: Data Connectivity Components from the link below

Creating a file

!

http://www.microsoft.com/en-us/download/details.aspx?id=23734

!

Page 5: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Creating a table

Table? A table is a structure that holds relational data in

rows and columns. Rows hold data and columns hold types. Column count is constant but row count is

variable. Every table stands for an entity. So for each entity

we will need another table.

Page 6: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Tree rules in table design

Divide data into smallest pieces.

Don’t try to store two different data in one place.

Make sure that you will be able to separate data from another.

Page 7: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Table Creation

Page 8: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Table Creation

Page 9: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Table Creation

Page 10: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Table Creation

Page 11: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Table Creation

Page 12: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Table Creation

Page 13: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Manual data entry

Page 14: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Changing table structure

Page 15: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Changing table structure

Page 16: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

SQL-Query

Page 17: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

SQL-Query

Page 18: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

SQL-Query

Page 19: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

SQL-Query

Page 20: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

SQL Language

Page 21: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

SQL Language

Page 22: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Select?

It is one of the most used commands.

Used for fetching data from one or more tables.

Includes at least two keywords. What will be selected? Where will be selected?

Page 23: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Select?

SELECT column_names FROM table_names

Page 24: MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.

Select?

SELECT TCKIMLIK, AD, SOYAD FROM Personel

We will write our very own SQL statements Select Insert Update Delete Where

Column names Table name