To update a column with a random value in PL/SQL, you can use the DBMS_RANDOM
package, which provides functions for generating random numbers or strings.
The Oracle MINUS
operator returns all rows from the first query that are not present in the second query. Each SELECT
statement defines a dataset, and the MINUS
operator retrieves all records from the first dataset, excluding any that also appear in the second dataset.
select stock_id, stock_name
from stock_master
where active = 'Y'
minus
select stock_poid, stock_desc
from stock_ledger
where transaction_date > '01-JAN-24'
Use the share button below if you liked it.
It makes me smile, when I see it.