BC remote Oracle DBA - Call (800) 766-1884
Free Oracle Tips

Oracle Consulting Oracle Training Development

Remote DBA

 

Remote DBA Plans
Remote DBA Service

 
Remote DBA Oracle Home
Remote DBA Oracle Training
Remote DBA SQL Tuning Consulting
Remote DBA Oracle Tuning Consulting
Remote DBA Data Warehouse Consulting
Remote DBA Oracle Project Management
Remote DBA Oracle Security Assessment
Remote DBA Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Internals Magazine
Oracle Links
Remote DBA Oracle Monitoring
Remote DBA Support Benefits
Remote DBA Plans & Prices
Our Automation Strategy
What We Monitor
Oracle Apps Support
Print Our Brochure
Contact Us (e-mail)
Oracle Job Opportunities
Oracle Consulting Prices





   

 

 

   
  Oracle Tips by Burleson

Functions

In this chapter, we are going to introduce Oracle’s data types.  This defines the set of data that can be stored in the Oracle database.  Next, we will introduce Oracle functions, starting with single row functions, date functions and progressing through multi-row functions.  Oracle functions provide an extraordinary capability to manipulate data as it is queried and returned.  

But first, we need to discuss Oracle data types.  Oracle has three basic data types; numbers, characters (or strings), and dates.  Each data type has a different set of functions for manipulation and conversion.

Oracle Data Types

SQL has several standard data types, and we need to match the data types when we start writing SQL.  In this section, we will introduce the set of data types that are part of the Oracle database.  These data types are called basic or built-in data types.  As we will see near the end of this section, you can use these basic data type to create your own data types.

When you create a table, you must define a data type for each column in that table.  For example, here we define a table with a variable character data type (VARCHAR), a date data type and a number data type: 

create table customer
(
   customer_name     varchar(50),
   birth_date        date,
   income            number
);

The basic Oracle data types fall into the following categories: character; number; date; LOBs; and RAW.  The two main character data types are the char and the varchar2.


The above book excerpt is from:

Easy Oracle SQL

Get Started Fast writing SQL Reports with SQL*Plus

ISBN 0-9727513-7-8

Col. John Garmany 

http://www.rampant-books.com/book_2005_1_easy_sql.htm

Remote DBA Service
 

Oracle Tuning Book

Free Oracle dictionary reference poster

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

North Carolina Oracle Users Group

 

 Arabian horse breeder

Seeing eye horses

 

 

Burleson is the American Team

American Flag

 

 

BC Remote Oracle Support
P.O. Box 511 • Kittrell, NC, 27544

Remote DBA

Remote DBA Services

 

Copyright © 1996 -  2011 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.