Suman Shrestha

Snippets | Suman Shrestha

Code Snippets & Insights

20 articles

PL/SQL Packages for Modular Code

Organize related procedures and functions into reusable PL/SQL packages

Oracle Recursive CTEs for Hierarchical Data

Query hierarchical and tree-structured data with recursive Common Table Expressions

PL/SQL Exception Handling

Handle errors gracefully in PL/SQL with proper exception handling

Oracle Analytical Functions Deep Dive

Perform complex calculations over data sets with Oracle analytical functions

Oracle Sequences for Auto-Increment

Generate unique sequential numbers with Oracle sequences

PL/SQL Cursor Types and Usage

Work with explicit and implicit cursors in PL/SQL for row-by-row processing

Working with JSON in Oracle Database

Store, query, and manipulate JSON data using Oracle's native JSON functions

PL/SQL Bulk Collect for Performance

Dramatically improve PL/SQL performance by fetching multiple rows at once with BULK COLLECT

Window Functions in Oracle SQL

Perform calculations across rows with Oracle window functions for advanced analytics

Using MERGE for Upsert Operations in Oracle

Perform conditional INSERT, UPDATE, or DELETE operations with Oracle's MERGE statement

Using LISTAGG for String Aggregation in Oracle

Concatenate values from multiple rows into a single string using Oracle's LISTAGG function

Oracle: Having Hidden column

Learn how to keep columns hidden in Oracle Database.

14 SQL Query Optimization Techniques

Discover the top 20 SQL query optimization techniques that can significantly enhance database performance.

Parameterized Cursor in PL/SQL

Example of using a parameterized cursor in PL/SQL.

PRAGMA AUTONOMOUS_TRANSACTION

PRAGMA AUTONOMOUS_TRANSACTION provides flexibility and control over transaction management within PL/SQL procedures and functions, allowing for better modularization and error handling in database applications.

Loading more articles...

-

Need one on one help with Laravel and its ecosystem?

Talk to me now if you need my help. Click here