0% found this document useful (0 votes)
83 views3 pages

Chapter 9 Starting With LibreOffice Base

Chapter 9 discusses the various data types in LibreOffice Base, including Text, Numeric, Currency, Date, Boolean, and Binary data types. It provides detailed descriptions and examples of each type, as well as instructions for starting LibreOffice Base and creating a table using either design view or a wizard. The chapter serves as a guide for users to effectively manage and organize data within the software.

Uploaded by

naaziagupta
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)
83 views3 pages

Chapter 9 Starting With LibreOffice Base

Chapter 9 discusses the various data types in LibreOffice Base, including Text, Numeric, Currency, Date, Boolean, and Binary data types. It provides detailed descriptions and examples of each type, as well as instructions for starting LibreOffice Base and creating a table using either design view or a wizard. The chapter serves as a guide for users to effectively manage and organize data within the software.

Uploaded by

naaziagupta
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/ 3

Chapter 9: Starting with LibreOffice Base

Data Types

A data type refers to the type of data that will be stored in that particular field. The memory size of a
field varies according to its data type. There are six different types of data type in LibreOffice Base –

 Text Data Types


 Numeric Data Type
 Currency Data Type
 Date Data Type
 Boolean Data Type
 Binary Data Type

Text Data Types

The text data consists of a mix of special characters, numbers, and letters. With text data, no
mathematical operations may be carried out. PAN card numbers, names, marks, and other data types
are examples of text data.

The lists of various data types that can store textual data –

Name Data Type Description


Memo data type allows to store text data up to
Memo LONGVARCHAR
64000 characters.
Character data type is used to enter fixed number of characters
Text(fix) CHAR
for example AADHAR NO, ACCOUNT NO, PASSPORT NO etc.
Stores upto the specified length, the number of bytes allocated
Text VARCHAR
depends on the number of characters entered by the user.

Numeric Data Type

Numeric Data type contains numbers. The number can be integer, real, float or double.

List of different numeric data types are –

Name Data type Signed Range


Tiny Integer TYNYINT No 0-255
Small Integer SMALLINT Yes -32768 to 32768
Integer INTEGER Yes -2.14×109 to 2.14×109
BigInt BIGINT Yes -2.3×1018 to 2.3×1018
Number NUMERIC Yes Unlimited
Decimal DECIMAL Yes Unlimited
Float FLOAT Yes
Real REAL Yes 5×10(-324) to 1.79×10(308)
Double DOUBLE Yes
Currency Data Type

Currency Data type contains monetary values and can store currencies of different countries.

Date Data Type

This data type is basically used for date and time. There are various formats used to store date and
time.

List of various forms of date data types are –

Name Description
Date Stores the year, month and day as it is stored in the system.
Time Stores the time of the day as hour, minute and second.
Timestamp Stores date and time information at once.

Boolean

In boolean data type there are only two values – True or False, This also can be given in multiple
formats like Yes/No, True/False, On/Off.

Binary

The binary datatype is used to store digital images and sounds.

Starting with LibreOffice Base

LibreOffice base is a database management software belonging to LibreOffice suite, It is free and
open source software for creating and managing data. It also allows you to create a query for
retrieving desired results from the database.

Steps for starting LibreOffice Base –

 Step 1: Click on Start > LibreOffice base


 Step 2: In Database Wizard, Click on Create a new database
 Step 3: After Creating a new database, Click on Yes, register the database for me
 Step 4: Click on Finish, Now your database will be created

Creating a Table

After creating a database now you will start working with objects of the database, The first object we
are going to create is Create Table. There are two different method to create table –

1. Create Table using design View


2. Create Table using a Wizard

Creating Table in Design View

 Step 1: Click on Table


 Step 2: Click on Create Table in Design View
 Step 3: Enter Field Name, Field Type and Description
 Step 4: Click on Save
Steps for Creating Table using a Wizard

 Step 1: Click on Table


 Step 2: Click on Use Wizard to Create Table
 Step 3: Select the field which you want
 Step 4: Click on Finish

You might also like