Solved

How to remove double quote for part description

  • 14 July 2022
  • 3 replies
  • 139 views

Userlevel 7
Badge +16
  • Hero (Customer)
  • 547 replies

Community,

 

I have a problem when doing migration job of updating part description. when saving the excel file to text (tab delimited), i can see the double quote is added by the system. please see the attached. 

after I ran the migration job, i can see the part description is also updated with double quote text. see attached.

I am wondering how to fix this issue when updating the part description. 

Thank you.

icon

Best answer by Tomas Ruderfelt 14 July 2022, 09:17

View original

3 replies

Userlevel 5
Badge +13

Hi @ronhu,

You need to check if it can be handled from the migration script it self.

Or else, since data has been already added to the respective database table better to update the column values by utilizing the PLSQL REPLACE function.

Example:
SELECT REPLACE(PART_DESCRIPTION, ‘”’, NULL) AS PART_DESCRIPTION FROM PART_TAB

You can write an UPDATE query with the above logic to correct it.

Hope this helps!

Best Regards,
Bhagya

Userlevel 7
Badge +19

You can also use the “String Delimiter” in the migration job loading the file and then you will only replace leading/trailing double quotes.

 

Userlevel 7
Badge +16

@Tomas Ruderfelt Thank you it works. 

@Bhagya Wickramasinghe Thank you for your input.

Reply