0% found this document useful (0 votes)
35 views5 pages

DBMS SS PDF

This document provides steps to create a database in Microsoft Access and add data to tables. It includes: 1) Opening MS Access, clicking "File > New" and selecting "Blank Database" to start a new database. 2) Entering a name for the database file and clicking "Create" to make the database. 3) Adding tables to the database by defining columns and their data types. 4) Adding data to tables by entering values directly into the datasheet view.

Uploaded by

Ranit Banerjee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views5 pages

DBMS SS PDF

This document provides steps to create a database in Microsoft Access and add data to tables. It includes: 1) Opening MS Access, clicking "File > New" and selecting "Blank Database" to start a new database. 2) Entering a name for the database file and clicking "Create" to make the database. 3) Adding tables to the database by defining columns and their data types. 4) Adding data to tables by entering values directly into the datasheet view.

Uploaded by

Ranit Banerjee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

e ED aPPcatio w d o w w w dPPEd

ACcess
ecent
O p Oma

Steps 4) Press 'Esc


Result: This will open the MS ACCESS windows application

How to Create a Database


Technically, Database store the data in a well-organized manner for easy access and retrieval.

File > New


Step 1)With MS ACCESS application open, Click on

HomeCeat Eatermal CataOat

Click on 'File
Step 2) Cick on Blank Database.
Acc

New
Click on 'Blank Database'
Search fo plates

Sargro Dataa eg hestry uets ersona cotats

Acront

Cantats Aset t r h i n studem

6/32
Step 3) File name box will appear with the default file name.

Blank database
Should Ieeste an Acoess A9p or an AcceSs desktog.database?
Fle Name
Oatabasel.accdb

CUsen

Default File Name as


'Databasel.accb
Create

Step 4) Enter the new name.


Blank database
Should I.create.an Access.app.OL an Access desktop database?
File Name
Guru99.accdb
CUsers

New file name as 'Guru99


Create

Step 5) Click on 'Create.'

Blank database
Shesld Lsreste.an Access.app.RL.an.Access.desktog.database?
File Name

Guru99 accdb
CAUses

reate

Click Here
Step 1) rirst u i c k Credte tdo. Tnen TOm T a o E BOup, Chck d e

Nigon
Port aad r fo More Foms Design port
Oue orms Reports Aac

All Acc
h deey s he s e
Click here toselect 'Create' Tab
define
aile, or o h e a De

Tell me
Click here to Create Table
in 'Datasheet view'

Step 2) System will display the default tablecreated with 'Tablel'name.


DKAB 12 D Data fype A 7/32
More Fds

All Acc
ByDefault Table1' created

Step3) To Rename Column, double click on Column Header and enter the new column Name
AB 12 aTe
Me

All Acc

Double click and enter new column


name as 'Course_ID

Note that the Data type of Course_ID is 'AutoNumber. Hence this is also the Unique Key of the table.
O D a t e & Time Name & Caption abl utoumber
Ves/No Defau Va Forml
Dea S Mod S %
TMore Felds Setings 9
Propertes
Tablie
coURSE 1D RSE NAME Click toAdd
NEw
Data type of Course_ID is Auto Number

Step 4) You can Add Column by clicking on any category from the 'Add & Delete' group. Alternatively, you
can also add a column by clicking on 'Click to Add', For Example, click on 'Short Text' from the 'Add & Delete'
group.
L2

Click 'Short Text' from Add & Delete Group


File Home Create Extenal Data Database Tools Fields TfableV

Date & Time Name &Caption


D AB 12 O
Default Value
rencye/No
View
Shot umo Delete
lMore Fields- Field Size 255
Views Add &Delete PIOpe
All Acc. « Table
cOURSE ID i e l d
Search ick to Add
Tables (New
Tablet
New Column will be
Tale added with default name
as"Field1'

Step 6) Click on Header and rename as 'COURSE NAME.


File Home Create Eternal Data Database Tools Fields Table Tell me what y

AB 12 O DDate & Time EName & Caption


View Short Yes/No elete
Defauit Value ModilyMo
u EMore Fields Field Sizee 255
Lookups Expr
Views
Add Delete Properties

All AcC... « Tatilet


Search P cOURSEID
(New)
cOURSENAME to Add 8/32
Tables
Tablet Enterthe new name as
Table2
'COURSENAME'
Step7) Press 'Ctri+S and Enter the new table name to savethe table.
Save As

Table name 'Course'


Table Name:
Course
OK Cancel

Step 8) You can also save new Name, Caption and Short description for any Column by clicking on 'Name and
Caption. Click on it
AB 12 DTe Click here to
Viw select 'Field'
More Fiuds Fd Se 25

Add Delt ties ab

All AcC. Coune Name Caption


COURSE 1D COURSE NAMEClick to Ads
(New)
Tales
nure Click here Name and
Caption Dialog Box.
COURSE ID COURSE NAME Click to Add
(New)

Enter Feld Properties

Actual Name of the Column:


coune ame COURSE NAME
User Viewable name of
Column:'cOURSE NAME
Short Description of Column

MS ACCESS-Adding Data
We have created tables Course and Course_Strength. There are two ways to add data. One is Datasheet view
and other from Form. We will learn to add data from Datasheet view in this section. There is no need to save
the data manually. Once you click other rows, Access automatically saves the data. The only thing we need to
take care while adding data is, we should enter the correct data type, i.e., if Column is defined as Number we
can add o number and not text.

Step 1) Select the 'Course' table

All Access Obje..


Search
Iblar
Course
Course_Strength

Steps 2) Select the Datasheet view option in the ribbon and add some data by entering the values in It.
Updated Data will be Autosaved.
Course CounseSeength
coURSE 1D COURSE NAMECick to Add
1MS ACCESS
2 MS SQL
3 PL/SQL
4 MY SQL

New Course name added by


clicking on each row.
Since Course_ID is of
'AutoNumber
datatype, it will automatically
incrementits value by1

Now let's say You want to delete 4th row with 'My SQL' as Course name.

NOTES ON MS-ACCESS BY ANGSHUMAN SARKAR (NARASINHA DUTT COLLEGE)

Step 3) Select the row by clicking on the leftmost column and Right Click on the row. The
options menu will appear with the 'Delete Record' Option

All Acc.. coURSEIO CoURSE NAMECick to Add


1 MS ACCESS
Tabiles 2 MS S
Cu
3PUSC

te eond
py

and right Click on 'Delete Record'


Select the row

You might also like