Openoffice.base by ritesh dansena

Post on 11-Feb-2017

18 Views

Category:

Technology

5 Downloads

Preview:

Click to see full reader

Transcript

OPEN OFFICE.ORG BASE BY-RITESH DANSENA

What is Database ?

A database is a collection

Of logically related data

REDUNDANCY

Duplication of data iscalled data redundancy

Advantages of Database•Reduced Data redundancy•Controlled data inconsistency•Data sharing•Enforcement of standards•Enhanced data

What is Database Management System ?

Database Management System(DBMS)Is a computer program that manages A databse effectively and efficiently.

SOME POPULAR DBMSs

•Microsoft Access•Base of OpenOffic.org•MySQL•Oracle

FEATURES OF BASE•Tables•Queries•Forms•Reports

TABLE

A Table refers to a storageData pertaining to single

Object, subject or purpose.

QUERY

A Query is a statement that gives you filterred data according to your

conditions and specifications.

FORM

A Form is an interface in

user specified layout that

lets users view, enter, change Data directly

in the table.

REPORT

A Report is an effective way to present data in aprinted format. It is a

formal, presentable printeddocument that lists data in

a formatted manner.

STARTING Ooo BASETo start BASE, you may follow these steps :

From the applications menu, Select Office OpenOffice.org

Base

FRONT PAGE OF OPENOFFICE.ORG BASE

CREATING A NEW DATABASECreating a new databaseTo create a new database, click the arrow next to the New icon. In the drop-down menu, select Database(Figure 1). This opens the Database Wizard. You can also open the Database Wizard using File > New >Database.

CREATING DATABASE TABLESTo work with tables, click the Tables icon inthe Database list, or use Alt+a. The threetasks that you can perform on a table arein the Tasklist (see Figure 2).

USING THE WIZARD TO CREATE A TABLE

Step 1: Select fields.Step 2: Set field types and formats.Step 3: Set primary key.Step 4: Create the table.

BASE window componentWhen we see a BASE window, there are variouscomponents that may be used for a variety of tasks.

These components are :1.Title Bar2.Menu Bar3.Toolbar4.Database Windows5.Object Buttons6.Status Bar

FIELD

A field is a data element whichcan store one type of informationwhich is composed of characters.

TYPES OF FIELD

•Fixed length Fields•Variable length Fields

FIXED LENGTH FIELDS

Fixed length fields have fixed lengths i.e., they occupy fixed

number of bytes for every data element they store.

VARIABLE LENGTH FEILDSVariable length fields

have verified field lengths i.e., field length is determined separately foe every data element

inside the field.

Categories of Fixed length fields

Text data typesDate/Time data types Numeral data typesSpecial data types

1.TEXT DATA TYPES

Text (fix) [CHAR]Text [VARCHAR]Text [VARCHAR-IGNORECASE]Memo v[LONGVARCHAR]

2.DATE/TIME Data types

Date [DATE]Time [TIME]Date/Time [TIMESTAMP]

3.NUMERAL DATA TYPES

Whole-Number data typesFractional values data types

WHOLE-NUMBER DATA TYPES

Tiny Integer[TONYINT]Small Integer[SMALLINT]Integer[INT]Big Integer[BIGINT]

FRACTIONAL VALUE DATA TYPES

Float[FLOAT]Real[REAL]Double[DOUBLE]Numeric[NUMERIC]Decimal[DECIMAL]

4.SPECIAL DATA TYPESYes/No[BOOLEAN]Image[LONGVARBINARY]Binary[VARBINARY]Binary(fix)[BINARY]Other[OTHER]

FIELD PROPERTIESEntry RequiredLengthDecimal valueDefault Value

ENTRY REQUIRED field property

This property ensures that data cannot be skipped in the field for which this property

is set to Yes.

LENGTH field property

This property determines the maximum length the data can

have in this field. The data inthe field cannot exceed this limit.

DECIMAL PLACES FIELD PROPERTY

This property specifies thenumber of decimal places

permitted in this field.

DEFAULT VALUE FIELD PROPERTY

The default value is used tospecify the default value for

a field or control.

THANKYOU

top related