Written by

Question Joao Palma · Aug 21, 2020

IRIS SQL Linked Table

Hi everyone

Anyone knows how can we add a column to an existing linked table in Cache to reflect the external SQL table?

I've tried different queries. It does not fail but does not add the column either...

Comments

Joao Palma  Aug 21, 2020 to Eduard Lebedyuk

That's not ideal for me a I would have to drop the table first.

0
Asaf Sinay  Sep 2, 2020 to Joao Palma

Hello Joao,

You should be able to edit the linked table's class definition, but reimporting it should be the safest approach.

Please note that linked tables don't actually persist the data locally, but simply define the metadata for the remote table.

I would suggest backing up your linked table class definition first.

Sincerely,

Asaf   

0
Joao Palma  Sep 14, 2020 to Asaf Sinay

Great. Thank you both.

I will do this next time.

- Backup class

- Drop table

- Reimport table

Best Regards,

Joao

0