PL/SQL Program to Swap two Numbers

Here you will get pl/sql program to swap two numbers with and without using temporary variable.

Method 1: Using Temporary Variable


before swapping:
a=5 b=10
after swapping:
a=10 b=5

Method 2: Without Using Temporary Variable

Leave a Comment

Your email address will not be published. Required fields are marked *