Proxy users  - oracle 9.2  - accessing via sql plus

I may be totally off track here, but here is what I want
to do.
I have 2 schema's (schema A and schema B).
schema A has multiple objects (tables) within it.
I want to allow another user, schema B to access these objects. Can I use the Proxy User settings to do this? By going in and allowing Schema B to proxy for this user (shcema a). "ALTER user schemaA GRANT CONNECT THROUGH schemaB"
I try this and then go into sqlplus and log in as
schemaB, but I can't see any of schemaA's objects.
Am I missing somthing here?
In the past I have always assigned the proper grants to a role and assinged them to schema B as needed which works fine. However, it seemed to me if the proxy user worked the way I thought it would you could do things for an entire schema at one time instead of object by object using the grants.
Thanks
John

The command "oemapp.bat" does not yield any output at the command line. Here comes a session log:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
D:\oracle\ora92\bin>oemapp.bat
D:\oracle\ora92\bin>sqlplusw
Zugriff verweigert (= access denied)
D:\oracle\ora92\bin>dir oem*
Volume in Laufwerk D: hat keine Bezeichnung.
Volumeseriennummer: A0D5-BD0B
Verzeichnis von D:\oracle\ora92\bin
17.10.2006 11:15 4.971 oemapp.bat
26.04.2002 16:29 24.848 oemautil.exe
26.04.2002 16:29 20.752 oemevent.exe
3 Datei(en), 50.571 Bytes
0 Verzeichnis(se), 18.221.547.520 Bytes frei
D:\oracle\ora92\bin>dir sqlplus*
Volume in Laufwerk D: hat keine Bezeichnung.
Volumeseriennummer: A0D5-BD0B
Verzeichnis von D:\oracle\ora92\bin
27.04.2002 00:07 459.024 sqlplus.exe
26.04.2002 23:58 700.416 sqlplusw.exe
2 Datei(en), 1.159.440 Bytes
0 Verzeichnis(se), 18.221.547.520 Bytes frei
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I'm glad about your immediate response!
Message was edited by:
user542934

