In Oracle we work with many types of datatypes. Some of the most popular datatypes are as follows:
Datatypes:-
CHAR : Values of this datatype are fixed length character strings of maximum length of 255 character. ORACLE7 compares CHAR using blank-padded comparison semantics.
VARCHAR/VARCHAR2 : Values of this datatype are variable character strings of maximum length 2000.
Number : The Number datatype is used to store numbers (fixed of floating point). Numbers of virtually any magnitude may be stored up to 38 digits of precision. Numbers as large as 9.99 * 10 to the power of 124, i,e 1 followed by 125 zeros can be stored.
Date: The standard format is DD-MM-YY as in 18-OCT-1958. To enter dates other than the standard format use the appropriate functions. Data Time stores date in the 24-hours format. By default, the time in a date is 12:00:00 am, if no time portion is specified. The default date for a date field is the first day of the current month.
Long: Cells defined as LONG can store variable length characters strings containing upto 65,535 characters. Long date can be used to store arrays of binary data in ASCII format.
Submitted to RB by Angel Fish
- What is the main use of Report Writer in Oracle?
- What is the main function of SQL * Plus in Oracle?
- Most popular Generic SQL commands used in Oracle.
- How to connect different databases such as Oracle, Sql Server, MS Access etc using Visual Studio.Net? [Free Source Code]
- What are the main use of Oracle Forms?
- What do you mean by Oracle Database Administrator?
- What are the significant data types that a cell can hold in Oracle Developer 2000?
- What is the command/syntax for creating tables in Oracle?
- How to work with SQL * Plus in Oracle Developer 2000?
- What do you mean by Oracle Server?
- What is the main function of Oracle DBA?
- How to create a table from a table in Oracle?
- How to Add/Insert, Update/Edit & Search Data in Oracle database using Visual Studio.NET? [Free Source Code]
- How to Create Max ID of Access/SQL Server/Oracle Database through Visual Studio .Net (VB.Net)? [Free source code]
- How to create two dimension Matrix in Oracle?