![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, does anyone know of a way to enable the Oracle data dictionary- compatible views in a database that was created without the appropriate DB2_COMPATIBILITY_VECTOR setting (or before DB2 9.7)? TIA for any answer Joachim Joachim, |
#3
| |||
| |||
|
|
On 4/15/2011 8:03 AM, joklassen wrote:> Hi all, does anyone know of a way to enable the Oracle data dictionary- compatible views in a database that was created without the appropriate DB2_COMPATIBILITY_VECTOR setting (or before DB2 9.7)? TIA for any answer Joachim Joachim, db2upd97 should do the trick If that doesn't work for some reason you could dump them from an ORA style DB2 DB and apply them as a script (there is no magic here). But try db2upd97 first. Cheers Serge -- Serge Rielau SQL Architect DB2 for LUW, IBM Toronto Lab Blog: * *tinyurl.com/SQLTips4DB2 Wiki: * *tinyurl.com/Oracle2DB2Wiki Twitter: srielau |
#4
| |||
| |||
|
|
On Apr 18, 11:32 am, Serge Rielau<srie... (AT) ca (DOT) ibm.com> wrote: On 4/15/2011 8:03 AM, joklassen wrote:> Hi all, does anyone know of a way to enable the Oracle data dictionary- compatible views in a database that was created without the appropriate DB2_COMPATIBILITY_VECTOR setting (or before DB2 9.7)? TIA for any answer Joachim Joachim, db2upd97 should do the trick If that doesn't work for some reason you could dump them from an ORA style DB2 DB and apply them as a script (there is no magic here). But try db2upd97 first. Cheers Serge -- Serge Rielau SQL Architect DB2 for LUW, IBM Toronto Lab Blog: tinyurl.com/SQLTips4DB2 Wiki: tinyurl.com/Oracle2DB2Wiki Twitter: srielau Hi Serge, unfortunately db2updv97 (DB2 9.7 FP3a) does not work ( even with the - a option). Copying the view definitions from another db was my first idea, but does not work the way I would like to. You cannot create views in schema SYSIBMADM (SQL0553), so I must use another schema and create public synonyms afterwards. That works so far, but these views will not be updated automatically with a next fixpack or version. So there is always some manual work to be done which I (resp. the customer) would like to avoid. Any other ideas? I have spoken to the catalog folks and they think it should work. |
#5
| |||
| |||
|
|
On 4/18/2011 7:49 AM, joklassen wrote: On Apr 18, 11:32 am, Serge Rielau<srie... (AT) ca (DOT) ibm.com> *wrote: On 4/15/2011 8:03 AM, joklassen wrote:> *Hi all, does anyone know of a way to enable the Oracle data dictionary- compatible views in a database that was created without the appropriate DB2_COMPATIBILITY_VECTOR setting (or before DB2 9.7)? TIA for any answer Joachim Joachim, db2upd97 should do the trick If that doesn't work for some reason you could dump them from an ORA style DB2 DB and apply them as a script (there is no magic here). But try db2upd97 first. Cheers Serge -- Serge Rielau SQL Architect DB2 for LUW, IBM Toronto Lab Blog: * *tinyurl.com/SQLTips4DB2 Wiki: * *tinyurl.com/Oracle2DB2Wiki Twitter: srielau Hi Serge, unfortunately db2updv97 (DB2 9.7 FP3a) does not work ( even with the - a option). Copying the view definitions from another db was my first idea, but does not work the way I would like to. You cannot create views in schema SYSIBMADM (SQL0553), so I must use another schema and create public synonyms afterwards. That works so far, but these views will not be updated automatically with a next fixpack or version. So there is always some manual work to be done which I (resp. the customer) would like to avoid. Any other ideas? I have spoken to the catalog folks and they think it should work. I assume you set the appropriate bit in DB2_COMPATIBILITY_VECTOR and restarted DB2 before running db2updv97? Cheers Serge -- Serge Rielau SQL Architect DB2 for LUW, IBM Toronto Lab Blog: * *tinyurl.com/SQLTips4DB2 Wiki: * *tinyurl.com/Oracle2DB2Wiki Twitter: srielau |
#6
| |||
| |||
|
|
"joklassen" <joklassen (AT) web (DOT) de> wrote in message news:5deb2e25-0af1-466a-be94-66c84a6e8b4b (AT) j25g2000vbr (DOT) googlegroups.com... If db2updv97 should work I think I'll open a PMR and quote you if you don't mind: "I have spoken to the catalog folks and they think it should work." Thx Joachim |
#7
| |||
| |||
|
|
"joklassen"<joklassen (AT) web (DOT) de> wrote in message news:5deb2e25-0af1-466a-be94-66c84a6e8b4b (AT) j25g2000vbr (DOT) googlegroups.com... If db2updv97 should work I think I'll open a PMR and quote you if you don't mind: "I have spoken to the catalog folks and they think it should work." Thx Joachim I don't think he said it was a support feature. PMR is fine, this should indeed work. |
#8
| |||
| |||
|
|
On 4/19/2011 10:21 AM, Mark A wrote:>> "joklassen"<joklas... (AT) web (DOT) de> *wrote in message news:5deb2e25-0af1-466a-be94-66c84a6e8b4b (AT) j25g2000vbr (DOT) googlegroups.com.... If db2updv97 should work I think I'll open a PMR and quote you if you don't mind: "I have spoken to the catalog folks and they think it should work." Thx Joachim I don't think he said it was a support feature. PMR is fine, this should indeed work. Cheers Serge -- Serge Rielau SQL Architect DB2 for LUW, IBM Toronto Lab Blog: * *tinyurl.com/SQLTips4DB2 Wiki: * *tinyurl.com/Oracle2DB2Wiki Twitter: srielau |
![]() |
| Thread Tools | |
| Display Modes | |
| |