PL/SQL (MOSC)

MOSC Banner

Check number formats and masks.

edited Feb 28, 2020 5:11AM in PL/SQL (MOSC) 4 commentsAnswered

Hi,

After a long time without doing PL/SQL...

I need a suggestion from the community, for something that apparently is trivial, but I am a little bit stuck on this.

I am building a load from an CSV file, and there we have a column with the amount.

The CSVs come from different suppliers, and each one can send the amount in different formats.

So I should reject lines from the CSV with amount that are not in correct number format (999,999,999,999.00), because can be an incorrect amount reported by the supplier and should be fixed.

Coming with the formats 999.999.999,00 or 999999999,99, I can do some treatments through PL/SQL to convert.

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