Download - Lab 4 (Served n Client Db)

Transcript
Page 1: Lab 4 (Served n Client Db)

LAB NO:4

OBJECT:-TO LEARN DESKTOP AND SERVER

DATABASE.

SERVER DATABASE:

A database server is a computer program that provides database services to other computer programs

or computers, as defined by the client–server model. The term may also refer to a computer dedicated to

running such a program. Database management systems frequently provide database server

functionality, and some DBMSs (e.g., MySQL) rely exclusively on the client–server model for database

access.

Such a server is accessed either through a "front end" running on the user’s computer which displays

requested data or the "back end" which runs on the server and handles tasks such as data analysis and

storage.

Here if we make changes in client database then these changes will not be shown into the server

database. Server database is represented with the extension .be.

SPLITING A DATABASE:-

Create a blank database with the name mydatabase

Page 2: Lab 4 (Served n Client Db)

Create table in the design view

Selecting the input mask as password

Page 3: Lab 4 (Served n Client Db)

Enter few records in database table view

Creating a new table in the same database

Page 4: Lab 4 (Served n Client Db)

Enter few records in the new table in the datasheet view

Splitting the database tables into client copy and server copy

For this reason On the ribbon, click Database tools:-

Page 5: Lab 4 (Served n Client Db)

In the Move Data section, click Access database:-

Click the split Database button and database will be saved with the file name_be.E.g

mydatabase_be.

Page 6: Lab 4 (Served n Client Db)

Now we will try to make changes in the client copy we will see that these changes will not effect

the server copy.

we see that when we try to make change in the client cpy an error appears.

Changes in server copy:

Now we will try to make changes in the server copy and will see its effect on the cliect copy

Page 7: Lab 4 (Served n Client Db)

Changes made in server copy are shown in client copy