Is DDL is suported in ogg from sqlserver 2005  to oracle 11g xe

Hi !
i want to use ogg to trasfer all tables and sp from sql server 2005 to oracle 11g xe. (using windows 2008,ogg112101_ggs_Windows_x86_ora11g_32bit.zip)
is it suported? becasue i read "Extraction or replication of DDL (data definition language) operations.Non-supported objects and operations for SQL Server" in
from SQL Server Installation and Setup Guide
11g Release 2 Patch Set 1 (11.2.1.0.1)
yours sincerely

Does that mean even i cant migragte MSSQL stored procedure to oracle 11g xe also?Correct. You can't do that with GoldenGate. However, as Steve mentioned, you should look into SQL Developer migration capabilities (formally Migration Workbench). It can convert some T-SQL to PL/SQL but you'll need to do some (probably a lot) of custom code changes. Porting application logic from one language to another is basically a holy grail for IT systems. OGG will convert datatypes on the fly but it will never port application logic on the fly.
Good luck,
-joe

Similar Messages

  • Error mapping, OGG from SQL 2008 to Oracle 11g

    Hi Experts
    Please I hoppe you can help me, I am using OGG to replicate from SQL 2008 to Oracle 11g R2, I can insert rows and replicate without problems, but when I update or delete on the Source the replicat stop working.
    This is the mesage:
    2012-06-11 09:51:57 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, msrep.prm: Error mapping from FACTURA.EMP to GOLDENGATE.EMP.
    2012-06-11 09:51:57 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, msrep.prm: PROCESS ABENDING.
    --- Discard FIle
    Key column FIRST_NAME (1) is missing from delete on table GOLDENGATE.EMP
    Key column LAST_NAME (2) is missing from delete on table GOLDENGATE.EMP
    Missing 2 key columns in delete for table GOLDENGATE.EMP.
    Current time: 2012-06-11 09:51:57
    Discarded record from action ABEND on error 0
    Aborting transaction on /u01/app/goldenGate/dirdat/ms beginning at seqno 0 rba 13729
    error at seqno 0 rba 13729
    Problem replicating FACTURA.EMP to GOLDENGATE.EMP
    Mapping problem with delete record (target format)...
    ID = 121
    Process Abending : 2012-06-11 09:51:57
    ------ SOURCE TABLE
    create table [factura].[emp] (
    [id] [smallint] not null,
    [first_name] varchar(50) not null,
    [last_name] varchar(50) not null,
    constraint [emp_pk] primary key clustered (
    [id] asc
    ) with (pad_index = off, statistics_norecompute=off, ignore_dup_key=off, allow_row_locks=on, allow_page_locks=on) on [primary]
    ) on [primary]
    ------ TARGET TABLE
    CREATE TABLE GOLDENGATE.EMP
    ID NUMBER,
    FIRST_NAME VARCHAR2(50 BYTE),
    LAST_NAME VARCHAR2(50 BYTE)
    Thank you
    J.A.

    Hi
    I altered the table in Oracle, I add the primary key:
    alter table emp add constraint
    pk_emp primary key (ID );
    Now GG replicate insert, delete and update.
    J.A.

  • Migration from sqlserver 2005 to Oracle 10.1.0.3

    I'm new to the migration workbench. But I was successful in converting our sqlserver 2005 db to Oracle 10.1.0.3 using the Offline capture method. This isn't a terribly complex db - 100 tables, many are empty. The trouble started when I tried to convert it a second time. True, there was an additional table, and several tables were populated with more data, but I didn't even get past the 'Load Database Capture Scrpt Output' step.
    In preparation for the 2nd migration, I dropped all the SS2K5 tables from the Oracle id I was using to house the migration repository. I deleted the repository as well. So the userid was 'clean'. I set up a new directory to house the scripts that are generated.
    1. Created a new repository. Checked that the MD% tables were indeed created.
    2. Ran 'Create Database Capture Scripts'. Checked the files - they were fine.
    3. Ran the omwb_offline_capture script against the Sqlserver db, from the directory where the scripts were created. .ERR files all empty. .DAT files exist - things are fine.
    4. Logged on to the Oracle connection where the repository resides. Clicked on 'Load Database Capture scripts'. In the popup, I provided the directory path & name of the .ocp file. And the 'Capturing Database' popup displays, but the progress bar isn't moving back & forth. But, if I check in the directories where the .DAT files were generated (in 3.), I see that the .XML files now exist, with the proper timestamp. Also, if I log on to the repository userid, I see that the SS2K5 tables have now been created. So something did indeed happen. But I don't see any list of things being created. (On the original successful migration, I would see entries for nn Tables, nn Foreign Keys, etc.). One point I noticed on the successful migration - the foreign keys part of this step took 2 hours. There's only 224 foreign keys, so I thought that was odd.
    I don't know how to go further here. Anyone have any ideas?

    Hi there, and thanks for the reply.
    I'm using sqldeveloper 1.5.0.53
    I tried it with a new Oracle schema as the migration repository. Same result.
    Running sqldeveloper.exe from the command line doesn't give any error. Is there a file somewhere that an error might be written to, and I'm not seeing it?
    I left the 'Data Capture' popup running overnight & this morning, it was in the same state - no progress bar action, no messages about items being captured, nothing in the 'Captured Objects' pane. So I hit 'Close', and in the message log at the bottom of the screen, I get
    oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238) <timestamp in here>     
    " (the above line is repeated forever). I eventually have to kill Sqldeveloper 'hard' - eg clicking the 'x' in the upper right corner.
    Prior to killing, I can scroll to the bottom of the list of 'forever' lines, and the following 2 lines are displayed:
    OALL8 is in an inconsistent state                                                  <timestamp in here>          
    oracle.dbtools.metadata.persistence.PersistenceException: Protocol violation               <timestamp in here>          
    On the Logging tab I see this:
    Level          Sequence     Elapsed          Source                                   Message
    SEVERE     32          0          oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Protocol violation     
    I'm completely lost!
    Would I get this kind of problem if, for some reason, no db objects were present in the output generated on the Sqlserver side?
    I notice that, after shutting Sqldeveloper down hard, it doesn't restart easily. I get the product screen, then a blank screen with the 'Sqldeveloper' title bar at the top. Have to close that down hard. If I wait 10-ish minutes, I can start the product up again. This seems odd.

  • Migration from Sqlserver 2005 to Oracle 10g

    Hi all,
    does anyone know a tool good to migrate a sqlserver 2005 database to oracle 10g ?
    I tried Sqldeveloper and the migration of tables and datas are ok, but when I try to migrate views, functions and procedures the sqldeveloper hangs.
    regards,.
    Wander (Brazil)

    Quite frankly forget using tools for all but the simplest migration: The best you will get from a tool, provided it works, is mediocrity.
    Moving tables and data with tools works if you are using basic data types. Once you get past this, in all seriousness, it is time to roll up your sleeves and start writing code.
    The differences between the two products is profound. What constitutes a transaction different, locking different, logging different, security models different, etc.
    No tool can turn Transact SQL into nested BULK COLLECT and FORALL statements. And for many years into the future ... none will.

  • Migrate tables and stored proc from SQLServer 2005 Express to Oracle10G

    How to migrate tables and stored procedures from SQLServer 2005 Express to Oracle10G using SQLDeveloper? thank you very much

    Using Oracle SQL Developer Migration Workbench
    http://www.oracle.com/technology/tech/migration/workbench/index_sqldev_omwb.html

  • Migration from sqlserver 2005 to 2012

    Hi Friends,
    As we migrating our sqlserver database from 2005 to 2012, copy and attach sqlserver 2005 to 2012 database which is optimized way, or we should export data rows by table in new server is best way or just copy from sqlserver 2005 to attached
    to sqlserver 2012 and change backup compbality parameter.
    thank you.
    regards,
    asad
    asad

    Hello there,
    Please follow the steps below:
    Run upgrade advisor on the databases for the instance you want to upgrade.
    If any issues are found, talk to your dev team/ Vendor for fixing the same.
    If issues are fixed proceed with the actual upgrade. -- Do check for the other dependencies on the database which might effect the functionality if the instance gets
    upgraded or something like that.
    Get the downtime for the database.
    Create the latest full backup of the database -- any other strategy will also work, just make sure you can recover the database.
    Take a clone of the server if it's a virtual server to roll back any changes.
    Run the upgrade on the sql 2005 instance from the 2012 set up. -- do check the pre-requirements for upgrade to sql 2012.
    If everything is fine then you have an upgraded instance.
    Also check the compatibility of the databases.
    If all is fine then congratulations, you have upgraded your SQL server!

  • Siebel database migration from Sql Server 2005 to Oracle 11g RAC.

    Hi,
    We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?
    The current configurations are:
    Application : Siebel
    database : SQL Server 2005
    The hardware can be changed if needed. Can you please suggest the best approach ?
    Thanks,
    Naveen.
    Edited by: Naveen Kumar C on Mar 18, 2011 9:10 PM
    Edited by: Naveen Kumar C on Mar 18, 2011 11:44 PM

    Hi Naveen,
    We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?You will need much more which suggestions.
    You will need a Siebel professional which has done this type of migration. Migrating the Database is not a task so hard, after migrating your environment should be functional and healthy it is usually the task problematic.
    The hardware can be changed if needed. Can you please suggest the best approach ?We can recommend the minimum recommended, but this documentation already does, you need to do a analysis on your environment and ask a vendor Siebel tell the which is recommended for you and how to find the best "number" for you, in your case is very hard because everything changes.
    Check this Step-by-Step
    Migrating a Microsoft SQL Server Database to Oracle Database 11g
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    Regards,
    Levi Pereira

  • How to insert data from *.dmp file to  oracle 11g using Oracle SQL Develope

    hi
    i backup my database using PL/SQL developer and made *.dmp file
    how to insert data from *.dmp file to oracle 11g using Oracle SQL Developer 2.1.1.64
    and how to make *.dmp file from sql*plus ?
    thanks in advance

    Pl/Sql developer has a config window, there you choose the exec to do the import/export.
    Find it and his home version, it may be exp or expdp, the home version is the version of the client where the exp executable is.
    Then use the same version of imp or impdp to execute the import, you do not need to use Oracle SQL Developer 2.1.1.64. If you want to use it, you must have the same version in the oracle home that exp/imp of sql developer use.

  • No data after migration from MSSQL 2008 to Oracle 11g

    Hi
    After looong way to migrate database from MSSQL 08 to Oracle 11g (lots of topic on oracle forum was very helpfull), I finally wanted to migrate my data. So, i did like in this http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm tutorial, used oracle_ctl , then I got back some data :
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jun 5 22:37:29 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Trigger altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:29 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Pracownicy.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Dokumenty.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.sysdiagrams.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Spis.log)
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> 2
    PL/SQL procedure successfully completed.
    SQL> 2
    PL/SQL procedure successfully completed.
    SQL> SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Trigger altered.
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Ok, I see there are problems with save logs, but ok, I'm moving on to sqldeveloper - open table in migrated database, pressing "Data", and unfortunatly, there were no data. I tryed few times, checked permission for database user, but still the same.
    Anyone have idea, whats wrong could be with it?

    Hi
    After looong way to migrate database from MSSQL 08 to Oracle 11g (lots of topic on oracle forum was very helpfull), I finally wanted to migrate my data. So, i did like in this http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm tutorial, used oracle_ctl , then I got back some data :
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jun 5 22:37:29 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Trigger altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:29 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Pracownicy.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Dokumenty.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.sysdiagrams.log)
    SQL*Loader: Release 11.2.0.1.0 - Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    SQL*Loader-522: lfiopn failed for file (log\dbo_zsbddwa.Spis.log)
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jun 5 22:37:30 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> 2
    PL/SQL procedure successfully completed.
    SQL> 2
    PL/SQL procedure successfully completed.
    SQL> SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Table altered.
    SQL>
    Trigger altered.
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Ok, I see there are problems with save logs, but ok, I'm moving on to sqldeveloper - open table in migrated database, pressing "Data", and unfortunatly, there were no data. I tryed few times, checked permission for database user, but still the same.
    Anyone have idea, whats wrong could be with it?

  • Migration from SqlServer 2005 very slow... Number of Commits very big!

    Halllo,
    I migrate from SQL Server 2005 to Oracle 10g using SQL Developer 1.2.1 (latest Build). I have 2 tables, with 27 million rows and 29 million rows.
    1% data move needs 4-5 Hours!...
    - no indexes or constraints
    - Options: 10 000 rows to commit after. Tries: 500 000 does not help also.
    - tables have not LONG, BFILE, REF, ROWID,UROWID, or
    TIMESTAMP columns (I have readed, for tables containing this types columns, rows are inserted individually, with commit for each row).
    In "DETAILED ADDM REPORT FOR TASK XYZ" at Oracle server kann I read:
    (translated from germany, sorry for bad english...):
    Waits on event "log file sync" during the execution from COMMIT-and rolling forecastle processes have booked essential data bank time.
    RECOMMENDATION 1: Application analysis, 97% benefit (467900 seconds)
    ACTION: Check the application logic for a possible reduction of the number of COMMIT processes by enlargement of the transactions.
    RATIONAL ONES: The application has explained 2596 transactions per minute by an average Redo size of 824 bytes per transaction.
    It looks thus each row is committed, why?
    Any insight to tune it to go faster.
    Please help, I have many searched, but no solution found.
    Thanks,
    Julia
    null

    Hello Julia,
    Moving large amounts of data "online" using JDBC is not recommended for the issues you outlined.
    Its better to move large data sets using SQL Servers BCP tool to dump out the data from SQL Server into dat files, and then use Oracles SQL*Loader to load up the dat files into the Oracle database.
    Luckily SQL Developer Migration Workbench can help you setup the scripts.
    The feature is called "Offline Data Move".
    See this viewlet
    http://www.oracle.com/technology/tech/migration/workbench/viewlets/ofdm.html
    Obliviously you will need enough disk space to create a file large enough to hold millions of rows.
    I hope this helps
    Dermot.

  • Query from sqlserver 2005

    Dear Sir,
    I connect to sql server 2005 from oracle 11g release 2. my database link name erp.
    I run below query is no problem.
    select * from events@erp
    but when i run below query
    select cardno from events@erp
    show invalid identifier (ora-00904).
    Thanks
    MH.BD

    here is the structure.
    SQL> desc events@erp;
    Name Null? Type
    EventID NOT NULL NUMBER(10)
    EventTime DATE
    EventType NUMBER(5)
    EventSubType NUMBER(5)
    Address NUMBER(10)
    SubAddr NUMBER(5)
    UserID NUMBER(10)
    CardNo NUMBER(10)
    Details VARCHAR2(255 CHAR)
    LinkedEvent NUMBER(10)
    IOBoardID NUMBER(10)
    InputID NUMBER(10)
    OutputID NUMBER(10)
    SQL> select Cardno from events@erp;
    select Cardno from events@erp
    ERROR at line 1:
    ORA-00904: "CARDNO": invalid identifier
    I think it's may be unicode related setting problem. Need your expertise advice.

  • New To Oracle.. Needs Help:: Conversion from SQL Server to Oracle 11g

    I am new to Oracle 11g and badly need the conversion of SQL Server Functions to Oracle.. Sample Pasted Code not working .. end with error.. pls help
    Create Table TempT (ID1 Varchar (10),
    ID2 Varchar (10)
    CREATE OR REPLACE PACKAGE GLOBALPKG
    AS
    TYPE RCT1 IS REF CURSOR;
    TRANCOUNT INTEGER := 0;
    IDENTITY INTEGER;
    END;
    CREATE OR REPLACE FUNCTION fTempT
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT TT.*
    FROM TempT TT
    WHERE (fTempT.i = ''
    OR TT.ID1 = fTempT.i)
    RETURN REFCURSOR;
    END;
    CREATE OR REPLACE FUNCTION fTempTF
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT *
    FROM TABLE(fTempT(i))
    RETURN REFCURSOR;
    END;
    LAST FUNCTION ENDs WITH ERROR
    Error(13,7): PL/SQL: ORA-22905: cannot access rows from a non-nested table item

    2. The major purpose is to get a simplest way to create a parameterized function who can return a table like output. 2nd function has no use instead i was testing the result of First Function like thisIf you just want to select from a select, you should use a view not a function.
    1. which program is more help ful for writing and executing queries bcoz after using Query Analyzer of Microsoft It seems difficult to work on SQL Developer.
    sqlplus? If you are having difficulty learning new tools because of an old one you used, probably best to forget the old one and concentrate on learning the new one because it will be different. This goes for the database itself also.
    2. Can DMLs be used within a Function.Yes, you just can't execute the function in another SQL statement if it modifies data and this is a good thing.
    3. Can temporary tables be used within a function.Unfortunately yes, but they shouldn't be unless you are in a slowest application competition.
    5. Each Function which is a Table Function must be accompanied with Type Definitions?? its a bit longer way of doing the things than SQL ServerThat is why it is better to use views instead, is there any reason you want a select that you can select from inside a function?
    SQL Server for last 9 years thats why i refer this toolThat is not in itself a problem, if you try and do what you did in SQLServer in Oracle, that will be a problem though.

  • Migration issue sqlserver 2008 to oracle 11g

    migration data from sqlserver to oracle at at thjat time i got issue, please give me a solution.
    error: migration actions have failes,check the migration reports for details;capture enterprise capture capture faild.refer to migrlog table inthe repository for details.

    Please send more details like what method is being used to perform this migration?

  • Heterogeneous System Copy from MS SQL to Oracle 11g

    Good day friends,
    I am currently in the stage of running SAPINST to continue the System Copy to the Target (i.e. the export is complete).
    This may seem like a rudimentary question, but I am trying to implement Oracle 11g as the new database (and the SAP version of ECC 5). Now when I execute the sapinst, I only get the option for the Client on 9.2 and the RDBMS on 10.2.0.4.
    I would like to specify 10.2 for the Client and 11g for the RDBMS, but those options are not included in the SAPINST. What must I do to get these options in the SAPINST?
    Any help would be welcome.
    Thanks.

    I have run a system export from MSSQL and Windows Server, and I wish to run the import to Red Hat 5.4 and Oracle 11g.
    I have used the latest ECC 5 Installation Master disk, which still does not have the option to install Oracle 11g. In fact, it only has the option to install Oracle 10g with an Oracle Client version 9. Surely there must be a newer option with Oracle Client 10?
    Here is the product code for the Inst Master I downloaded.
    6.20/6.40 based products Installation Master (Edition May 2008) Number 51033746

  • Installing oracle application express from the database with oracle 11g

    Hi,
    I installed oracle 11g release 1 and trying to install oracle APEX from the database with Embedded PL/SQL gateway. The installation guide require grant connect privilege to any host for the APEX_030200 database user, but this schema does not exist in the database...
    How to continue the installation of APEX ?

    Thanks Hari,
    But I need to enable network services in my database (oracle 11g).
    Do I have to replace in the PL/SQL script below apex_030200 by flows_030000 ?
    DECLARE
    ACL_PATH VARCHAR2(4000);
    ACL_ID RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give APEX_030200
    -- the "connect" privilege if APEX_030200 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, ensure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    -- ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200'
    -- ORA-06512: at "XDB.DBMS_XDBZ", line ...
    SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
    FROM XDB.XDB$ACL A, PATH_VIEW P
    WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
    EQUALS_PATH(P.RES, ACL_PATH) = 1;
    DBMS_XDBZ.ValidateACL(ACL_ID);
    IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_030200', 'connect') IS NULL THEN
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,'APEX_030200', TRUE, 'connect');
    END IF;
    EXCEPTION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml','ACL that lets power users to connect to everywhere',
    'APEX_030200', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    COMMIT;
    Regards

