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

essay

That’s because I’m evolving

16 November 2024
As I continue to grow, I'm evolving in every part of my life. I'm constantly reading, learning, experiencing new things, with that my ideologies and opinions have evolved over time...
notes

Bahrain Airshow

15 November 2024

Went to the Bahrain Airshow with Gino, and friends. It was an amazing experience filled with excitement. Witnessed incredible performances by the Indian Air Force Sarang Helicopter team, the U.S. Fighting Falcon, the Pakistan Air Force Thunder demo, and the Saudi Hawks. The Saudi fighter team’s display was truly spectacular. Had the chance to meet U.S. pilots also.

Explored a helicopter for the first time, checking off a bucket list item! A day filled with awe, adventure, and unforgettable memories.

notes

ഓർമ്മകൾ

15 November 2024

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

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

essay

View posts grouped by month in Hugo

14 November 2024
A few months ago, I wrote a post on creating a feed page to list all posts on my Hugo website in a card format with pagination. Even though I am able to view the full posts...
notes

Winder rides

14 November 2024

Today is throwback thursday and here is beautiful view of Bahrain in the winter.

notes

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.

notes

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.

notes

Use Flashback Query

11 November 2024

If your Oracle database has Flashback enabled, you can query past versions of data within a specified retention period. Here’s how to use Flashback to retrieve a prior state of data:

SELECT * 
FROM your_table AS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL '5' MINUTE) 
WHERE your_condition;

Replace SYSTIMESTAMP - INTERVAL '5' MINUTE with the timestamp or interval that reflects when the data was last known to be in its old state.

Note: Flashback must be enabled, and it’s only available within the Flashback retention window, which depends on your database configuration.

References

Killians Bytes

essay

Favourite movie quotes

9 November 2024
I’m a huge fan of good movies, and I’ve always loved great dialogues. So, I thought I’d compile some of my favorite movie lines into one post and share them here...