How to make the Oracle INITCAP function work to format raw data collected from a csv file during Identity Data Collection in RSA Via Lifecycle and Governance
Originally Published: 2016-07-21
Article Number
Applies To
Issue
Identity Data Collection having csv as the DB type and using driver class com.hxtt.sql.text.TextDriver
CSV file containing data to be collected by Identity Data Collection
In the example below, lines 2, 3, 7 and 9 have the emploees' first names and last names in all capital letters. These need to be formatted with a capitalized first letter of the word during collection (Michael Jackson vs. MICHAEL JACKSON).
The Oracle INITCAP function returns a character string with the first letter of each word converted to uppercase (also called title case).All other letters in the string are converted to lowercase.
The Oracle INITCAP function works as expected in Oracle SQL Developer.
The Oracle INITCAP function works as expected in Oracle SQL Developer.
When using the Oracle INITCAP function in the IDC User Data Query to capitalize the first letter of the first name and last name:
As in the example below, the first names and last names are not formatted correctly. Results after running the collection and verifying the raw data. Note the first name and last name are still in all caps.
Resolution
- Convert the string to lowercase using LOWER, then apply the INITCAP function.
INITCAP(LOWER(FIRSTNAME)) AS FIRSTNAME INITCAP(LOWER(LASTNAME)) AS LASTNAME
- Modify the collector definition "User Data Query" as follows:
- Run the collection and verify that the raw data are formatted correctly now; that is, that the first and last names' first letter is capitalized.
Related Articles
CSV Data Collectors of Data Source Type Database do not populate all fields with data when joining multiple CSV files in R… 62Number of Views Raw Data counts and Task Result counts in Role Collector data runs are sometimes inconsistent in RSA Identity Governance &… 46Number of Views How to collect data from a .csv file on a password protected FTP server in RSA Identity Governance and Lifecycle 7.0.0 66Number of Views Access denied insufficient privileges error when clicking on entitlement Information icon in RSA Identity Governance and L… 97Number of Views Active Directory Account Data Collectors are failing in pre-processing in RSA Identity Governance & Lifecycle 52Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide How to Download OTP Token Seed Files from myRSA Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU How to factory reset an RSA Authentication Manager 8.x hardware appliance without a factory reset button from the Operatio…
Don't see what you're looking for?