![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm Running on DB2 9.5/AIX, currently involved in *Migration from Ora to DB2. In oracle i've following statement. CREATE INDEX ITEM_IDX ON ITEM (LOWER("ITEM_NAME"), ITEM_ID) TABLESPACE IDX_TBS; |
|
Also we cannot have InBuild Function with Index Key, like LOWER("ITEM_NAME"). |
#3
| |||
| |||
|
|
I'm Running on DB2 9.5/AIX, currently involved in Migration from Ora to DB2. In oracle i've following statement. CREATE INDEX ITEM_IDX ON ITEM (LOWER("ITEM_NAME"), ITEM_ID) TABLESPACE IDX_TBS; I'm not able to find the corresponding syntax in DB2, goggled it but still not able to find the solution. I assume we can only point Index to be created into a separate tablespace only during Table Creation Time ; Also we cannot have InBuild Function with Index Key, like LOWER("ITEM_NAME"). Thanks. Sridhar |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
I agree an ORA to DB2 migration should be done on DB2 9.7. It's 10x easier compared to Db2 9.1 and some of the 9.5 Ora compatibility features were only in beta (such as VARCHAR2). Cheers Serge -- Serge Rielau SQL Architect DB2 for LUW IBM Toronto Lab |
#6
| |||
| |||
|
|
On May 17, 1:10*pm, Serge Rielau <srie... (AT) ca (DOT) ibm.com> wrote: I agree an ORA to DB2 migration should be done on DB2 9.7. It's 10x easier compared to Db2 9.1 and some of the 9.5 Ora compatibility features were only in beta (such as VARCHAR2). Cheers Serge -- Serge Rielau SQL Architect DB2 for LUW IBM Toronto Lab Thanks all for the Suggestion, though the current running code is 9.5, soon we are moving into 9.7 and as you said i can utilize the DB2 to the maximum and make my job easy. But i worry about backward compatibility , suppose i setup a db using compatibility vector of *9.7 and convert all oracle packages as it is into db2. if client wants to apply the same code on application running on 9.5 , then I've nowhere to go but to prepare the DB2 relevant code and maintainability of the code become difficult. so right now i prefer to use DB2 specific code for some time. Any thoughts or suggestion on this Regards, Sridhar |
#7
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |