A collection of tech notes, personal reflections, and evolving thoughts about whatever’s caught my curiosity.

notes

Happy Birthday

3 April 2025
essay

Dear time, please tell me how.

2 April 2025
Do I think I have enough time for everything? I'm not sure. But one thing I do know is that life is finite, and my time here is limited....
notes

ചുംബനം

2 April 2025

ഇനി നാം കാണുമ്പോൾ
ചുംബനം കൊണ്ട്
ചുണ്ടുകൾ കോർക്കാം നമുക്ക്.

notes

നിമിഷം

1 April 2025

നിങ്ങളുടെ പ്രണയത്തിൻ്റെ ഏറ്റവും മനോഹരമായ നിമിഷമേതാണ് ?!

നിൻ്റെ ചിരി ആദ്യമായി കണ്ട നിമിഷം.

അയാൾ മകളോട് ഉത്തരം പറഞ്ഞു.

notes

Don't link my writings with my life.

31 March 2025

I hate when people connect my life to my writings.

I’m just a person who writes, the only thing that should matter is what I write.

notes

തോറ്റുപോയവർ

30 March 2025

വിജയിച്ചവരുടെ ഈ ലോകത്ത്,
തോറ്റുപോയ മനുഷ്യർക്കൊപ്പമാണ്
നാം എല്ലാകാലവും നിലനിൽക്കേണ്ടത്.

അത് ക്രിക്കറ്റ് കളിയിലായാലും
ജീവിതത്തിലായാലും.

notes

Bahrain Bay

7 March 2025

In night we went to Bahrain bay and tool some photos. Here are the few snaps.

notes

Good old days

12 January 2025

Can I go back to the good old days
just for one last time?

To smile without the weight of pain,
and breathe in the calm of peace.
To make myself believe that chaos
and suffering no longer lingers within me.

To live a life unburdened by curses,
to feel blessed-
the way I always deserved to be.

Can I go back to the time
when everything seemed beautiful,
even if only in my dreams,
just one more last time?

notes

To extract the value of a tag from an XML-like string in PL/SQL

12 January 2025

To extract the value of a tag from the given XML-like string in PL/SQL, you can use the EXTRACTVALUE function or XMLTABLE for XML processing.

Example Using EXTRACTVALUE

DECLARE
    xml_data CLOB := '<Status>200</Status><Message>Success</Message>';
    l_message VARCHAR2(50);
BEGIN
    -- Extract the FunctionalReferenceID value
    l_message := EXTRACTVALUE(XMLTYPE('<root>' || xml_data || '</root>'), '/root/Message');
    
    -- Print the value
    DBMS_OUTPUT.PUT_LINE('FunctionalReferenceID: ' || l_message);
END;

Example Using XMLTABLE

DECLARE
    xml_data CLOB := '<Status>200</Status><Message>Success</Message>';
    l_message VARCHAR2(50);
BEGIN
    -- Use XMLTABLE to extract the Message
    SELECT value
    INTO l_message
    FROM XMLTABLE(
        '/root/Message'
        PASSING XMLTYPE('<root>' || xml_data || '</root>')
        COLUMNS value VARCHAR2(50) PATH '.'
    );

    -- Print the value
    DBMS_OUTPUT.PUT_LINE('Message: ' || l_message);
END;

EXTRACTVALUE, XMLTABLE