Yanndewael
Programmer
Hello,
I want to change the name of all my universes, by SQL query instead of manual change in BO.
I then made the following queries:
-- TO CHANGE universe name --> Change UNI_FILENAME of UNV_UNIVERSE
UPDATE UNV_UNIVERSE SET UNI_FILENAME='NEWNAME' WHERE UNI_FILENAME='OLDNAME'
--> Change M_UNI_C_FILENAME of OBJ_M_UNIVERSE
UPDATE OBJ_M_UNIVERSES SET m_uni_c_filename='NEWNAME' WHERE m_uni_c_filename='OLDNAME'
-- TO CHANGE the rep-unv links --> Change M_SRC_C_NAME of OBJ_M_DOCATVAR
UPDATE OBJ_M_DOCATVAR SET m_src_c_name='NEWNAME' WHERE m_doc_n_id='xxx'
I have a problem with the last query: even if NEWNAME is in the DB, when I try to retrieve a report from Corporate Documents, the queries of this report have still the link to the old universe name.
Is there something to do in addition? Since I have about 500 reports, I don't want to change all the links manually.
Thank you in advance,
Yannick
I want to change the name of all my universes, by SQL query instead of manual change in BO.
I then made the following queries:
-- TO CHANGE universe name --> Change UNI_FILENAME of UNV_UNIVERSE
UPDATE UNV_UNIVERSE SET UNI_FILENAME='NEWNAME' WHERE UNI_FILENAME='OLDNAME'
--> Change M_UNI_C_FILENAME of OBJ_M_UNIVERSE
UPDATE OBJ_M_UNIVERSES SET m_uni_c_filename='NEWNAME' WHERE m_uni_c_filename='OLDNAME'
-- TO CHANGE the rep-unv links --> Change M_SRC_C_NAME of OBJ_M_DOCATVAR
UPDATE OBJ_M_DOCATVAR SET m_src_c_name='NEWNAME' WHERE m_doc_n_id='xxx'
I have a problem with the last query: even if NEWNAME is in the DB, when I try to retrieve a report from Corporate Documents, the queries of this report have still the link to the old universe name.
Is there something to do in addition? Since I have about 500 reports, I don't want to change all the links manually.
Thank you in advance,
Yannick