It's you

5 December 2024

You are the most precious gift
you could ever wish for.
You are the light that guides you
through the darkest nights.
You are the Santa
you’ve always dreamed of.
You are the Christmas
you’ve been waiting for.

Varchar datatype limits

30 November 2024

For NVARCHAR2 and VARCHAR2 maximum size is 4000 bytes, or 32767 bytes if the MAX_STRING_SIZE initialization parameter is set to EXTENDED. This is useful you have to allocate more data to a variable.

You can run the below command to view the parameter.

show parameter MAX_STRING_SIZE;
References

Oracle Doc, Max string size

Hope

28 November 2024

To my daughter,

In the midst of the war,
Amid the heart-aching pain,
Through the windy nights,
On my darkest days,
You are my hope.

പ്രകാശഗോപുരം

21 November 2024

ഇരുട്ടിന്റെ കയങ്ങളിലും
ആഴിത്തിരമാലയുടെ ഉലച്ചിലിലും
പതറാതെ നീ യാത്ര തുടരുക.

മറുകരയിൽ നിന്നെയും കാത്ത്
ഒരു പ്രകാശഗോപുരം കണക്കെ
ഞാൻ കാത്തിരിപ്പുണ്ട്.

Writing

20 November 2024

I want to write something every day. I don’t know what to write, but I love to write.

I don’t want to write for publishing; I want to write for the sake of writing.

I think I can write about myself, the thoughts in my head, or the things around me.

So, I am writing here to feel alive.

Light is coming

18 November 2024

To those who are in dark: Hold on, light is coming—and it’s within you.

ഓർമ്മകൾ

15 November 2024

എല്ലാ യാത്രകൾക്ക് ശേഷവും
അവസാനിക്കുന്നത് മനോഹരമായ
ഓർമ്മകളാണ്.
നിങ്ങൾ, നിറങ്ങൾ, ചിറകുകൾ
എല്ലാമൊരു മധുരസ്വപ്നം പോലെ
ഭംഗിയുള്ളത്.

നുകരട്ടെ ഞാൻ ആവോളം,
ഇതെല്ലാം ആസ്വദിക്കാൻ
കാലമിനിയും അവസരം തരട്ടെ.

Moment

13 November 2024

I want to live in this moment because it’s all I truly own. Once it’s gone, it’s gone forever.

PL/SQL commands to view the table details

13 November 2024

In Oracle PL/SQL, you can use the following commands to view table details:

  1. DESCRIBE or DESC

    DESC table_name;
    

    Displays columns, data types, and constraints.

  2. USER_TAB_COLUMNS

    SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
    FROM USER_TAB_COLUMNS
    WHERE TABLE_NAME = 'TABLE_NAME';
    

    Shows details about columns for tables owned by the user.

  3. ALL_TAB_COLUMNS

    SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
    FROM ALL_TAB_COLUMNS
    WHERE TABLE_NAME = 'TABLE_NAME';
    

    Provides column information for tables accessible to the user.

  4. DBMS_METADATA.GET_DDL

    SELECT DBMS_METADATA.GET_DDL('TABLE', 'TABLE_NAME') FROM DUAL;
    

    Displays the CREATE TABLE statement for table structure details.

To view constraints on the table, you can check here.