SQL Language (MOSC)

MOSC Banner

masking

edited Jan 24, 2018 1:26PM in SQL Language (MOSC) 4 commentsAnswered

I need to mask a substring of a column.

example the account_id is the first 3 letters of my last name (name_id) and the last 4 of my cc_number. 

I need to mask this account_id column that is located EVERYWHERE.

I need to create a foreign key constraint on name_id (VARCHAR2(3)) and substr(account_id,1,3) so the masking process can do its magic.

I was able to get the key in a view but the view wasn't updateable!

I indexed the column on the first 3 characters of the account_id but couldn't get the foreign key on index working.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center