I have a column in the table which I want to update based on single row function, but when I try it says
"single-row subquery returns more than one row"
How can I fix this problem??
update transaction_account
set dr_card_number =(select rpad(
lpad(
substr(
dr_card_number, 5, 8),
12,
'*'),
16,
'*'
) as mytable
from transaction_account);