Table of Contents

Search

  1. Preface
  2. Introduction
  3. Accessing Data Archive
  4. Working with Data Archive
  5. Scheduling Jobs
  6. Viewing the Dashboard
  7. Creating Data Archive Projects
  8. Salesforce Archiving
  9. SAP Application Retirement
  10. Creating Retirement Archive Projects
  11. Integrated Validation for Archive and Retirement Projects
  12. Retention Management
  13. External Attachments
  14. Data Archive Restore
  15. Data Discovery Portal
  16. Data Visualization
  17. Data Privacy
  18. Oracle E-Business Suite Retirement Reports
  19. JD Edwards Enterprise Retirement Reports
  20. Oracle PeopleSoft Applications Retirement Reports
  21. Language Settings
  22. Data Vault Datatype Conversion
  23. Special Characters in Data Vault
  24. SAP Application Retirement Supported HR Clusters
  25. Glossary

Converting Datatypes for Conversion Errors

Converting Datatypes for Conversion Errors

Manually modify columns to resolve the conversion errors generated by the Data Vault Loader job. Data Archive ships with sample scripts that you could modify to make column changes to the Data Vault. You can use the SQL Worksheet to run the scripts on the Data Vault.
  1. Use a text editor to open the sample script installed with Data Archive.
  2. Modify the script for the column changes you need to make.
  3. Run the script.
  4. Resume the Data Vault Loader job.
If the conversion error involves a change in the size of a column, use the following sample script to change the size of columns in the Data Vault:
CREATE DOMAIN "dbo"."D_TESTCHANGESIZE_NAME_TMP" VARCHAR(105); ALTER TABLE "dbo"."TESTCHANGESIZE" ADD COLUMN "NAME_TMP" "dbo"."D_TESTCHANGESIZE_NAME_TMP"; ALTER TABLE "dbo"."TESTCHANGESIZE" DROP COLUMN NAME; ALTER TABLE "dbo"."TESTCHANGESIZE" RENAME COLUMN "NAME_TEMP" "NAME"; DROP DOMAIN "dbo"."D_TESTCHANGESIZE_NAME"; RENAME DOMAIN "dbo"."D_TESTCHANGESIZE_NAME_TMP" "D_TESTCHANGESIZE_NAME"; COMMIT;
If the conversion error involves a change in the number of columns in the table, use the following sample script to add columns to the table in the Data Vault:
CREATE DOMAIN "dbo"."D_TESTCHANGESIZE_DOB" TIMESTAMP; ALTER TABLE "dbo"."TESTCHANGESIZE" ADD COLUMN "DOB" "dbo"."D_TESTCHANGESIZE_DOB"; COMMIT;

0 COMMENTS

We’d like to hear from you!