Jump to content

Recommended Posts

Posted

Hi All,

I need your help in oracle query Suppose I have a column called  'A' with 10 digits in length 
I also have a column called 'B'  

      A                                          B
1234567890                           SAM
2345678912                           HELLO
7364557382                           MORNING 

 

I want to mask column A and replace the first 5 digits with column B.

Post masking :
SAM   67890  (with 2 spaces)
HELLO78912
 
MORNI557382   
Posted

Do you want to do persistently change in database. Or just show this data in this changed form to user.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...