Tech Guy on June 22nd, 2009

The syntax for declaring variables is:
variable_name datatype [CONSTANT] [NOT NULL] [:= | DEFAULT initial_value]

For example:
Declaring a variable:
LDescription varchar2(40);

Declaring a constant:
LTotal constant numeric(8,1) := 8363934.1;

Declaring a variable with an initial value (not a constant):
LType varchar2(10) := ‘Example’;

Continue reading about Oracle PL/SQL: Declaring Variables

Tech Guy on June 22nd, 2009

A literal is the same as a constant. We’ll cover three types of literals – text literals, integer literals, and number literals

Continue reading about Oracle PL/SQL: Literals

Tech Guy on June 18th, 2009

This article explains the steps that needs to followed while migrating ORACLE 10g Database from HP UNIX to LINUX platform. This article can also be used for migrating Oracle 10g Database across any platform with slight changes to the steps.

Continue reading about Migrating Oracle Database from HP UNIX to LINUX

Tech Guy on June 12th, 2009

SQL: Data Types
The following is a list of general SQL datatypes that may not be supported by all relational databases.

Data Type Syntax

Oracle 9i

Explanation (if applicable)

dec(p, s)

The maximum precision [...]

Continue reading about Oracle PL/SQL Datatypes