Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Oracle Database XE 11gR2 Jump Start Guide

You're reading from  Oracle Database XE 11gR2 Jump Start Guide

Product type Book
Published in Jul 2012
Publisher Packt
ISBN-13 9781849686747
Pages 146 pages
Edition 1st Edition
Languages
Author (1):
Asif Momen Asif Momen
Profile icon Asif Momen

Table of Contents (20) Chapters

Oracle Database XE 11gR2 Jump Start Guide
Credits
About the Author
Acknowledgement
About the Reviewers
1. www.PacktPub.com
2. Preface
1. Database Editions and Oracle Database XE 2. Installing and Uninstalling Oracle Database XE 3. Connecting and Configuring Oracle Database 11g XE 4. Accessing Table Data, DML Statements, and Transactions 5. Creating and Managing Schema Objects 6. Developing Stored Subprograms and Triggers 7. Building a Sample Application with Oracle Application Express 8. Managing Database and Database Storage 9. Moving Data between Oracle Databases 10. Upgrading Oracle Database 11g XE to Other Database Editions 11. Backup and Recovery 12. Tuning Oracle Database 11g XE Features Available with Oracle Database 11g XE

Exploring common functions


We can use Oracle Supplied functions in our queries. Alternatively, we can create our own functions and later use them in queries. We will learn about functions in the following chapters. In this section, we will explore a few commonly used functions. A complete list of Oracle Supplied functions is out of the scope of this book. You can refer to the Oracle documentation for more details.

Functions in Oracle can be of type scalar or aggregate. Scalar functions operate on a single row whereas the aggregate functions work on multiple rows. In this book we will cover the following Oracle Supplied functions:

UPPER

RPAD

MAX

TO_NUMBER

LOWER

LPAD

MIN

TO_DATE

CONCAT or ("||")

SUBSTR

AVG

 

LTRIM

COUNT

ADD_MONTHS

 

RTRIM

SUM

TO_CHAR

 

The UPPER function converts the character string to uppercase. Similarly, the LOWER function converts a given string to lowercase. The following is a sample query from an HR schema:

SQL> SELECT...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}