As far Many have Known Bhagavadgita is all about conversation between Krishna and Arjuna.Here is the perspective which you haven’t seen before

  1. Arjuna is the Soul, our Consciousness which is in our physical body
  2. Chariot is our physical body
  3. 5 Horses are the 5 Senses (tongue, eyes, ears, nose and skin)
  4. The reins, symbolize the mind
  5. Krishna is the Intellect, Buddhi which guides the senses(Horses)

In short through buddhi we should control our mind and senses and move towards the Ultimate Consciousness.

Difference between Mind and Buddhi
Mind is the one which provides you with options. Buddhi is the one which allows you to select the Right Option.

SELECT  'Equal' FROM DUAL
 WHERE  NVL(NULL,'') = '';

Output

SELECT  'Equal' FROM DUAL
 WHERE  NVL(NULL,'~') = '~';

Output
Empty

While Passing Parameters to Procedure its should be

SELECT  'Equal' FROM DUAL
 WHERE  NVL(col_name, '~') = NVL(p_param, NVL(col_name, '~'));

While sorting with date it should be converted using to_date first with the required format.

Other wise while sorting in Desc Order 31-02-2015 will come in front of 21-10-2015

SELECT * 
  FROM tableName
ORDER BY to_date(DATE_OF_BIRTH, 'DD-MM-YYYY');

In Oracle if you want to limit the records based on ROWNUM(mostly while doing pagination) the between is not going to work.

Below Doesn’t work

 
 SELECT Column1, Column2, ......., Column N  
   FROM TableName
  WHERE ROWNUM Between 5 AND 10; 

The alternate for this is as Follows

 
SELECT * FROM
 (SELECT rows_to_page.*, ROWNUM rnum FROM
   (SELECT Column1, Column2, ......., Column N  
      FROM TableName
     WHERE ROWNUM Between 5 AND 10) rows_to_page
    WHERE ROWNUM < end_offset) 
 WHERE rnum > start_offset;
--16-12-2015 12:33:21
SELECT SYSDATE FROM dual;

--16-12-2015
SELECT trunc(SYSDATE) FROM dual;

--16-12-2015
SELECT to_date(SYSDATE) AS ToDate  FROM dual;

--16-12-2015
SELECT to_date(SYSDATE, 'DD-MM-YY') AS ToDate  FROM dual;

--16-12-2015
SELECT to_char(SYSDATE, 'DD-MM-YYYY') AS ToDate  FROM dual;

தனிமை என்பது கொடுமை என்று பலரும் எண்ணுகின்றனர். ஆனால், உண்மையில் தனிமை ஓர் சிறந்த ஆசான். வாழ்க்கையை பற்றிய சரியான, உண்மையான பாடங்களை கற்றுக் கொடுப்பதே தனிமை தான். தனிமை ஓர் சிறந்த நண்பன். உங்கள் மீது உண்மையான அன்பு செலுத்துபவர்கள் யார், உங்களிடம் நேர்மையாக நடந்துக் கொள்பவர்கள் யார் என்பதை தனிமை தான் உணர்த்துகிறது.

நீங்கள் தனிமையில் இருக்கும் போது அல்லது தனிமையில் தள்ளப்பட்டிருக்கும் சூழலில் தான் நீங்கள் தான் உங்களது சிறந்த நண்பர் என்பதை உணர முடியும். தனிமை தான் உங்களுக்கு எதையும் கையாள முடியும், கையாள முடியாத நிலை என்று எதுவும் இல்லை என்று கற்றுக் கொடுக்கிறது.

உங்கள் மகிழ்ச்சி பிறரை சார்ந்தது அல்ல என்பதை நீங்கள் உணரும் தருவாய் தனிமை. மற்றும் உங்கள் மகிழ்ச்சி மற்றவரது கைகளில் இல்லை என்பதையும் தனிமை உங்களுக்கு கற்றுக் கொடுக்கிறது. உங்கள் வாழ்க்கை சிறக்க நீங்கள் தான் முடிவெடுக்க வேண்டும் என்பதை தனிமை மட்டுமே கற்றுக் கொடுக்கும்.

நீங்கள் விரும்பும் செயல்களை மற்றவர்களின் துணை அல்லது உதவி இன்றி நீங்களே செய்து முடிக்க முடியும் என்ற ஊக்கத்தை தனிமை தான் அளிக்கிறது. தனிமை உங்களுக்கு அளிக்கும் மிகச்சிறந்த பரிசு, அமைதி மற்றும் பொறுமை. இவை இரண்டும் உங்களை வாழ்க்கையின் அடுத்தக் கட்டத்தை அடைய உதவியாக இருக்கும். உண்மையான உறவுகளை இணைக்கும் பாலம் தான் தனிமை. இது, உங்கள் பெற்றோர், நண்பர்கள் மத்தியில் ஒன்றிணைந்து செயல்பட உதவுகிறது.

Modifying Column Type in Table
Method 1 :

  1. Add a Copy of the Column appending to some identifier to say its a copy i.e _CP
  2. Update the New Column to the Column whose datatype is to be changed
  3. Drop the Old Column
  4. Rename the New Column to Old Column Name
ALTER TABLE TB1 ADD COL_CP VARCHAR2(10);

UPDATE TB1 SET COL_CP = COL1;

ALTER TABLE TB1 DROP COLUMN COL1;

ALTER TABLE TB1 RENAME COLUMN COL_CP to COL1;

In case you are upgrading from Varchar2(250) to Varchar2(4000) the above is not required

Method 2 :

  1. Create a New table(TB2) with the same Columns and Type
  2. Insert the Values into TB2
  3. Truncate or Drop Table TB1
  4. Run the Changes such as New DDL Script
  5. Insert into new Table TB1 from TB2
  6. Drop Table TB2
CREATE TABLE TB1(COL1 NUMBER);

INSERT INTO TB1 VALUES(10);

CREATE TABLE TB2 AS
SELECT * FROM TB1;

DROP TABLE TB1;

.
.
New table Creation Script with New Column Types
.
.
.

INSERT INTO TB1
SELECT * FROM TB2;

DROP TABLE TB2;

While developing Java designers made a Mistake by allowing the static methods to get invoked by instance of a class.

someVariable.SomeMethod() I expect it to use the value of someVariable. If SomeMethod() is a static method, that expectation is invalid.

Language spec allows it like VB does and C# doesn’t.

class Base
{
    static void foo()
    {
        System.out.println("Base.foo()");
    }
}

class Derived extends Base
{
    static void foo()
    {
        System.out.println("Derived.foo()");
    }
}

public class Test
{
    public static void main(String[] args)
    {
        Base b = new Derived();
        b.foo(); // Prints "Base.foo()"
        b = null;
        b.foo(); // Still prints "Base.foo()"
    }
}