Move APEX Installation from one database to another one

My task is to move an APEX installation to a new one.
Exact: The customer wants to downgrade from Enterprise Edition to Standard Edition.
Database version is 9.2.0.8 (both), APEX version is 2.2.1
What I've done:
- Full database export (from EE)
- Delete EE-software, reboot server
- Install. SE-software, reboot server, create db
- Full database import
around 40 db objects are invalid after recompile:-(
2. try:
- create db (SE)
- Install. of APEX 2.2.1
- Import of the schemas flows_020200, flows_files and the APEX user-schemas
- recompile
all db objects are valid, but the APEX applications belongs to a workspace "unknown" so no workspace have access to its applications:-(
Has anybody an idea or a recipe for me?
Many thanks
Ralph

Hi, Scott –
Thanks for your post on this thread last Friday evening, May 2. I posted my message on Wednesday April 30, and after receiving no response after two days, we decided to go ahead with my planned migration on Friday afternoon. We completed it shortly after 5:00 PM (just six hours before you posted your response). Everything seemed to go well, but based on your expert opinion, we've decided to scrap the TARGETDB installation and redo the migration according to your recommendations.
It seems that exporting each Apex application individually from the SOURCEDB and importing it individually to the TARGETDB would be a laborious and lengthy process, but if Oracle provides no faster and more convenient alternative, then I guess this is something we’ll have to do.
However, this has sparked more questions….
Like I said in my previous post, we’re relatively new to Apex. When I mentioned exporting/importing Apex workspaces, I was imprecise in my terminology. I know you can export Apex applications from the SOURCEDB Apex installation and import them into the TARGETDB Apex installation using the Web based Apex Admin tool. But can/should you do the same with workspaces? Or do you recreate corresponding empty Apex workspaces on the TARGETDB and then import the appropriate Apex applications into them?
What would you suggest to be the best way to do this?
Thanks again for your help!
--JP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to move a file from a page to another one in a wiki?

    Is it possible to move a file from a page to another one in a wiki (wiki server 4)?

    Files uploaded via "+" button and "Upload File to "My wiki name"" can be moved just like normal wiki pages by clicking the "sprocket" button and selecting "Move to Wiki"
    Fils attached via the "paperclip" button when editing a page, must be downloaded first, deleted from the initial page and reattached to the new page.

  • How to move data from one database to another one?

    I 'd like to build up a new database, some of the data would come from an old database, then I have to make two connection objects to both databases, (two statement objects...) retrieving the data from the old one and inserting them to the new one.... sounds reasonable, huh? but it could not work this way... "........it would have caused the duplicated value , blah, blah..." even though I made two tables in two databases completely different, that errors are still there. seemed I cannot clone that table.
    could you guys have any better ideas? and why couldn't I go this way?
    the database: cloudscape3.01
    two databases are all on my local PC (WinNT4.0)
    thanks

    If you are getting dupicate record errors, then look at your recordset objects and make sure they are both pointing at seperate databases, and check the one you are using to output and make sure it isn't just writing NULL, if it is then trace up the line: your input (read) recordset may be reading NULL too.

  • How to move my phone from an computer to another one without loosing my data ?

    Hello everyone,
    I have my phone with my own Apple Account on it, syncronising on a computer carrying another Apple ID, and I would like to move the syncronisation and all the apps I bought from my account, and all the data of my iPhone to another computer with my account and nothing else.
    But I know an iPhone can be sync only with one computer, so how to do ?
    Thanks for answering.

    They are on your phone.
    Erasing the computer won't delete them from your phone.
    If you do as suggested above, you will not have any problems syncing.

  • Is it possible to move a disk from a diskgroup to another one ?

    Hi,
    I did not find the answer so here is my question :
    My environment is Oracle 11g (11.1.0.6.0) database on OEL5U3.
    The system contains 2 diskgroups (DATA and RECOVERY) which respectively contains 1 disk (DATA contains VOL1 and RECOVERY contains VOL2). VOL1 and VOL2 are the ASM disk names assigned by oracleasm to /dev/dpdb1 and /dev/dpdc1
    SQL> select name,GROUP_NUMBER,TYPE FROM V$ASM_DISKGROUP;
    NAME GROUP_NUMBER TYPE
    DATA 1 EXTERN
    RECOVERY 2 EXTERN
    SQL> SELECT NAME,PATH FROM V$ASM_DISK;
    NAME PATH
    DATA_0000 /dev/oracleasm/disks/VOL1
    RECOVERY_0000 /dev/oracleasm/disks/VOL2
    My ultimate goal would be to use a snapshot-copy of /dev/dpdb1 (VOL1) to create a new diskgroup on the same server.
    Let's say that my snapshot-copy of LUN /dev/dpdb is seen as /dev/dpdh:
    # /etc/init.d/oracleasm querydisk /dev/dpdh1
    Device "/dev/dpdh1" is marked an ASM disk with the label "VOL1" <-- the label on the disk is of course VOL1
    # /usr/sbin/oracleasm renamedisk -f /dev/dpdh1 VOL3 <-- update of the label
    Writing disk header: done
    Instantiating disk "VOL3": done
    # /etc/init.d/oracleasm listdisks
    VOL1
    VOL2
    VOL3 <-- the new disk is now listed
    Then I try to create the new diskgroup:
    SQL> create diskgroup TIMEVIEW external redundancy disk '/dev/oracleasm/disks/VOL3';
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15033: disk '/dev/oracleasm/disks/VOL3' belongs to diskgroup "DATA"
    The same command with force option:
    SQL> create diskgroup TIMEVIEW external redundancy disk '/dev/oracleasm/disks/VOL3' force;
    Diskgroup created.
    The issue here is that the newly created diskgroup is empty ! it does not contains original files. Did I miss something ?
    Edited by: user11239258 on 21 oct. 2009 01:06
    Edited by: user11239258 on 21 oct. 2009 01:07

    The md_backup and md_restore are finally not helpful in my case. it doesn't change the fact that ASM metadata are written in the disk header.
    I could try to update the header with dd and hexadecimal editor but I'm looking for a decent option here.
    The only solution I've found is to shut down ASM instance, move the block special file /dev/oracleasm/disks/VOL1 pointing to the original disk to a safe location, create a new block special file using mknod to point on my disk (the snapshot), restart ASM instance and use asmcmd cp command to retrieve needed files.
    Conclusion : snapshot backup is fast but recovery based on snapshot is slow dealing with ASM.
    RFE : A command similar to vgimport would be nice to have with ASM disks, it would allow the creation of new diskgroup without losing the content of an ASM disk or a group of disk.

  • How can I move a Pages file from a folder to another one?

    I Have done the upgrade to mac os Yosemite but now i'm Not able to move a file from a folder to another one Inside iCloud
    now it's impossible to organize MY archive

    Thankyou Winston, you guess right. What i don't understand is why with the older version of mac os (10.9) i can organize my document into icloud folders using the Pages app window. But now with the new version i'm no longer able to do that. Using ipad in the same window there is no problem, but in mac os it doesn't work. 

  • How to move only subset of data from one database to another?

    Both source & destination are Oracle11g databases.
    The requirement details are as below,
    1) The database contains static as well as transactional data for telecom domain.
    2) We have to move region-wise data from one database to another.
    3) There are around 10 regions.
    4) The region wise data extraction from source db is based on around 40 to 50 tables. Rest of the tables contains
    static data & it will not change.
    5) The volume is around 1 million subscribers per region.
    6) The migration is required because
    a) The client is upgrading its base product which uses this database
    b) There is a change in structure of static tables
    c) Hardware upgrade
    d) The client want to start with single region on new database & rest of the regions will be operated from old
    database.
    7) Keep execution time to very minimum.
    I am thinking to have solution as below,
    1) Create destination database with upgraded db structure (as mentioned in 6b)
    2) Create database links to access source db in destination db.
    3) Write SQL queries to fetch data from all the respective tables for a specific region
    4) Write separate PL/SQL blocks for each table to fetch data from source db & insert into respective table in
    destination db
    a) Use FOR ALL & bulk collect to improve the performance
    b) Divide table data into multiple chunks & execute parallel batches (around 10) to insert the data
    5) Validate pre & post counts to verify the success of migration
    Is there any other better way?
    Regards,
    Sandeep

    How to move only subset of data from a partiular table by using transportable tablespace?
    E.g. SUB table using SMP_SUB tablespace contains subscriber data in source database.
    The indexes defined on SUB table are under SMP_IDX_SUB tablespace
    The subscribers data can be categorized by different regions, say region_id column. Then how to move data & indexes of SUB table from source db to destination db?
    any specific example would be helpful.

  • Trying to move a users from one database to another gives error

    When I try moving a user from one database to another I get an error, but one some PC's installed with EMC, gives no problems. So what could the the issue here, I tried googling, but came out without any solution. Exchange 2010 sp3, EMC on Windows 7 pc.
    The error message is:
    The move request for user is invalid. The user's Active Directory identity doesn't match the mailbox identity in the
    move request. It was running command "Get-MoveRequestStatistics -identity.....

    Is this 1 specific mailbox or any mailbox? Things to consider:
    Make sure that your Exchange management tools are running the same build as your Exchange server (2010 SP3 RUx). 
    Try using the Exchange Management Shell and typing Set-ADServerSettings -ViewEntireForest $True
    You might need to use the RUN AS ADMINISTRATOR when open Exchange tools
    Try running Clean-MailboxDatabase against each DB -
    http://technet.microsoft.com/en-us/library/bb124076(v=exchg.141).aspx
    Review and then Remove old move requests
    Try mailbox repair request -
    http://technet.microsoft.com/en-us/library/ff625221(v=exchg.141).aspx

  • Move a procedure from one database to another database

    Hi all,
    I have a procedure belonging to a schema in one of the databases in a server (say host A).
    I have a new server (say host B) and I have installed RDBMS and have created a database.
    Now, I want to move that particular procedure (in host A) to the new schema of a database in host B.
    What are the steps to be followed? please help me out.
    Note: It is not moving a procedure from one database to another, infact from one host to database in another host.
    Thanks,
    ora_sri

    The steps are:
    1. Pay more attention to your instructor in school.
    2. Do your web searches using google.com so as not to ask other people to help you cheat on your exams.
    3. Apologize to your instructor.
    How do I know you are a student?
    1. No version number.
    2. No such thing as host A and B
    3. If you had ever written a procedure in your life you would already know the answer.
    So let us add #4 to the first list.
    4. Write a stored procedure, save it to your hard disk, and then stare at the file you created until inspiration strikes you.
    Sorry for being harsh here but I spent 10 years teaching Oracle at the University of Washington and I failed students
    who did what you did. Even asked that one be expelled. So I am doing you quite a favor and hope you learn the lesson
    I am trying to teach for your own good.

  • How to Move or Copy the Tables from One Database to Another Database ?

    HI,
          Can any one help me on this, How i can move or copy the tables from one database to another database in SQL server 2005 by using SQL query. Hope can anyone provide me the useful and valuable response.
    Thanks
    Gopi

    Hello,
    Maybe these links help you out
    http://www.microsoft.com/downloads/en/details.aspx?familyid=56E5B1C5-BF17-42E0-A410-371A838E570A&displaylang=en
    http://www.suite101.com/content/how-to-copy-a-sql-database-a193532
    Also, you can just detach the database make a copy and move it to the new server.

  • Transfer data from one database to another without identities but keep the relation b/w PK and Foreign key

    Hi,
    I need to transfer data from one database to another database (both are identical databases). 
    1. Not transferring identity columns (primary keys). the destination table might have the same key.
    2. keep the PK's and FK's relation b/w parent and child table
    3. I have 4 levels 
    Example: tableA (col1 int identity(1,1) , col2, col3)
    tableB (col1 int identity(1,1) ,
    col2 , col3) -- col2 has the foreign key relation with tableA.col1
    tableC (col1 int identity(1,1) ,
    col2, col3) -- col2  has the foreign key relation with tableB.col1
    tableD (col1 int identity(1,1) , col2, col3) -- col2  has the foreign key relation with tableC.col1
    please advise me.
    Thanks in advance

    Try the below:
    /********************************SAMPLE TARGET***************************************************************/
    Use MSDNSamples
    create table TableA(LevelValueId int identity(1,1) primary key, name varchar(100))
    Insert into TableA(name) Select 'R1'
    Insert into TableA(name) Select 'R2'
    create Table TableB(ChildId int identity(100,1),name varchar(100), LevelValueID int references TableA(LevelValueId))
    Insert into TableB(name,LevelValueID) Select 'Childname1',1
    /********************************SAMPLE TARGET***************************************************************/
    /********************************SAMPLE SOURCE***************************************************************/
    Use Sample
    create table TableA(LevelValueId int identity(1,1) primary key, name varchar(100))
    Insert into TableA(name) Select 'C1'
    Insert into TableA(name) Select 'C2'
    create Table TableB(ChildId int identity(100,1),name varchar(100), LevelValueID int references TableA(LevelValueId))
    Insert into TableB(name,LevelValueID) Select 'Kidname1',1
    /********************************SAMPLE SOURCE***************************************************************/
    USe MSDNSamples
    /********************************MIGRATION INTERMEDIATE TABLE***************************************************************/
    --Migration table
    Create table Mg_TableA(LevelValueId int, NewValueId int)
    /********************************MIGRATION INTERMEDIATE TABLE***************************************************************/
    /********************************ACTUAL MIGRATION FOR MASTER TABLE***************************************************************/
    MERGE INTO TableA
    USING sample.dbo.TableA AS tv
    ON 1 = 0
    WHEN NOT MATCHED THEN
    INSERT(name) Values(tv.name)
    Output tv.levelValueId ,inserted.LevelValueid INTO
    Mg_TableA;
    /********************************ACTUAL MIGRATION FOR MASTER TABLE***************************************************************/
    /********************************ACTUAL MIGRATION FOR CHILD TABLE***************************************************************/
    Insert into TableB (name,LevelValueID)
    Select A.name,B.NewValueId From sample.dbo.TableB A
    Inner join Mg_TableA B on A.LevelValueID = B.LevelValueId
    /********************************ACTUAL MIGRATION FOR CHILD TABLE***************************************************************/
    /********************************TEST THE VALUES***************************************************************/
    Select * From TableA
    Select * From Mg_TableA
    Select * From TableB
    /********************************TEST THE VALUES***************************************************************/
    Drop table TableB,Tablea,Mg_TableA
    Use Sample
    Drop Table TableB,Tablea

  • How to Copy (or) Transfer data in a BLOB Table From one database to another

    Dear Members,
    I want to Copy or Tranfer the data in a Table having BLOB Column from one database to another database.
    The Problem is that I am using COPY Command.
    COPY from scott/[email protected] to k5esk_ldb2/k5esk_ldb2@k5_ist.world CREATE BLOB_TABLE using select * from BLOB_TABLE;
    This is working only if the table is not having BLOB Column or CLOB columns.
    Is there any other way to do the same.
    Appreciate any Help.
    Regards
    Madhu K

    You could try using export/import utilities, but may run into tablespace issues if the tablespaces are not the same between the two databases. You can also try Data Pump using the REMAP_TABLESPACE variable if you tablespaces are different. You could also write your own export and import code...there are plenty of examples of that to copy.

  • Copying Table Info From One Database to Another

    I am trying to copy data from a database instance on one server to an identical database instance on another server. I have a BC4J application module that I would like to use on both servers. I am relatively new in the BC4J area and would appreciate help from those of you who have done this type of thing before. How do I set up the connections in my client code to accomplish copying the data?

    Table may be copied with the
    expdp and impdp utilities.
    http://www.oracle.com/technology/products/database/utilities/index.html

  • How to Add Sales order from one database to another database

    Hi All,
    I am trying to add sales order with sales order object.
    I have completed connectivity from one database to another database.
    but i am unable to post sales order with orders object.
    My code is
    ObjSales = objMain.objUtilities.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                ObjSales.DocDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.DocDueDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.TaxDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.CardCode = "C0006"
               ObjSales.Series = 92
                ObjSales.PaymentGroupCode = 3
                ObjSales.Comments = "vivek"
               ObjSales.Lines.Add()
               ObjSales.Lines.SetCurrentLine(1)
               ObjSales.Lines.ItemCode = "5127"
               ObjSales.Lines.Quantity = 100
               ObjSales.Lines.UnitPrice = 10
               ObjSales.Lines.WarehouseCode = "01"
                ObjSales.Lines.TaxCode = "0"
                ObjSales.Lines.DiscountPercent = "0.00"
                ObjSales.DocTotal = 1000
                 If ObjSales.Add <> 0 Then
                   objMain.objApplication.SetStatusBarMessage("Sales or Not Posted", SAPbouiCOM.BoMessageTime.bmt_Short, True)
                   Exit Sub
                else
                  objMain.objUtilities.ShowSuccessMessage("Sales Order Posted successfully")
                End If
    The above code is executing successfully.But the Sales order is not getting added.
    Thanks in advance.

    Hi Vivek,
    If the code you posted is not throwing any errors, then the order really does get created. Apparently just not to both databases, am I correct ?
    vivek.Y wrote:
    > I have completed connectivity from one database to another database.
    That means that apparently you have not gotten this bit right.
    Generally speaking if you want to create an order into two databases, you first need to connect to both databases and create separate order objects for each database. So you need to do this bit twice; once for each database. Something like this:
    ObjSales1 = objMain.objUtilities1.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    ObjSales2 = objMain.objUtilities2.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    Then at the end you also need to add both objects separately:
    If ObjSales1.Add <> 0 Then
    etc.
    If ObjSales2.Add <> 0 Then
    etc
    Good luck,
    Johan

  • Simple: How to copy a Table from one Database to another?

    I already know how to do it by creating an identical table and then inserting the Data.
    Like so:
    SET IDENTITY_INSERT dByDtMinusC5 ON
    INSERT INTO [DB1]..T1 ([Id], [HbyD] , [K] )
    SELECT [Id], [[HbyD]]] ,[K] FROM [DB2]..T2
    As you can see I need to have T1 in order to copy T2 into DB1. Is there any way that I could auto create T1 and copy T2?
    There are so many forums in sql server Category, I hope I posted in the right one :0 . We need tag system for forums.   

    Hi Bhupinder,
    According to your description, you want to copy a table with Primary keys from one database to another database.
    As per my understanding, I think the best method is use Transfer SQL Server Objects Task in SQL Server Integration Services. The Transfer SQL Server Objects task transfers one or more types of objects in a SQL Server database between instances of SQL Server.
    Server roles, roles, and users from the specified database can be copied, as well as the permissions for the transferred objects. Indexes, Triggers, Full-text indexes, Primary keys, Foreign keys can also be copied.
    To use the Transfer SQL Server Objects Task, we should create a SQL Server Integration Services Project in SQL Server Data Tools, then drag a Transfer SQL Server Objects Task to Control Flow pane. Specify SourceConnection, SourceDatabase, DestinationConnection
    and DestinationDatabase for the Connection, select the table in the ObjectsToCopy category, then change CopyPrimaryKeys to True and the other corresponding properties in the task.
    References:
    Transfer SQL Server Objects Task
    Transfer SQL Server Objects Task in SSIS 2008 R2 With Example
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for