Analytic SQL CAST & VALIDATE_CONVERSION () Function for Data Validation Oracle 12c
HappyCode #0004 : Analytic SQL CAST & VALIDATE_CONVERSION () Function for Data Validation Oracle 12c
We can currently use the SQL CAST function to convert one datatype to another,
although currently there is NULL data or it will return a conversion error.
Which, in the previous version, a data condition containing a NULL value returns an error.
A new function VALIDATE_CONVERSION () can be used to identify if there is a conversion failure will appear,
we use the value = 0, to validate if there is a possibility of returning an error / containing NULL data
Github : https://github.com/happycodingkoe/database_oracle/tree/master/Readmeshare_0004_ORA_SQLValCast
Blog : https://happycodingkoe.blogspot.com/
IG : @happycodingkoe
FB : https://web.facebook.com/happycoding.koe.3
We can currently use the SQL CAST function to convert one datatype to another,
although currently there is NULL data or it will return a conversion error.
Which, in the previous version, a data condition containing a NULL value returns an error.
A new function VALIDATE_CONVERSION () can be used to identify if there is a conversion failure will appear,
we use the value = 0, to validate if there is a possibility of returning an error / containing NULL data
Github : https://github.com/happycodingkoe/database_oracle/tree/master/Readmeshare_0004_ORA_SQLValCast
Blog : https://happycodingkoe.blogspot.com/
IG : @happycodingkoe
FB : https://web.facebook.com/happycoding.koe.3
Komentar
Posting Komentar