Oracle 11g - Objects Access ?

Oracle 11g - Objects Access ?
=====================
I hope this is the right forum for this issue, if not let me, where to go.
We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
We have a Schema A with database objects.
We need to provide access to another group on selective items.
We need to provide Read access to one table (T1) of Schema A and Insert/Update access to another one (T2).
If we create another user/schema B in our instance, they can see other than T1 and T2 of Sch A via other User Objects (via TOAD/SQL Developer etc) or using Database catalog.
How do we hide our other objects for User/Schema B?
Thanks in helping.

qwe16235 wrote:
Oracle 11g - Objects Access ?
=====================
I hope this is the right forum for this issue, if not let me, where to go.
We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
We have a Schema A with database objects.
We need to provide access to another group on selective items.
We need to provide Read access to one table (T1) of Schema A and Insert/Update access to another one (T2).
If we create another user/schema B in our instance, they can see other than T1 and T2 of Sch A via other User Objects (via TOAD/SQL Developer etc) or using Database catalog.
How do we hide our other objects for User/Schema B?
With Oracle everything is prohibited; except that which is explicitly GRANTed.
simply put SCHEMA_B has privs to see objects that are owned by SCHEMA_A.

Similar Messages

  • Oracle 11G - Table access problem

    Hi,
    Iam new to Oracle...After creating a DataBase I created a connection and role has SYSDBA...
    And then I create a table....called Table1. And then I create a new USER and I Connect with same Databse SID but the role has DEFAULT for this new USER....
    01. But the problem is I cannot find the table -Table1 for this new user...so how to acess that Table1.....?
    02. I came to know in Oracle also we can design Forms for frontend and can generate EXE....Is it true?
    03. In SQL Server -Sql Port with static IP- we can access the Database for remote users.... For Oracle is it possible?
    Thanks for the directions....

    997497 wrote:
    Hi,
    Iam new to Oracle...After creating a DataBase I created a connection and role has SYSDBA...What user did you use to connect? I'm guessing that you logged in as SYS
    And then I create a table....called Table1. And then I create a new USER and I Connect with same Databse SID but the role has DEFAULT for this new USER....So I'm guessing that you created the table in the SYS schema. You should never, ever create user objects in the SYS schema. If you created the table in the SYS schema, you really need to drop it and create it in a more appropriate schema.
    You indicate that you're coming from SQL Server, so there is perhaps a terminology issue. What SQL Server refers to as a "database" is roughly equivalent to what Oracle refers to as a "schema". An Oracle database contains many schemas. A schema is the set of objects owned by a particular user.
    01. But the problem is I cannot find the table -Table1 for this new user...so how to acess that Table1.....?As I said above, you really, really shouldn't create objects in the SYS schema. If you really want to, though, you would need to log in to the SYS schema and grant access on the table to your new user
    GRANT SELECT ON sys.table1 TO your_new_userYou would then need to fully qualify the table name in your SELECT (or create a synonym or set the current_schema)
    SELECT *
      FROM sys.table1
    02. I came to know in Oracle also we can design Forms for frontend and can generate EXE....Is it true? Ancient versions of Oracle Forms would create client/server executables. Modern versions are used to build three-tier applications. You can also use APEX to build web-based applications. Of course, you can also generate executables by writing code in some other language (often .Net).
    03. In SQL Server -Sql Port with static IP- we can access the Database for remote users.... For Oracle is it possible?Is it possible? Sure. Depending on what "remote users" means though, it may be rather ill-advised-- you'd never want to open up a database to the internet directly, for example, you'd want to ensure that the remote users are connected to your network (i.e. via a VPN).
    Justin

  • Windows Vista Home, Visual Studio 2008 sp1, Oracle 11g  Error Access

    Hi:
    Im new in occi for visual studio, im try to do some with occi, i dowloaded and installed vc9 libs and inc and instant client basic and sdk, but i can connect, can you help me?
    this is my history
    First-chance exception at 0x52902721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    Unhandled exception at 0x52902721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    'acad.exe': Loaded 'C:\app\Usser3\product\11.1.0\client_1\instantclient_11_1\vc9\oraocci11.dll'
    'acad.exe': Loaded 'C:\app\Usser3\product\11.1.0\client_1\oci.dll', Binary was not built with debug information.
    'acad.exe': Loaded 'C:\Windows\System32\msvcr71.dll'
    'acad.exe': Loaded 'C:\app\Usser3\product\11.1.0\client_1\oraociei11.dll', Binary was not built with debug information.
    'acad.exe': Loaded 'C:\Program Files\AutoCAD Map 3D 2010\dbghelp.dll'
    The thread 'Win32 Thread' (0x1718) has exited with code 0 (0x0).
    First-chance exception at 0x527b2721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    Unhandled exception at 0x527b2721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    oraociei11.dll     C:\app\Usser3\product\11.1.0\client_1\oraociei11.dll     N/A     N/A     Binary was not built with debug information.          436     OraOCIEI11.dll - 11.1.0.1.0
    oracore11.dll - 11.1.0.7.0 Product     01/10/2008 03:45 a.m.     1A480000-214C1000*     [5728] acad.exe: Native     
         oci.dll     C:\app\Usser3\product\11.1.0\client_1\oci.dll     N/A     N/A     Binary was not built with debug information.          434     11.1.0.1.0     01/10/2008 03:22 a.m.     19C70000-19CF2000*     [5728] acad.exe: Native     
         dbghelp.dll     C:\Program Files\AutoCAD Map 3D 2010\dbghelp.dll     N/A     N/A     Symbols not loaded.          437     6.10.0003.233 (debuggers(dbg).080908-1333)     08/09/2008 03:46 p.m.     520A0000-521BE000     [5728] acad.exe: Native     
         oraocci11.dll     C:\app\Usser3\product\11.1.0\client_1\instantclient_11_1\vc9\oraocci11.dll     N/A     N/A     Symbols not loaded.          433     11.1.0.6.0 Production     20/08/2008 03:45 a.m.     19BE0000-19C67000*     [5728] acad.exe: Native     
    acad.exe': Loaded 'C:\Users\Usser3\Documents\Visual Studio 2008\Projects\GEOM\Win32\Debug\GEOM.arx', Symbols loaded.

    Hi Luis,
    It looks like you are working with a debug build:
    'prueba2_oci.exe': Loaded 'C:\Users\Usser3\Documents\Visual Studio 2008\Projects\prueba2_oci\Debug\prueba2_oci.exe', Symbols loaded. <=== I see Debug in the path, so this looks like a debug build.
    But then further down in your output I see this:
    'prueba2_oci.exe': Loaded 'C:\instantclient_11_1\vc9\oraocci11.dll' <=== This is the release build of OCCI dll not the debug build.
    You appear to be mixing debug and release libraries which will not work correctly.
    This is in the following step in the blog post:
    "Expand Configuration Properties node, expand Linker node, select Input item, enter "oraocci11d.lib" for a debug build or "oraocci11.lib" for a release build."
    If you are creating a debug build you need to use oraocci11d.lib as input to the linker.
    You use oraocci11.lib as input to the linker for the release build.
    For your reference, this is what you should see in the output window in Visual Studio for the debug execution:
    'OCCITest.exe': Loaded 'C:\Projects\OCCITest\Debug\OCCITest.exe', Symbols loaded.
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
    'OCCITest.exe': Loaded 'C:\instantclient_11_1\vc9\oraocci11d.dll'  <=== Notice this is the debug version of the occi library (oraocci11d.dll not oraocci11.dll)
    'OCCITest.exe': Loaded 'C:\instantclient_11_1\oci.dll', Binary was not built with debug information.
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\psapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcr90d.dll', Symbols loaded.
    'OCCITest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcp90d.dll', Symbols loaded.
    'OCCITest.exe': Loaded 'C:\instantclient_11_1\oraociei11.dll', Binary was not built with debug information.
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\shell32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\iphlpapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\dbghelp.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\version.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\userenv.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\hnetcfg.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll'
    'OCCITest.exe': Unloaded 'C:\WINDOWS\system32\netapi32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msctf.dll'
    The program '[776] OCCITest.exe: Native' has exited with code 0 (0x0).EDIT: Can you check to make sure you are linking the correct library and let us know if that works?
    Regards,
    Mark

  • Oracle 11G/ MV log is newer than the last full refresh

    MV log is newer than the last full refresh / MV-Log ist neuer als letzter vollständiger Refresh
    Oracle 11G
    We access from two data banks about MATERIALIZED VIEWs a big master table.
    The second data bank is new created. A Complete-Refresh lasts > one hour.
    Then never takes place fast-refresh because the MV log on the master db
    does not reproach with the data long enough. What can we do? Can one
    increase the hold duration of the data in the MV LOG?
    Thanks!
    Edited by: 952865 on 15.08.2012 02:27
    Edited by: 952865 on 15.08.2012 02:28

    What do you get with the following query on the side of your master table?
    with
    sg as
    (select segment_name,owner, bytes
       from sys.dba_segments
      where segment_name like 'MLOG$%'),
    tb as
    (select owner, object_name, object_type, created, last_ddl_time
       from sys.dba_objects where object_type = 'TABLE')
    select
      bm.owner bm_owner,
      ml.log_owner ml_owner,
      bm.master bm_table,
      ml.master ml_table,
      ml.log_table log_table,
      sg.bytes log_size,
      tb.created log_created,
      tb.last_ddl_time log_modified,
      bm.mview_id bm_id,
      rm.mview_id rm_id,
      rm.owner s_owner,
      rm.name s_table,
      rm.mview_site s_site,
      rm.can_use_log,
      rm.version,
      ml.rowids ml_rwid,
      ml.primary_key ml_pk,
      rm.refresh_method rm_meth,
      ml.sequence ml_seq,
      ml.include_new_values ml_new,
      bm.mview_last_refresh_time
    from            sys.dba_registered_mviews rm
    full outer join sys.dba_base_table_mviews bm
      on bm.mview_id = rm.mview_id
    full outer join sys.dba_mview_logs ml
      on bm.master = ml.master and bm.owner = ml.log_owner
    full outer join sg
      on ml.log_table = sg.segment_name and ml.log_owner = sg.owner
    left outer join tb
      on tb.owner = sg.owner and tb.object_name = sg.segment_name
    where
         bm.master is null
      or bm.master = :mastertable
      or ml.master is null
      or ml.master = :mastertable
    order by 1,2;For :mastertable you have to insert the name of the table, where you created the MV LOG on.

  • Allow Windows AD domain user to access and manage objects in Oracle 11g

    Hi,
    I'm using Oracle 11g on Windows environments, XP, server 2003 etc.
    If I use a domain user (user1) maintained on domain server (adsvr.company.com) to manage Oracle objects in DB server (dbsvr), do I have to assign user1 as member of administrator on DB server (dbsvr)?
    I'm asking this because my software vendor requires for it but our security policy doesn't allow us to assign normal domain user (user1) to administrator group on local machine (dbsvr).
    If I have to assign user1 to administrator group on dbsvr, please point me which document says so.
    Thank you in advance.
    Jeffrey

    Looks like some left-over processes keeping a hold on configuration files.
    Manually kill the left-over processes and start the DB Console.
    Refer:
    How To Identify and Remove an Agent or DBConsole Processes From a Windows Server (Note 785772.1)
    Refer this as well:
    EMCA Troubleshooting Tips
    http://docs.oracle.com/cd/E11882_01/server.112/e25494/dbcontrol.htm#ADMIN13444
    HTH
    Mani

  • Object Invalidation in Oracle 11g R2

    Hi All,
    I found a distinct behaviour in oracle 11gR2 which is not even available in previous releases . Let me explain with an example.
    --creating a small table
    create table TEMPSAMPLE (COL1 VARCHAR2(10),COL2 VARCHAR2(10),COL3 VARCHAR2(15),COL4 VARCHAR2(15));
    -- Now Creating an Primary key index for table TEMPSAMPLE
    ALTER TABLE TEMPSAMPLE ADD CONSTRAINT PKTEMPSAMPLE PRIMARY KEY (COL1,COL2);
    ---CREATING A VIEW ON THE ABOVE TABLE
    CREATE OR REPLACE VIEW VWTEMPSAMPLE AS
    SELECT * FROM TEMPSAMPLE;
    -- CREATING A PACKAGE WHICH USES TEMPSAMPLE AND VWTEMPSAMPLE OBJECTS.
    CREATE OR REPLACE PACKAGE PKGSAMP AS
    VAL1 TEMPSAMPLE.COL1%TYPE;
    VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
    PROCEDURE VERIFYSAMP(INVAL IN NUMBER);
    END PKGSAMP;
    CREATE OR REPLACE PACKAGE BODY PKGSAMP IS
    PROCEDURE VERIFYSAMP(INVAL IN NUMBER)
    AS
    VAL1 TEMPSAMPLE.COL1%TYPE;
    VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
    BEGIN
    VAL1:='RAVI';
    FOR RC IN (SELECT * FROM VWTEMPSAMPLE)
    LOOP
    DBMS_OUTPUT.PUT_LINE('COL1 '||RC.COL1);
    DBMS_OUTPUT.PUT_LINE('COL2 '||RC.COL2);
    DBMS_OUTPUT.PUT_LINE('COL3 '||RC.COL3);
    END LOOP;
    INSERT INTO TEMPSAMPLE VALUES('REC05','RAVI','EEE','CK');
    DELETE FROM TEMPSAMPLE WHERE COL1='RECO1';
    UPDATE TEMPSAMPLE SET COL4='CKR' WHERE COL1='RECO2';
    DBMS_OUTPUT.PUT_LINE('VALUE IS '||INVAL);
    DBMS_OUTPUT.PUT_LINE('VALUE IS '||VAL1);
    END VERIFYSAMP;
    END PKGSAMP;
    --CREATING A PACKAGE PKGSAMP2 WHICH USES TEMPSAMPLE TABLE ITSELF
    CREATE OR REPLACE PACKAGE PKGSAMP2 AS
    VAL1 TEMPSAMPLE.COL1%TYPE;
    VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
    PROCEDURE VERIFYSAMP(INVAL IN NUMBER);
    END PKGSAMP2;
    CREATE OR REPLACE PACKAGE BODY PKGSAMP2 IS
    PROCEDURE VERIFYSAMP(INVAL IN NUMBER)
    AS
    VAL1 TEMPSAMPLE.COL1%TYPE;
    VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
    BEGIN
    VAL1:='RAVI';
    FOR RC IN (SELECT * FROM TEMPSAMPLE)
    LOOP
    DBMS_OUTPUT.PUT_LINE('COL1 '||RC.COL1);
    DBMS_OUTPUT.PUT_LINE('COL2 '||RC.COL2);
    DBMS_OUTPUT.PUT_LINE('COL3 '||RC.COL3);
    END LOOP;
    INSERT INTO TEMPSAMPLE VALUES('REC05','RAVI','EEE','CK');
    DELETE FROM TEMPSAMPLE WHERE COL1='RECO1';
    UPDATE TEMPSAMPLE SET COL4='CKR' WHERE COL1='RECO2';
    DBMS_OUTPUT.PUT_LINE('VALUE IS '||INVAL);
    DBMS_OUTPUT.PUT_LINE('VALUE IS '||VAL1);
    END VERIFYSAMP;
    END PKGSAMP2;
    -- OBJECT STATUS OF PACKAGES
    SELECT OBJECT_NAME,OBJECT_TYPE,STATUS FROM USER_OBJECTS WHERE OBJECT_NAME IN ('PKGSAMP','PKGSAMP2','VWTEMPSAMPLE');
    OBJECT_NAME   OBJECT_TYPE  STATUS*
    VWTEMPSAMPLE     VIEW     VALID
    PKGSAMP2     PACKAGE BODY     VALID
    PKGSAMP2     PACKAGE     VALID
    PKGSAMP     PACKAGE BODY     VALID
    PKGSAMP     PACKAGE     VALID
    Alter table TEMPSAMPLE DISABLE constraint PKTEMPSAMPLE KEEP INDEX;
    DROP INDEX PKTEMPSAMPLE;
    --OBJECT STATUS OF PACKAGES AFTER DROPPING INDEX
    SELECT OBJECT_NAME,OBJECT_TYPE,STATUS FROM USER_OBJECTS WHERE OBJECT_NAME IN ('PKGSAMP','PKGSAMP2','VWTEMPSAMPLE');
    OBJECT_NAME   OBJECT_TYPE  STATUS*
    VWTEMPSAMPLE     VIEW     INVALID
    PKGSAMP2     PACKAGE BODY     VALID
    PKGSAMP2     PACKAGE     VALID
    PKGSAMP      PACKAGE BODY     INVALID
    PKGSAMP     PACKAGE     VALID
    Alter table TEMPSAMPLE ENABLE constraint PKTEMPSAMPLE;
    As per the above process, if we observe that drop of index on a table arel lead to invalidation of view which* depends on that table  and all the objects which uses this view will also get invalidated.*
    The above invalidation is being occurred only in Oracle 11g R2, due to which we are facing the issue in our application.
    We got a procedure where we disable a constraint , drop a index and process the insertion/updation into the tables. After successfull insertion/updation, at finally we are enabling the constraint.
    This worked fine with previous releases of oracle 11g R2 , where as we recently migrated to 10g R2 which was leading to invalidation of all packages which uses the view , and in the application which uses previous db sessions are unable to access the invalidated package and raising an exception.
    Please provide the solution if any possible

    I tested the behavior in 10.2.0.4 and 11.2.0.3
    In 10.2.0.4, The view was valid if we disabled the constraint using the keep index option but it became invalid after dropping the index. SO i guess you are making them as unusable and rebuilding them after data load.
    in 11.2.0.3, The view became invalid as soon as we disabled the constraint using the keep index option.

  • Accessing Oracle spatial objects (SDO_GEOMETRY) through ODBC/OLEDB

    Hello.
    I tried googling and reading through these forums and Oracle documentation, but I'm still uncertain on this question:
    Are Oracle spatial objects (of type SDO_GEOMETRY) accessible through ODBC and/or OLE DB drivers? Can I retrieve them with SELECT clause? Can I write them to database?
    I'm limited to these options because I'm developing Delphi application based on ADO and it must work with different DB servers. However I certainly don't want to implement different ways of accessing database for each server.
    If geometry objects aren't suported by ODBC/OLEDB, is there any way to convert SDO_GEOMETRY to (and from) BLOB or string or whatever, so I can read and write them like a normal data field?
    Thanks in advance.
    Edited by: user13816863 on 25.01.2011 20:35
    Edited by: user13816863 on 25.01.2011 21:57

    The SDO_UTIL package has lots of options to help output spatial data to other formats, and you may be able to use some of them to help.
    Some that come to mind are:
    SDO_UTIL.TO_WKTGEOMETRY
    SDO_UTIL.TO_GMLGEOMETRY
    SDO_UTIL.TO_KMLGEOMETRY
    This is covered in chapter 32 of the Oracle® Spatial Developer's Guide 11g Release 2 (11.2).

  • How to export a table of data from MS Access 2007 to Oracle 11g

    I have been looking all over trying to find a way to get a table from Access 2007 to Oracle 11g. I tried using the export options in Access but can't get them setup correctly I guess. What are the steps to setting this up correctly or is there another way to export the data?

    MS Access 2007 DB migration To oracle 10g

  • Oracle 11g R2 to MS Access .mdb (Windows Server 2008 64-bit) problem

    I have a need to make connection from Oracle 11g R2 to MS Access database file (mdb). OS is MS Windows Server 2008 64-bit. My configuration is next:
    1. I made System DNS mikeacs (using c:\windows\sys_wow6\odbcad32.exe) to my access mdb file;
    2. I made initmikeacs.ora file in ora_home\hs\admin folder:
    # HS init parameters
    HS_FDS_CONNECT_INFO = mikeacs
    HS_FDS_TRACE_LEVEL = debug
    HS_FDS_SHAREABLE_NAME = c:\Windows
    3. Listener.ora file is:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (SID_NAME = mikeacs)
    (ORACLE_HOME = c:\oracle\product\11.2.0\dbhome_1)
    (PROGRAM = dg4odbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = cspo02)(PORT = 1521))
    4. Tnsnames.ora is:
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    MIKEACS =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=cspo02)(PORT=1521))
    (CONNECT_DATA=(SID=mikeacs))
    (HS=OK)
    5. After this, I restarted Listener:
    lsnrctl stop;
    lsnrctl start;
    Given feedback:
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 20-RUJ-2010 14:47:21
    Uptime 0 days 0 hr. 0 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File c:\oracle\diag\tnslsnr\cspo02\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cspo02)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "mikeacs" has 1 instance(s).
    Instance "mikeacs", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    6. I created db link: create public database link macs using 'MIKEACS' (connected as sysdba);
    7. tnsping mikeacs:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=cspo02)(PORT=1521)) (CONNECT_DATA=(SID=mikeacs)) (HS=OK))
    OK (0 msec)
    Then, when I try fire query (connected as sysdba): select * from mytable@macs;
    get result:
    ERROR at line 1:
    ORA-28513: internal error in geterogeneous remote agent
    ORA-02063: preceding line from MACS;
    Although, when I fire the same query, but connected as other user, get next result:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Driver Manager] Data source name not found and no default
    driver specified {IM002}
    ORA-02063: preceding 2 lines from MACS
    Where is my problem? Please help. Thanks in advance!

    That's the problem. DG4ODBC on 64bit Windows is 64bit and thus it also requires a 64bit ODBC driver.
    If you don't find one - maybe you can install DG4ODBC 32bi on a 32bit platform (please do NOT install it on the 64bit Windows machine) and then use this 32biit DG4ODBC with the 32bit ODBC driver.
    Another option would be to purchase a commercial ODBC driver or a bridged ODBC driver.

  • Oracle 11g for Oracle access manager,  OID version details

    At present we have 1og db for sso and oid. I have checking in db that our exsisting OID and SSO versions are
    Oracle9iAS Single Sign-On 10.1.2.0.2
    Oracle9iAS Internet Directory
    OID 10.1.2.1.0
    We are moving to diff hosting solution and vendor is recommanding to have 11g Oracle access manager(in 11g sso is replaced by OAM) and OID.
    What is the version of OID with 11g or please refer me to the documentaion where i can greb 11g OAM, oid etc versions

    Kapardhi wrote:
    Where can i find oracle 11g server for windows7 home basic 64bit version...Oracle 11gR2 is certified on Windows 7 x64 - Professional, Enterprise, and Ultimate editions -- http://docs.oracle.com/cd/E11882_01/install.112/e24283/toc.htm#BGBEEBAD
    You can download 11gR2 from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    Thanks,
    Hussein

  • Vb6 ODBC - Syntax error or access violation in oracle 11g migration

    Hi,
    We have VB6 application with Oracle 10g and the same is working fine.
    Now, we are migrating to Oracle 11g now and we have updated the odbc drivers too.
    { call M_FR(?, ?, ?, ?, ?, ?, ?, ?) }
    L_ID = 890083
    V_ID = 1
    SUB_ID = 6955141
    SUB_SEQ = 1
    P_CODE = 1
    L_SUP_TYPE = 1
    L_REF_NO = 1
    DELETE_REASON_CODE = 1
    When calling the above sp in oracle 11g getting error: [Microsoft][ODBC driver for Oracle]Syntax error or access violation.
    But user has all the right and no issue with access. Also no syntax error. In SQLplus the same is working fine.
    Kindly help us to resolve this issue.
    Regards,
    Sathiya

    Try downloading the latest version of the 8.1.6 driver off OTN.
    That sounds like a bug that was fixed a while ago.
    Justin

  • Create Type as Object not working in linux oracle 11g

    Pleae refer to the following simple create type as object statement.
    CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER)
    It is working in oracle 11g and windows server 2008 environment.
    But it is not working in oracle 11g with linux environment.
    I am executing this statement as dynamic sql as follows
    CREATE OR REPLACE PROCEDURE TEMP_SP
    AS
    BEGIN
    DECLARE vcType VARCHAR2(30);
    BEGIN
    SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
    WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
    COMMIT;
    RETURN;
    END;
    END;
    exec TEMP_SP
    please let me know what i am missing ?

    And error is:ORA-00600: internal error code, arguments: [kothc_uc_md5:lxerr], [], [], [], [], [], [], [], [], [], [], []
    ORA-06512: at "ATIPAGENT.TEMP_SP", line 10
    ORA-01403: no data found
    ORA-06512: at line 1
    ..Query:exec TEMP_SP...Previous Query:CREATE OR REPLACE PROCEDURE TEMP_SP AS BEGIN DECLARE vcType VARCHAR2(30); BEGIN
    SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
    WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE'; EXCEPTION WHEN NO_DATA_FOUND THEN
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
    COMMIT;
    RETURN;
    END;
    END;

  • Can we access Oracle 10g R2 database from Oracle 11g Client

    Hi,
    Can any1 tell me can we access Oracle 10g R2 database from Oracle 11g Client ? I m unable to find a Oracle Client 10g R2 for Windows 7 32 bit.
    Below link is for Vista only
    http://www.oracle.com/technetwork/database/10203vista-087538.html

    832812 wrote:
    Hi,
    Can any1 tell me can we access Oracle 10g R2 database from Oracle 11g Client ? I m unable to find a Oracle Client 10g R2 for Windows 7 32 bit.
    Below link is for Vista only
    http://www.oracle.com/technetwork/database/10203vista-087538.html
    Check this note for client/server compatibility
    Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1]

  • How to identify the locks in oracle db objects? i dont have access to check

    How to identify the locks in oracle db objects? i dont have access to check the v$lock or v$ objects. i dont have dba access. what are the symptoms for table, row or objects lock? how v guess it would be lock?
    Thanks in advance friends..

    I believe you will have to call your DBA on the phone in that case.
    You can query something with a select ... for update nowait.
    If it raises an exception you can handle it within a when section.
    -- Running in one session
    SQL> create table t1 as select 1 col1 from dual;
    Table created
    SQL> select * from t1 for update nowait;
          COL1
             1
    SQL>
    -- now running in a different session
    SQL> select * from t1 for update nowait;
    select * from t1 for update nowait
    ORA-00054: resource busy and acquire with NOWAIT specified
    SQL> set serveroutput on
    SQL>
    SQL> DECLARE
      2    CURSOR cur1 IS
      3      SELECT col1 FROM t1 FOR UPDATE NOWAIT;
      4    v_col1 NUMBER;
      5    locking_error EXCEPTION;
      6    PRAGMA EXCEPTION_INIT(locking_error, -00054);
      7  BEGIN
      8    OPEN cur1;
      9  EXCEPTION
    10    WHEN locking_error THEN
    11      dbms_output.put_line('Busted locking my rows!');
    12  END;
    13  /
    Busted locking my rows!
    PL/SQL procedure successfully completed
    SQL> Now, surely you won't be able to tell anything else other than there was something locked there.
    But none of the details you would find in the views.

  • Cannot access APEX on Oracle 11g XE Beta on Windows 7

    Hello,
    I installed the Oracle 11g XE Beta on Windows 7 (32 bit). The installation went ok, and I am able to connect to the enterprise manager website using system/password and also using SQL Plus.
    I didn't see a link to APEX setup as part of the install and hence tried http://localhost/pls/apex to launch APEX but an error page shows up.
    Are there any post-install steps that I may have missed? Any pointers appreciated.
    Thanks,
    Manish

    Check your listener status output (in a command/dos box) , it should have the http endpoint port number and host bits for the apex URL. It should not be port 80 which is what you get when the port is not specified.
    $ lsnrctl status
    ... Listeneing Endpoints...
    ... PROTOCOL=tcp)(HOST=<your hostname>)(PORT=8080))(Presentation=HTTP) ...Given that output, apex URL would be http://<your hostname>:8080/apex

Maybe you are looking for

  • Problem about Handling of Empty Files in File Adapter

    Hello everyone, NetWeaver 2004s --- XI In Sender i have a File Adapter. Now i meet a problem about Handling of Empty Files. When i send empty file, but don't cerate a leer message. I have seen following text in help document. But in adapter configura

  • Using Javascript function to change the value of a request variable

    Have a javascript function that activates onchange within a form variable. Would like the javascript function to change the value of a request variable. The javascript function is able to obtain the current value of the request variable ( which is 0

  • How to get the Count of a logic?

    Hi, Very new to CRM. I am trying to get the count of "activity start time" that are greater than current time stamp. Count(activity start time) work. I don't know how to add the time stamp condition to this. I can't add this condition as filter. Appr

  • Acrobat 9 flattening issues

    After generating a "smallest file size" or "PDF/X-1a:2001"  PDF in InDesign CS4 (and fonts are embedded), I add a watermark and everything in the file is fine. After flattening the PDF, there are sporadic areas where type crashes together. Or in anot

  • Duotone not matching overprint

    I have been having a problem with the duotones in my indesign document. I'm using three spot colors for all of the objects and text within the document: a blue, a teal, and a pink. When I make a duotone in photoshop, with the blue and the pink and th