Maybe you are looking for

  • Update problem

    I have created a table with name videotitletable with all fields of text type using MS Access and i 'm trying to update a record in this table through java program but i'm getting this error . java.sql.SQLException: [Microsoft][ODBC Microsoft Access

  • Real focusOut event of the extension?

    Hi, Application: InDesign CC 2014 10.1.0.70 x64 I ran into another problem. A main part of my Flex-Extension was the onFocusOut-Event, which I used to save the data the user entered. I want to receive an event when the user leaves the extension by cl

  • Create lock object with fun command

    Hallo, Is it possible to create a lock object with the fun command? I tried to use: FUN ( ENQUEUE _<lockobject> , <interface> ). When I fill the importing parameters, execute the script and afterwards refresh the interace than the import parameters a

  • Please send me some sample codes of ALVS  using function modules only

    Hi, i am new to alvs Please send me some sample codes of alvs using function modules only. My mail id is [email protected] Thanks & regards, hari priya

  • PO Change O/P error- Maintain outgoing EDI-connection data for partner for

    Hi Experts , We are connecting our SAP ECC 6 ( Ehp 4) sytem to 3rd party system via SAP PI.  We already done all the settings..line Output detemination procedure, Partner Profile ( WE20) , Port creation , Condition Records..etc. We have PO Creation (