Similar Messages

  • Connect via SQL*Plus taking more time in Oracle 11 than in 10

    Oracle Version
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Productioncurrently migrating from
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
    NLSRTL Version 10.2.0.4.0 - ProductionOS is AIX 5.3 for Oracle 10 and AIX 6.1 for Oracle 11.
    We are currently in the process of migrating some applications from Oracle 10 to 11. Our admins have setup a new development system for us with an Oracle 11 instance. Regarding performance the new system behaves more or less the same than our old, e.g. when executing SQLs we notice hardly any performance differences and those we find are slightly in favour of the new system.
    But now we discovered that the time it takes to establish a database connection via SQL*Plus is longer on the Oracle 11 system. Running the following code
    sqlplus -s user/pw@database <<END
    quit
    ENDa thousand times takes ~60s under Oracle 10 but ~140s under Oracle 11. This may not seem much but we are running a test framework consisting of a bunch of shell scripts where several thousand connections are openend via SQL*Plus to execute some SQLs, so that even this small time difference results in rather huge difference in total runtime. The SQLs themself require roughly the same time in both databases, as already mentioned above they are in fact slightly faster in Oracle 11.
    To analyze the time difference I ran a trace for the connect with the following parameters in sqlnet.ora
    TRACE_LEVEL_CLIENT=4
    TRACE_UNIQUE_CLIENT=ONand found out that there is a time difference of about 70ms during the connect handshake:
    Oracle 10
    [22-MAR-2013 12:13:09:595] nscon: doing connect handshake...
    [22-MAR-2013 12:13:09:595] nscon: sending NSPTCN packet
    [22-MAR-2013 12:13:09:621] nscon: got NSPTRS packet
    [22-MAR-2013 12:13:09:621] nscon: sending NSPTCN packetOracle 11
    (1) [22-MAR-2013 12:15:26:812] nscon: doing connect handshake...
    (1) [22-MAR-2013 12:15:26:812] nscon: sending NSPTCN packet
    (1) [22-MAR-2013 12:15:26:906] nscon: got NSPTRS packet
    (1) [22-MAR-2013 12:15:26:906] nscon: sending NSPTCN packetUnder Oracle 10 there are 26ms between sending the NSPTCN packet and getting the NSPTRS packet, whereas under Oracle 11 this takes 94ms. I ran the trace again, this time with
    TRACE_LEVEL_CLIENT=16and got the following results for the critical interval:
    Oracle 10:
    [22-MAR-2013 13:17:37:638] nscon: sending NSPTCN packet
    [22-MAR-2013 13:17:37:638] nspsend: entry
    [22-MAR-2013 13:17:37:638] nspsend: plen=218, type=1
    [22-MAR-2013 13:17:37:638] nttwr: entry
    [22-MAR-2013 13:17:37:638] nttwr: socket 9 had bytes written=218
    [22-MAR-2013 13:17:37:638] nttwr: exit
    [22-MAR-2013 13:17:37:638] nspsend: packet dump
    <<packet dump removed>>
    [22-MAR-2013 13:17:37:638] nspsend: 218 bytes to transport
    [22-MAR-2013 13:17:37:638] nspsend: normal exit
    [22-MAR-2013 13:17:37:638] nscon: exit (0)
    [22-MAR-2013 13:17:37:638] nsdo: nsctxrnk=0
    [22-MAR-2013 13:17:37:638] nsdo: normal exit
    [22-MAR-2013 13:17:37:638] nsdo: entry
    [22-MAR-2013 13:17:37:638] nsdo: cid=0, opcode=68, *bl=512, *what=9, uflgs=0x0, cflgs=0x3
    [22-MAR-2013 13:17:37:638] nsdo: rank=64, nsctxrnk=0
    [22-MAR-2013 13:17:37:638] nsdo: nsctx: state=2, flg=0x4005, mvd=0
    [22-MAR-2013 13:17:37:638] nsdo: gtn=10, gtc=10, ptn=10, ptc=2011
    [22-MAR-2013 13:17:37:638] nscon: entry
    [22-MAR-2013 13:17:37:638] nscon: recving a packet
    [22-MAR-2013 13:17:37:638] nsprecv: entry
    [22-MAR-2013 13:17:37:638] nsprecv: reading from transport...
    [22-MAR-2013 13:17:37:638] nttrd: entry
    [22-MAR-2013 13:17:37:665] nttrd: socket 9 had bytes read=8
    [22-MAR-2013 13:17:37:665] nttrd: exit
    [22-MAR-2013 13:17:37:665] nsprecv: 8 bytes from transport
    [22-MAR-2013 13:17:37:665] nsprecv: tlen=8, plen=8, type=11
    [22-MAR-2013 13:17:37:665] nsprecv: packet dump
    [22-MAR-2013 13:17:37:665] nsprecv: 00 08 00 00 0B 00 00 00  |........|
    [22-MAR-2013 13:17:37:665] nsprecv: normal exit
    [22-MAR-2013 13:17:37:665] nscon: got NSPTRS packetOracle 11
    (1) [22-MAR-2013 13:33:40:504] nscon: sending NSPTCN packet
    (1) [22-MAR-2013 13:33:40:504] nspsend: entry
    (1) [22-MAR-2013 13:33:40:504] nspsend: plen=205, type=1
    (1) [22-MAR-2013 13:33:40:504] nttwr: entry
    (1) [22-MAR-2013 13:33:40:504] nttwr: socket 8 had bytes written=205
    (1) [22-MAR-2013 13:33:40:504] nttwr: exit
    (1) [22-MAR-2013 13:33:40:504] nspsend: packet dump
    <<packet dump removed>>
    (1) [22-MAR-2013 13:33:40:505] nspsend: 205 bytes to transport
    (1) [22-MAR-2013 13:33:40:505] nspsend: normal exit
    (1) [22-MAR-2013 13:33:40:505] nscon: exit (0)
    (1) [22-MAR-2013 13:33:40:505] snsbitts_ts: entry
    (1) [22-MAR-2013 13:33:40:505] snsbitts_ts: acquired the bit
    (1) [22-MAR-2013 13:33:40:505] snsbitts_ts: normal exit
    (1) [22-MAR-2013 13:33:40:505] nsdo: nsctxrnk=0
    (1) [22-MAR-2013 13:33:40:505] snsbitcl_ts: entry
    (1) [22-MAR-2013 13:33:40:505] snsbitcl_ts: normal exit
    (1) [22-MAR-2013 13:33:40:505] nsdo: normal exit
    (1) [22-MAR-2013 13:33:40:505] nsdo: entry
    (1) [22-MAR-2013 13:33:40:505] nsdo: cid=0, opcode=68, *bl=2048, *what=9, uflgs=0x0, cflgs=0x3
    (1) [22-MAR-2013 13:33:40:505] snsbitts_ts: entry
    (1) [22-MAR-2013 13:33:40:505] snsbitts_ts: acquired the bit
    (1) [22-MAR-2013 13:33:40:505] snsbitts_ts: normal exit
    (1) [22-MAR-2013 13:33:40:505] nsdo: rank=64, nsctxrnk=0
    (1) [22-MAR-2013 13:33:40:505] snsbitcl_ts: entry
    (1) [22-MAR-2013 13:33:40:505] snsbitcl_ts: normal exit
    (1) [22-MAR-2013 13:33:40:505] nsdo: nsctx: state=2, flg=0x4005, mvd=0
    (1) [22-MAR-2013 13:33:40:505] nsdo: gtn=10, gtc=10, ptn=10, ptc=8155
    (1) [22-MAR-2013 13:33:40:505] nscon: entry
    (1) [22-MAR-2013 13:33:40:505] nscon: recving a packet
    (1) [22-MAR-2013 13:33:40:505] nsprecv: entry
    (1) [22-MAR-2013 13:33:40:505] nsprecv: reading from transport...
    (1) [22-MAR-2013 13:33:40:505] nttrd: entry
    (1) [22-MAR-2013 13:33:40:618] nttrd: socket 8 had bytes read=8
    (1) [22-MAR-2013 13:33:40:618] nttrd: exit
    (1) [22-MAR-2013 13:33:40:618] nsprecv: 8 bytes from transport
    (1) [22-MAR-2013 13:33:40:618] nsprecv: tlen=8, plen=8, type=11
    (1) [22-MAR-2013 13:33:40:618] nsprecv: packet dump
    (1) [22-MAR-2013 13:33:40:618] nsprecv: 00 08 00 00 0B 00 00 00  |........|
    (1) [22-MAR-2013 13:33:40:618] nsprecv: normal exit
    (1) [22-MAR-2013 13:33:40:618] nscon: got NSPTRS packetAny ideas what could be the reason for this time difference? Something in our network configuration or something else?

    With local connections - I do not think a TCP packet send from an IP to the same IP, leaves the interface as an actual wire protocol/signal. If I'm correct, then running local connection tests will be mostly useless in checking the actual network infrastructure.
    Tests 3 and 4 should be showing the same connection times as the same physical network infrastructure is used - only the direction is reversed in the tests.
    I would assume that port settings on the switches and interface settings on the routers treat packets equally in both directions between 2 servers. But this could in part explain the problem if this is not the case. In a case of a router for example, the 1st test's ingress interface is the egress interface of the 2nd test (and vice versa). Configurations can differ substantially between interfaces on the same router. Likewise if there is a firewall - as different rule sets are applied in each test and these rule sets could differ.
    So I would not be too quick to state that this is definitely not a network problem. But I agree that based on the small percentage difference (assuming comparable tests), it does not look like a network issue.
    The next step is to determine what the delay is between the listener accepting the client connection, and the connection being serviced by a dedicated server process.
    This will require listener tracing - tracing the time from when the listener accepted the connection (and parsed the TNS connection string), to handing off the connection to the dedicated server process.
    As a comparison test, you can also test shared server connections. Dispatcher processes (of the db instance) register themselves with the listener. The shared server client hand off is thus done to an existing server process - no need for the Listener to make a kernel call to load and initialise an executable image.
    Shared connections are typically faster than dedicated connections in this respect.
    If there is a major time difference, then it means some kind of issue with the listener dealing with dedicated servers as oppose to dispatcher hand off's. As both connections would have had very similar network transit time - which means the connection time difference is related directly to dealing with a dedicated server connection request and hand off.
    You can also substitute the oracle executable with a wrapper - and troubleshoot the actual dedicated server startup. I've only done this with Oracle XE 10.2 though and with local IPC connections. Unsure how robust this will be for testing purposes via TCP using 11g.

  • How do i access the SQL*plus

    hello, i am having problems accessing my SQL*plus: its asking for a login name, password and some host string what is this? someone please help
    thank you
    A.

    I have only begun to learn database related fields. I have downloaded the iSQL*Plus (from this Oracle site), but am unable to use it due to complications in installing this product. How does one access the Oracle server? I trying to access it via my home PC (w/ windows98). Do I need to purchase additional software on my own? if so which one? How would any of you suggest I go about learning the PL/SQL (on my own as classes won't fit in schedule) ? Appreciate your help.

  • Connection Via SQL*Plus Worksheet

    Dear Friends,
    I have a peculiar problem. I am connecting via 9i client to a oracle 8i server.
    I could manage to access the database via 9i client's EM and SQL scratch pad. But I am unable to connect via SQL*plus worksheet.
    I got this error
    ERROR:
    ORA-12154: TNS:could not resolve service name
    While I test the service name via Oracle Net manager, it is successful.
    Anybody could shed some light.
    Regards
    Kumar

    Enterprise Manager still has SQL*Plus Worksheet. See:
    http://download-west.oracle.com/docs/cd/B10501_01/em.920/a96670/ch_alone.htm#1015179
    -- CJ

  • Restricting the user to operate DML's from SQL PLUS Environment

    how to Restrict the user to operate DML statements from SQL PLUS Environment.

    Once you restrict SCOTT user to not be able to do an INSERT command, the SQL*Plus returns an error for user SCOTT when he tries to execute an INSERT statement.
    Note however, that this is enforced by SQL*Plus, not the database!
    Look into the use of product_user_profile from Oracle documentation for more information.
    SQL> insert into product_user_profile values('SQL*Plus', 'SCOTT', 'INSERT', NULL, NULL, 'DISABLED', NULL, NULL) ;
    1 row created.
    SQL> commit ;
    Commit complete.
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
    SQL>
    SQL> connect scott
    Enter password:
    Connected.
    SQL>
    SQL> insert into emp select * from emp ;
    SP2-0544: invalid command: insert
    SQL>
    SQL>

  • Oracle Identity and Access Management Suite Plus Integration with Oracle ADF

    Hi All,
    Kindly advice if Oracle Identity and Access Management Suite Plus can be integrated with Oracle ADF based applications to manage the end-to-end lifecycle of user accounts specifically addressing to roles/priviledges and security.
    Request you to share links to documentation where I can study the steps to integrate both the frameworks.
    Looking forward to hear from you soon.
    Best Regards,
    Ankit Gupta 

    Hi Sébastien,
    I came across the below link for the required integrations -
    Oracle&amp;reg; Fusion Middleware Installation Guide for Oracle Identity and Access Management 11g Release 2 (11.1.2) - …
    Oracle&amp;reg; Fusion Middleware Enterprise Deployment Guide for Oracle Identity Management 11g Release 2 (11.1.2) - Co…
    Best Regards,
    Ankit Gupta

  • Labview bitmaps to Access via SQL

    I am trying to write a bmp file that is created into labview into an access
    database via SQL. The user must be able to browse the database in access and
    view the bitmap image as part of the form. So far I am able to extract the
    bitmap, view it in labview, and save the file using the picture toolkit
    Vi's. If I create a longbinary table in access (OLE Object) I can write some
    binary data to the table but I can't view. Anyone have any ideas how I could
    accomplich this? Any help would be greatly appreciated.
    Thanks
    Kevin

    check...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05058e8d-0c01-0010-c986-fdc8eaebf37c

  • Making connection to Oracle 9i via SQL Plus - Mark

    Hi,
    I am unable to connect to oracle 9i via dos prompt or SQL Plus.
    I installed the satabase on windows.
    The SID is obiwan. Please help, already browsed similar topics and its not happening.
    Thanks in advance.

    The Listener is the process that is listening for incoming remote connections to the DB(s).
    Database and Listener have Windows services, and services have to be started. Also, from DOS prompt you can do :
    C:\> lsnrctl stat
    to see if the Listener is active : the result should be the list of active DB(s).
    To connect locally to the DB do the following :
    C:\> set ORACLE_SID=obiwan
    C:\> sqlplus "/ as sysdba"
    The result should be something like SQL*Plus: Release 9.2.0.4.0 - Production on Dom Apr 10 16:58:32 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    SQL>If the result is something like : SQL*Plus: Release 9.2.0.4.0 - Production on Dom Apr 10 17:01:29 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to an idle instance.
    SQL>                                                                          then it means that the DB is not up. In this case try :
    SQL> startup
    That way you are connected as sysdba, you can startup and shutdown the DB, create users, and so on. Do not use this connection to create objects (tables, indexes and so on) :
    create an user, using the command "create user" (See [url http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/toc.htm]Sql documentation), and connect as that user, for example
    SQL> conn scott/tiger
    or, at DOS prompt
    C:\> sqlplus scott/tiger
    If you create a TNS alias, as I said before, you can use that as connection string from DOS prompt
    C:\> sqlplus scott/tiger@<TNS alias>
    or using SqlPlus in the Oracle menu.

  • Internal PLSQL Tables Access via SQL. But how ?

    Hello,
    I want to write the result of a database query in an internal PLSQL Table. After that i would like work with this internal PLSQL Table
    in a Package/Procedure/Function.
    Important for me is to access the internal Table via SQL because i have to refactor a package wich is working with 46 Database Tables an plain SQL. I
    would like to change these DB Tables into internal PLSQL Tables.
    I have written a short example wich will explain my approach to solving this problem.
    The syntax will be accepted by the Database but my 'dbms_output.put_line' statement at the end is empty or blank.
    What do i wrong ? Would be nice if anyone can help me out.
    With best regards
    Jens
    pre work :
    create table PERSON_DB_TABLE
    (SURNAME  VARCHAR2(50),
    LASTNAME VARCHAR2(50));
    insert into PERSON_DB_TABLE values
    ('JENS','FOERSTER');
    insert into PERSON_DB_TABLE values
    ('MAX','MEIER');
    insert into PERSON_DB_TABLE values
    ('MARTHA','MUSTERMANN');
    create type PERSON_OBJECT as object (
        SURNAME  VARCHAR2(50),
        LASTNAME VARCHAR2(50));
    create type PERSON_NESTED_TABLE as table of PERSON_OBJECT;
    now my anonymous block
    declare
       v_PERSON_OBJECT        PERSON_OBJECT;
       v_PERSON_NESTED_TABLE  PERSON_NESTED_TABLE;
       v_PERSON_OBJECT_2      PERSON_OBJECT;
    begin
       for v_counter in (select SURNAME, LASTNAME into v_PERSON_OBJECT.SURNAME,
                                                                                            v_PERSON_OBJECT.LASTNAME
                                  from PERSON_DB_TABLE)
         loop
            v_PERSON_NESTED_TABLE := PERSON_NESTED_TABLE(v_PERSON_OBJECT);
         end loop;
       for v_counter in (select SURNAME, LASTNAME into v_PERSON_OBJECT_2.SURNAME,
                                                                                            v_PERSON_OBJECT_2.LASTNAME
                                  from TABLE (v_PERSON_NESTED_TABLE))
         loop
            dbms_output.put_line(v_PERSON_OBJECT_2.LASTNAME);
         end loop; 
    end;

    1386a7b8-e834-43bf-a0d4-922b548bb70b wrote:
    I need this, because my customer didn't like the idea to use Database Tables instead of Variables in the RAM. So he wants this procedure redesigned.
    As Mike says, keep this person away from your database.
    Customers should not be dictating how to implement technical solutions, they should be providing business and logical requirements.
    PL/SQL arrays/collections use expensive PGA memory, taking up valuable server resources.
    Copying data from the database to PGA memory to try and process it using PL/SQL is bad design.  SQL is designed specifically for data manipulation using database tables, so it's the ideal way to do process data... directly on database tables.

  • Oracle 8i Lite: logging to sql plus - uid, password, host string - whats that

    If i install "Oracle 8i Lite" (just locally, not networked). There are two important things : "Navigator", and "SQL Plus". If in navigator, I create a local database called "xxx" (tables under 'system' user). Then if i need to query - i go to SQL Plus. Fine, but how do we log in - what is the "host string" ?.
    The login needs, Userid, Password, Host String. In some docs, it said the userid, password for 'system' account is 'system, manager' respectively. Anyways, now the host string , i had read the 'host string' will be like "@databasename", so I think for me, it will be "@xxx"
    But the way, I'm understing, i cant log, and SQL Plus says something "TNS: could not resolve service name". Maybe i have to something with that tnsnames.ora file....?
    Incase, you could give ANY information, kindly inform.
    Thanks
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mulyadi Kurniawan ([email protected]):
    Host string usually refers to the host string that is stored in your TNSNAMES.ORA file. You can open TNSNAMES.ORA with a text editor.
    If you get "TNS: could not resolve service name", it's either you have not start the database or your configuration in TNSNAMES.ORA is wrong.<HR></BLOCKQUOTE>
    hi,
    iam getting the same error(the TNS thing)can you be a bit more explaining regarding how to solve the problem.
    thanks
    null

  • Connecting to 9i Lite DBMS via SQL*Plus?

    Finally got the install to run successfully. However, I can't make an ODBC connection to the database with SQL*Plus. Any ideas (other than going back to 8i Lite)?

    Have you created a User Data Source to your Oracle Lite database throught the Microsoft ODBC Administrator? If so, then through sql*plus- you should be able to test connectivity.
    Goto a dos command window and type sqlplus system/manager@odbc:your_database_name;
    Where your_database_name is the name of the OBDC Data Source name that you have created.
    Hope this helps.
    null

  • Why did Oracle remove GUI version of SQL*PLUS from 11g client?

    SQLPLUSW.exe is a very handy tool for running ad hoc SQL, performance is much better than SQL Developer

    Hello,
    sqlplus.exe is still available.

  • Can connect to DB via SQL plus but not Toad!

    I have installed: 10GR2 on D drive on XP machine, on C drive i have toad and Dev suite 6i (for connecting to old db's). Now, I can sqlplus from command line no problem, but when I try to connect through toad it says no listener, I also cannot tnsping my 10G db. Any idea's?

    steve contents of Devsuite tnsnames are here: the 10G db is LOCAL
    LOCAL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = weres09023)
    (PORT = 1521)
    (CONNECT_DATA =
    (SERVICE_NAME = LOCAL)
    EISPATCH =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = rmerptest)
    (PORT = 2011)
    (CONNECT_DATA =
    (SERVICE_NAME = EISPATCH)
    MKPEURT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = KARL)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = MKPEURT)
    MKPEUR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = BARNEY)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = MKPEUR)
    UAT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = rmdbtest)
    (PORT = 1800)
    (CONNECT_DATA =
    (SID = UAT)
    DEV11 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = drerptest)
    (PORT = 1700)
    (CONNECT_DATA =
    (SID = DEV11)
    PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = rmdbprod)
    (PORT = 1600)
    (CONNECT_DATA =
    (SID = PROD)
    UPGD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = rmdbtest)
    (PORT = 2200)
    (CONNECT_DATA =
    (SID = UPGD)
    which net manager? the 10G home or the Devsuite home?

  • Proxy User - Forms 11.1.2 and Oracle Database (version 10.1.0.5) ??

    Hi,
    we are migrating from Forms 6i to 11.1.2. Our database version is very old (Enterprise Edition, version 10.1.0.5) because this is the latest version of the DB that Forms 6i runs, and we will migrating to 11g in phases. So 6i and 11g will co-exists for a while (accesing the same DB).
    I am trying to use proxy users feature to login to database.
    So I did this:
    - I created a user PROXY_USR to be the proxy user:
    SQL> create user PROXY_USR identified by PROXY_PASW;*
    - I grant create session for the user:
    SQL> grant create session to PROXY_USR;*
    - I changed the application users (eg APPUSER01), to connect via proxy user:
    SQL> alter user APPUSER01 grant connect through PROXY_USR;*
    The comand in Forms module to login is:
    +LOGON('PROXY_USR[APPUSER01]','PROXY_PASW@DB01');+*
    The logon built is being performed and the connection being made, without erros.
    But when I verify in what user the application is logged on, the result is not
    what was expected:
    I did the follwing PL/SQL inside Form module:
    begin*
    select user into v_user_DB from dual;*
    MESSAGE('User Connected: '||v_user_DB,ACKNOWLEDGE);*
    exception*
    when others then*
    MESSAGE('ERR: '||SQLERRM,ACKNOWLEDGE);*
    end;*
    The result from this select, is PROXY_USR and not APPUSER01 (that would be the correct):
    *>>Result: "User Connected: PROXY_USR"*
    Some more commands that were also performed inside Forms module:
    begin+
    select sys_context('userenv','current_user') v_current_usr from dual+
    MESSAGE('Current User: '||v_current_usr,ACKNOWLEDGE);+
    exception+
    when others then+
    MESSAGE('ERR: '||SQLERRM,ACKNOWLEDGE);+
    *>>Result: "User Connected: PROXY_USR"*
    begin+
    select sys_context('userenv','proxy_user') v_proxy_user from dual;+
    MESSAGE('Current User: '||v_proxy_user,ACKNOWLEDGE);+
    exception+
    when others then+
    MESSAGE('ERR: '||SQLERRM,ACKNOWLEDGE);+
    *>>Result: "Proxy User: "*
    OBS: when a connect via SQL*Plus, in a 11g database (Express), and run the commands above, the results are OK. The
    APPUSER01 is returned.
    Any ideas ?? I will open a SR in Metalink, but I think they will first request a database upgrade,
    which is not feasible for us at the moment ...
    Thanks in Advance.
    Franco

    Unfortunately besides trying on a certified combination (maybe use the Developer Database VM and import the required schemas for trial) and going through the documentation at http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/sso.htm I can't offer more. I don't have a 10gR1 database anymore and also I don't have OID to play with.
    cheers

  • How to implement Oracle user/role security with Access front end?

    Hi,
    We have successfully migrated our Access database tables to Oracle 10g using SQL developer. We've recreated all the users and roles(i.e., access groups) in Oracle and granted rights to tables.
    In the Access front end database, in the Database window we have saved linked Oracle tables which replaced the Access tables. The forms, reports, queries run fine with the linked Oracle tables. All the linked table use one ODBC DSN to the Oracle database with the same Oracle user id.
    We need to be able to authenticate users into the Oracle database and RE-link the tables based on their own unique user id. By during so we can allow users to use the Oracle standard user id/role and system privileges to control select, update, ect. rights to the database.
    I've been able to use the VB code within Access to logon into the database with a unique id, but I have not been able to find out how to RE-link the tables to the unique user id using VB. There should be some way to relink tables dynamically, based on users login into the Access front end.
    I don't know a great deal about Access projects, but I do know with SQL server allows login into your Access project and link tables dynamically.
    Can someone give me some assistance or point me in the right direction?
    Thanks in advance,
    Larry

    We had one of our programmers here come up with a VB code solution for re-linking table within Access. However the relinking takes 3-4 minutes for 100+ tables.
    In an effort to help you understand the situation better, I will attempt to elaborate on the problem:
    We have an Access 2003 application which currently has a front end using Access(forms, reports, queries, & VB code) and a MS Access 2003 backend.
    We have migrated the backend tables to Oracle. However, we still have a need to maintain the front end in Access, since we have over 60 forms, 40 reports, 200+ queries in Access. Its easy to understand, we have a significant investment in the front end(Obviously, the plan is to migrate the front end also at some future date).
    In order to utilized the existing front end, we have to validate and modify the current front end connections to the new Oracle backend. One of the features of Access is that you can "link" tables and save the link for runtime. Each Access table can have its own link which is a separate ODBC/JET connection. As such, each separate link has its own userid/database information.
    The other issue with using the Access front-end is that Access utilizes a workgroup file to implement user and group security. The workgroup file contains all the users and which groups the users belong to in Access. Then within Access, you allow users access to object(tables, queries, ect) by their userid and or group. When users open an Access database with Access security enabled, they are required to log into Access. The login is authenticated by the workgroup file. Once, logged into Access, users have rights to Access objects based on their rights granted to their userid and groups they belong. The problem here is that when you remove the linked Access tables and replace them with linked Oracle tables, Access has knowledge about Oracle table rights granted to users; nor would you expect it to.
    The dilema is the disconnect between Access and the fact Oracle utilizes a similar but much more sophisticated security model. It creates users and roles(which are similar to Access groups), and again this is independent of Access security.
    Our solution was to still use the Access workgroup file security along with the Oracle security model. By using the Access userid and then creating a similar Oracle userid with similar table rights granted in Access, you could apply security within Access and also with the Oracle database.
    For example, a user BOB logs into Access via the workgroup file, using VB code, Access then establishes a Oracle connection logining into Oracle using the same unique userid BOB into Oracle.
    After connecting and validating user BOB into Oracle, then the Access tables are relinked to Oracle using the user BOB userid and table rights.
    This Oracle userid has been granted table rights specific for this userid.This allows the user BOB to use the Access application and still be authenticated into the Oracle database.
    The problem with this solution is that the relinking of the saved Access tables takes 3-7 minutes for about 100+ tables. This is not acceptable for users each time they log into the application.
    Our current alternative is to use one Oracle userid to login each user, and use Access form restrictions/security to allow/prevent users from updating/viewing data. Obviously, this is not the optimal solution in respect to security, but it at least allows us to control access to the data(via the forms) by using one logon required for each user, and quick startup time for the application.
    I understand SQL server does a better job in integration, but we use Oracle which is what I am trying to work with.
    Larry

Maybe you are looking for

  • Why does iPhone rate whole album when it syncs to iTunes rather than just single song sometimes?

    I wasn't sure if this should be an iTunes or iPhone discussion, so here goes! I am very particular about rating my music.  Every day at work, as songs play on my iPhone, I give them a star rating.  This star rating then transfers to iTunes when I syn

  • Need help with using Factory Unlocked iPhone 4 (GSM) in US

    Hi all I have an factory unlocked iPhone 4 (GSM) which is bought overseas. I will come to the US soon but I don't know how can I continue using with the US carriers. Any solution?

  • L_s_range-low not taking leading zeros

    Getting a value of '01111' from a source. Want to add the leading zeros of '00001' to '01111' to become '0000101111' and assign that to l_s_range-low. Tried CONVERSION_ALPHA EXIT_INPUT but there are too many zeros added. Tried translate, shift , and

  • I get a message that says ipod is full

    I have the 4gb ipod nano and I only have 3.7 gb of music on there, and when I try to update it with 1 or 2 new songs I get a message that says "cannot update. ipod is full" Anyone have an idea to fix this or know what it means?

  • Unexpected Error while looging in to FR Studio

    Hi We are using FR studio 11.1.1 and getting error while user logs in. it shows following error "An unexpected error occurred". and then blank repository is shown to user. No reports are shown and available for editing. This error we get intermittent