Openoffice.base by ritesh dansena

34
OPEN OFFICE.ORG BASE BY-RITESH DANSENA

Transcript of Openoffice.base by ritesh dansena

Page 1: Openoffice.base by ritesh dansena

OPEN OFFICE.ORG BASE BY-RITESH DANSENA

Page 2: Openoffice.base by ritesh dansena

What is Database ?

A database is a collection

Of logically related data

Page 3: Openoffice.base by ritesh dansena

REDUNDANCY

Duplication of data iscalled data redundancy

Page 4: Openoffice.base by ritesh dansena

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

Page 5: Openoffice.base by ritesh dansena

What is Database Management System ?

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

Page 6: Openoffice.base by ritesh dansena

SOME POPULAR DBMSs

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

Page 7: Openoffice.base by ritesh dansena

FEATURES OF BASE•Tables•Queries•Forms•Reports

Page 8: Openoffice.base by ritesh dansena

TABLE

A Table refers to a storageData pertaining to single

Object, subject or purpose.

Page 9: Openoffice.base by ritesh dansena

QUERY

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

conditions and specifications.

Page 10: Openoffice.base by ritesh dansena

FORM

A Form is an interface in

user specified layout that

lets users view, enter, change Data directly

in the table.

Page 11: Openoffice.base by ritesh dansena

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.

Page 12: Openoffice.base by ritesh dansena

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

From the applications menu, Select Office OpenOffice.org

Base

Page 13: Openoffice.base by ritesh dansena

FRONT PAGE OF OPENOFFICE.ORG BASE

Page 14: Openoffice.base by ritesh dansena

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.

Page 15: Openoffice.base by ritesh dansena

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).

Page 16: Openoffice.base by ritesh dansena

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.

Page 17: Openoffice.base by ritesh dansena

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

Page 18: Openoffice.base by ritesh dansena

FIELD

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

Page 19: Openoffice.base by ritesh dansena

TYPES OF FIELD

•Fixed length Fields•Variable length Fields

Page 20: Openoffice.base by ritesh dansena

FIXED LENGTH FIELDS

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

number of bytes for every data element they store.

Page 21: Openoffice.base by ritesh dansena

VARIABLE LENGTH FEILDSVariable length fields

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

inside the field.

Page 22: Openoffice.base by ritesh dansena

Categories of Fixed length fields

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

Page 23: Openoffice.base by ritesh dansena

1.TEXT DATA TYPES

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

Page 24: Openoffice.base by ritesh dansena

2.DATE/TIME Data types

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

Page 25: Openoffice.base by ritesh dansena

3.NUMERAL DATA TYPES

Whole-Number data typesFractional values data types

Page 26: Openoffice.base by ritesh dansena

WHOLE-NUMBER DATA TYPES

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

Page 27: Openoffice.base by ritesh dansena

FRACTIONAL VALUE DATA TYPES

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

Page 28: Openoffice.base by ritesh dansena

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

Page 29: Openoffice.base by ritesh dansena

FIELD PROPERTIESEntry RequiredLengthDecimal valueDefault Value

Page 30: Openoffice.base by ritesh dansena

ENTRY REQUIRED field property

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

is set to Yes.

Page 31: Openoffice.base by ritesh dansena

LENGTH field property

This property determines the maximum length the data can

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

Page 32: Openoffice.base by ritesh dansena

DECIMAL PLACES FIELD PROPERTY

This property specifies thenumber of decimal places

permitted in this field.

Page 33: Openoffice.base by ritesh dansena

DEFAULT VALUE FIELD PROPERTY

The default value is used tospecify the default value for

a field or control.

Page 34: Openoffice.base by ritesh dansena

THANKYOU