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

Similar Messages

  • 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.

  • How to find the size of a Oracle 11g table

    I want to find the size of a table in Oracle 11g.
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    --- List all tables sorted by size
    set lines 100 pages 999
    col     segment_name     format a40
    col      mb           format 999,999,999
    select     segment_name
    ,     ceil(sum(bytes) / 1024 / 1024) "MB"
    from     dba_segments
    where     segment_type = 'TABLE'
    group     by segment_name
    order      by ceil(sum(bytes) / 1024 / 1024) desc
    --- List all tables owned by a user sorted by size
    set lines 100 pages 999
    col     segment_name     format a40
    col      mb           format 999,999,999
    select     segment_name
    ,     ceil(sum(bytes) / 1024 / 1024) "MB"
    from     dba_segments
    where     owner like '&user'
    and     segment_type = 'TABLE'
    group     by segment_name
    order      by ceil(sum(bytes) / 1024 / 1024) desc
    /

  • Oracle 11g Table function returns no records on first call

    Hello,
    On a Oracle 11g R2 I've a table function ( PIPELINED ) returning rows selected from a table.
    The first time the function is selected, in a session ( I've tried to disconnect and log in again ), it returns no rows.
    I've tried to log the call using DBMS_OUTPUT and from what I see the select on the table function returns no rows and no output is printed. So I presume Oracle is not calling the function.
    The same function on a similar environment ( same db versions, patches and database structure ) works fine. The second environment is a production environment so it has more memory and some other settings enabled.
    Does anyone know of settings that can relate to this behaviour ?
    Thanks in advance for the help.
    Regards,
    Stefano Muret

    Thank you for answering so fast.
    Here's the function code:
    FUNCTION template_parameters (iTemplate IN TEMPLATE_RAW_DATA.TMPL_ID%TYPE := NULL)
    RETURN table_type_tmpl_parameters PIPELINED
    IS
    li_exception INTEGER DEFAULT -20025;
    POUT_PARM TABLE_TYPE_TMPL_PARAMETERS;
    lt_parms table_type_tmpl_parms_raw;
    sParmCheck VARCHAR2(4000);
    iOccurrence INTEGER;
    BEGIN
    pOut_Parm := table_type_tmpl_parameters();
    pOut_Parm.EXTEND;
    select
    tmpl_id
    *,tmpl_name*
    *,replace(upper(trim(sql_out)),'[SCHEMA].')*
    *,UPPER(TRIM(out_tmpl_parms))*
    bulk collect into lt_parms
    from ref_templates
    where tmpl_id = NVL(iTemplate,tmpl_id)
    order by tmpl_id;
    FOR k IN 1..lt_parms.COUNT
    LOOP
    pOut_Parm(1).tmpl_id := lt_parms(k).tmpl_id;
    pOut_Parm(1).tmpl_name := lt_parms(k).tmpl_name;
    FOR i IN 1..2
    LOOP
    IF i = 1 THEN
    sParmCheck := lt_parms(k).sql_out;
    ELSE
    sParmCheck := lt_parms(k).sql_parms;
    END IF;
    iOccurrence := 1;
    *pOut_Parm(1).parameter_name := regexp_substr(sParmCheck,'\[[^\[]+\]',1,iOccurrence);*
    WHILE pOut_Parm(1).parameter_name IS NOT NULL
    LOOP
    PIPE ROW (pOut_Parm(1));
    iOccurrence := iOccurrence + 1;
    *pOut_Parm(1).parameter_name := regexp_substr(sParmCheck,'\[[^\[]+\]',1,iOccurrence);*
    END LOOP;
    END LOOP;
    END LOOP;
    RETURN;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(li_exception,SUBSTR(SQLERRM,1,1000));
    RETURN;
    END template_parameters;
    This function is part of a package.
    The data on both environments is the same.

  • Oracle 11g client Update Problem

    Hi ,
    I have problem with oracle 11g client, I have a treatment that is has selected information and update after the last treatment.The problem is that the update is sometimes the enssemble fields, even those I do not want to update.
    I use the 11g client with c #, my procedure is like update WHERE num = @ aram.I have doubts about the problems of loss of connection, because it give me the log: host not found, but there is a transaction, and in case of emergency I did a rollback.is there anyone who approaches to this problem??I took you to kindly help me, because the project and in production mode

    Apart from the fact that this has nothing to do with Oracle Forms the certifications and the version checks of the installer are there for a reason. Copying one version file doesn't make your RHEL6 a RHEL3. RHEL6 most certainly uses a different kernel, different libraries, different everything then RHEL3 (yes, Software Vendors change version numbers of their products not just for fun!). You might get lucky (using your friend google) that you get it working with some effort, but this doesn't guarantee that everything works and given the fact that this is not certified getting help is not that easy. Better yet is to save yourself the time and stick with certified combinations (maybe use OEL insted of RHEL?)
    cheers

  • Oracle 11g R2 install problem on Windows Server 2008 R2 SP1

    Hi all,
    Trying to install the Oracle 11g R2 database onto Windows Server 2008 R2 SP1.
    I get as far as running the setup and a black window flashes up on the screen and disappears.
    The log files only show the following:
    Using paramFile: C:\Temp\database\install\oraparam.ini
    Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
    The number of files bootstrapped for the jre is 0.
    The number of files bootstrapped for the oui is 0.
    I've tried running setup -debug from the command line but no further information is logged.
    Any help in troubleshooting further is appreciated.

    That is the complete log file. No error messages or further information is given.
    I'm not sure how to check:
    Statement of Direction: Oracle Database 11g Release 2 – Microsoft Windows 7 and Windows Server 2008 R2 [ID 867040.1]
    I have checked on:
    http://docs.oracle.com/cd/E11882_01/install.112/e24283/toc.htm
    The server meets all the hardware requirements. The default file share is accessible and it is running a supported browser. The installer is being run with Admin rights. I'm not sure what else I need to check.

  • Oracle 11g Greek Characters problem

    Hello,
    I have an Oracle 11g Express Edition installed on my Windows 7 64 bit machine, and i store greek characters inside it.
    The characters display fine on SQL developer.
    But when i connect it with my php application using PDO i get ??? instead of the greek characters.
    I've set nls_lang in registry to GREEK_GREECE.EL8MSWIN1253
    But when i run select * from nls_database_parameters i get the following.
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     AL32UTF8
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     UTF8
    NLS_RDBMS_VERSION     11.2.0.2.0
    Also, when i connect with pdo i use this command: $pdo_string = 'oci:host='.$this->server.';dbname='.$this->database.';charset=AL32UTF8';
    Any thoughts on this?
    Any help will be appreciated.
    Mike

    991209 wrote:
    Solved it with:
    shutdown immediate;
    startup mount;
    alter system enable restricted session;
    alter system set job_queue_processes=0;
    alter database open;
    alter database character set internal_use EL8MSWIN1253;
    shutdown immediate;
    startup;This is not a documented or supported method to change the characterset of a database - supported methods are documented - http://docs.oracle.com/cd/E11882_01/server.112/e10729/ch11charsetmig.htm#g1011430
    https://forums.oracle.com/forums/search.jspa?threadID=&q=internal_use&objID=f50&dateRange=all&userID=&numResults=15&rankBy=10001
    You will need to restore the database from a good backup and convert the characterset in a supported manner.
    Also, 11g XE is not supported on Win 7 64-bit - http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm#BABGGAJA
    HTH
    Srini

  • Oracle 11g table compression feature

    Is anybody using Oracle 11g's compression feature in production? I read a whitepaper on this and also read some forums/threads on this topic and so far I haven't read anything negative yet, that doesn't meant that there isn't anything that could have an adverse affect. I wanted to check with you guys out there to see if anyone is really using is this feature in production and see if there are any affects on the performance or any disadvantages of using this compression feature. I have tested this on one my major tablespace and I did see a big difference in the reduce size on the tablespace but I am still hesitated to put this into production. I would like to hear from you guys to see what you guys think?

    I have tested this on one my major tablespace and I did see a big difference in the reduce size on the tablespace but I am still hesitated to put this into production.Nothing better than testing the solution before you can put into real.
    http://www.oracle.com/technetwork/articles/oem/11g-compression-198295.html

  • Oracle 11g EM configuration problem

    It seems a "bug" to me:
    Windows 2003 R2 64-bit with all up-to-date patches
    64-bit Oracle 11.1.0.7 for Windows 2003 R2 64-bit
    The machine has only one HD right now and it is assigned to H, the DVD drive is assigned to D
    Installed Oracle 11g, everything is fine, didn't configure the EM during installation.
    After installation, manually configure the EM:
    H:>emca -repos create
    H:>emca -config dbcontrol db
    all seems fine, but at the end of the second command, 2 perl.exe instances started. One of them never stops. It just eating up all the RAM (from 1.3GB --> 4GB and still increasing) and CPU (100% all the time).
    The solution: plug-in a USB drive, which will be assigned to be C drive. Then the perl.exe calms down immediately, released most of the memory and CPU used.
    But the perl.exe can resume this behavior maybe every one or two days. So, to calm it down, I have to keep the USB drive plugged.

    Never heard about this,report the issue to Oracle support (you have a patched version,so I think you can open a SR on metalink). It may be that there's a 'hard-coded' reference to drive C somewhere in the code.
    Werner

  • Oracle 11g Database Schema problem

    Hi I have installed the Enterprise Edition of Oracle 11g on windows XP SP2. I log in to Enterprise Manager. When I click on the schema tab I get the following error message.
    Error
    Internal Error has occured. Check the log file for details.
    Does anybody know why ? and which log file they are refering to?
    Also can someone tell me where or how you can create normal users ?
    thanks

    the related OC4J machine is failing, it could be due to a number of reasons. Sometimes it has to do with the TZ region Agent recognizes, but the only way to know it for sure is by taking a look at the operational log files. Those can be found at the EM Console directory under the ORACLE_HOME. You will see the ORACLE_HOME/EMConsoleDirectory/log at the log there are several files, take a look at them and feedback.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Unable to make updates/deletes using MS Access to Oracle 11g table

    Please help! We recently upgrade our Oracle db to 11gR2. Prior to that, I could make updates to the 9i database just fine, now (after resolving a tns names issue), I am able to connect using ODBC and the MS Access database and I can see data (ie. select) but I cannot make any updates. When I try, it appears to work but when I query for the data just entered, its not there! I am not very experienced so I need help! We are using the Oracle drivers from 10.2

    The most common cause for this that I've seen is that the Oracle table doesn't have a primary key, and when doing the table link in MSAccess when it prompted for a primary key the dialogue was dismissed. Without a PK the link is read only.
    Try a new table link, and make sure to select pk columns if prompted
    Hope it helps,
    Greg

  • Oracle 11g XE connectivity problem

    Hello,
    I'm trying to setup a Virtual machine for test purposes using VMware Player.
    I'm following Oracle® Database Express Edition Installation Guide 11g Release 2 (11.2) for Linux x86-64: http://download.oracle.com/docs/cd/E17781_01/install.112/e18802.pdf
    As described there, I've installed Oracle Enterprise Linux 5 Update 2 from DVD V15099-01.zip(Enterprise-R5-U2-Server-x86_64-dvd.iso).
    After that followed the instructions in the guide and installed the XE database... so far no errors or problems... while testing from local ssh session :)
    [root@oracle11xe bin]# /etc/init.d/oracle-xe status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 26-OCT-2011 02:04:22
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 26-OCT-2011 01:44:00
    Uptime 0 days 0 hr. 20 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11xe/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11xe.localdomain)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11xe.localdomain)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
    Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "XE", status READY, has 1 handler(s) for this service...
    The command completed successfully
    and
    [root@oracle11xe bin]# sqlplus system
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Oct 26 01:51:12 2011
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
    SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    PL/SQL procedure successfully completed.
    SQL> exit
    [root@oracle11xe ~]# telnet 192.168.1.10 1521
    Trying 192.168.1.10...
    Connected to 192.168.1.10 (192.168.1.10).
    Escape character is '^]'.
    But now when I try access this VM box from my windows box, from where I have ping and can open SSH connection, I get "Could not open connection to the host".
    I've already disabled my windows firewall for the test - no good. Also SSH works over the network, so I don't think it's a firewall or network issue...maybe I'm missing something in listners configuration or some security setting somewhere?
    I've created screenshot http://img846.imageshack.us/img846/2931/oraissue.jpg .
    I'm looking forward to your suggestions, because I'm running out of ideas, I expected to be able to start this thing faster :)
    Regards,
    Pavel

    Hello,
    What sort of access? And ssh is working? putty? Using VM NAT, or bridged?
    Yes, from my desktop windows to the VM's eth0 interface I could use SSH without any concerns. Yes, I've used PuTTY Client for SSH. For VM is bridged.
    That's not relevant to accessing the VM, you'll need to open up ports in the VM host firewall. Port 8080 too if you want to access the Apex pages, along with opening port 1521 for the database listener.
    Yes, you are right - had to stop firewall on my VM box... since this is a dummy sandbox I just stopped firewall
    service iptables stop
    chkconfig iptables off
    After that SQL Developer Studio managed to open connection to the XE database on this VM box over the network. Thank you!
    You've got all the listener endpoints, including the http 8080 but setting up a server on dhcp isn't optimal unless you have dynamic DNS to register the VM IP for name resolution. Unless a dos box $ ping oracle11xe or $ ping oracle11xe.localdomain from the Win box gets the correct IP address of the VM ...
    Sorry I didn't get this one... Could you please give me more information.
    I've configured VM(oracle11xe.localdomain) to use static IP address(NO DHCP, I'd like to avoid involving the DHCP Server in my network in this simple test). This leads to me being able to ping it from Win Box only via IP address, what problems may show up from this? My idea was to avoid having problems, if for example I started the VM box in very different environment(lets say another network) and it gets some other IP address, because I didn't knew how oracle XE will feel about the new IP?
    Once again - Thank you. Original issue is solved!

  • Error in Import data in oracle 11g table

    I have a table with structure as
    SQL> desc PSACTIVIMG
    Name Null? Type
    ACTIVITYNAME NOT NULL VARCHAR2(30 CHAR)
    SEQNO NOT NULL NUMBER(38)
    PSIMAGEVER NOT NULL NUMBER(38)
    IMGSEG BLOB
    when the script try to insart data into this table ,after 5 row it fails and rollback all 5 row . i have taken a trace file for the same
    4-168 17.30.24 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Disconnect
    4-169 17.30.24 0.015000 Cur#1.3396.notSamTran RC=0 Dur=0.000000 Open Cursor Handle=04558628
    4-170 17.30.24 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 COM Stmt=INSERT INTO PSACTIVIMG (ACTIVITYNAME, SEQNO, PSIMAGEVER, IMGSEG) VALUES (:1, :2, :3, :4)
    4-171 17.30.24 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Bind-1 type=2 length=30 value=Create Reqs for Open Positions
    4-172 17.30.24 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Bind-2 type=19 length=1 value=0
    4-173 17.30.24 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Bind-3 type=19 length=1 value=1
    4-174 17.30.24 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Bind-4 type=23 length=2531 LONG BINARY DATA
    4-175 17.30.24 0.082000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Bind-1 type=2 length=17 value=Create W-2 Output
    4-176 17.30.24 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Bind-2 type=19 length=1 value=0
    4-177 17.30.24 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Bind-3 type=19 length=1 value=1
    4-178 17.30.24 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Bind-4 type=23 length=18170 LONG BINARY DATA
    2-5712 17.30.28 7.093000 Tuxedo session opened { DisconnectAll at044AE780, pid=2524}
    4-179 17.30.43 18.808000 Cur#1.3396.HRGOV RC=3114 Dur=0.006000 Rollback
    4-180 17.30.43 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Disconnect
    4-181 17.30.55 11.760000 Cur#1.3396.notSamTran RC=0 Dur=0.000000 Open Cursor Handle=04558628
    4-182 17.30.55 0.000000 Cur#1.3396.HRGOV RC=3114 Dur=0.000000 Commit
    4-183 17.30.55 0.001000 Cur#1.3396.HRGOV RC=3114 Dur=0.001000 Rollback
    4-184 17.30.55 0.000000 Cur#1.3396.HRGOV RC=0 Dur=0.000000 Disconnect
    4-185 17.30.56 1.544000 Cur#1.3396.HRGOV RC=8002 Dur=0.000000 Disconnect
    How to overcome this problem, please suggest some way .

    As long as I remember, you first have to insert empty_blob() and then update it.
    Check out these links:
    http://www.orafaq.com/wiki/BLOB
    http://arjudba.blogspot.com/2008/06/how-to-insert-blob-dataimage-video-into.html
    http://www.herongyang.com/JDBC/Oracle-BLOB-SQL-INSERT.html
    Or you can just Google it...
    :p

  • Oracle 11g XE Connectivity Problems

    Hi to all and thanks for the attention !
    Quick facts
    OS : Microsoft Server 2008 R2 (x64)
    Oracle Version : 11g XE (x32)
    Database name : XE
    I've been fighting over with providers for a whole day and I can't seem to make this work out,
    I have an application(Web, on a IIS 7) that connects to a schema, the connection uses a Oracle Provider For OleDB, well at first I was getting a "Provider not registered" error, that was easy I only had to make the app run on x32 and puf the error changed, so I quickly set up the Data Source ( with the data source manager located in WOW64 ) with a oracle ole db provider, no problems, I can click on it, it will ask me for a user/password and when I click test connection I works just like I would expect it to work, now back to the application, when i set the connection string up, I get a error from the app : ORA-12154 TNS:could not resolve the connect identifier specified. So went up and tried making a udl ( invoking again the x32 ), same error ORA-12154 so I started digging and so far so good what I got is, "try tnsping <instance_Name>", did it, and got an OK (40ms) (though I had to navigate to bin folder, which was not explained in the posts, perhaps this means something ?) and also registered the oraoledb11.dll with regsvr32
    Oh ! And I can connect to the database with sqldeveloper
    I know really little of Oracle, any thoughts ?
    Thanks again !

    ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 NEVER involves the listener, the database itself or anything on the DB Server.
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
    The lookup operation fails because the name provided can NOT be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
    So post the content of the sqlnet.ora file.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/

  • Possible Corruption in old Oracle 9i table - Fixed problem with WinXP Mode

    EDIT: This was not a corruption in my database. It was a communication problem between Windows 7 (where my app runs) and Windows XP Mode (where my Oracle 9i database runs). Skip to the bottom of page 2 to see the solution I found.
    I have an old program that I use constantly. It connects to an Oracle 9i database (version 9.2.0.5). Within the past month, one of the processes has slowed to a crawl. This process saves an Excel file to an Oracle table. The files are no larger than 6MB. The field that holds the spreadsheet is a LONG RAW data type. I cannot figure out why the process is taking to long now. It takes up to an hour to save the file to the table. The code has not changed. Here's what I've tried so far. I'm not an Oracle DBA.
    1. Tried running VALIDATE STRUCTURE on table and all indexes. No corruption found.
    2. Tried truncating the table to remove all existing data. No change.
    3. Tried running DBMS_REPAIR on table. No corruption found.
    4. Tried running DB_VERIFY on all data files. No corruption found.
    5. Tried dropping and recreating the table with no data in it. No change.
    I'm not sure that this is a corruption problem, but I can't think of what else has changed. Nothing has happened recently that should have caused this.
    What else can I look for?
    Thank you for your help.
    EDIT: Changed title to help other people using Oracle in WinXP Mode find this solution.

    JavaUser wrote:
    I figured out how to turn on tracing for my Java program at the point where it is taking a very long time. The trace shows that it takes 205.66 second to execute my INSERT statement. Here is the trace output translated by TKProf for this INSERT statement:
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      2.18     205.66          0         75        508           1
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      2.18     205.66          0         75        508           1
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSEI'm seeing how long the query is taking, but I'm not seeing why. What else should I be looking for?
    Thanks for your help!
    Edited by: JavaUser on Apr 18, 2012 2:32 PMtwo different ways below
    DBMS_SESSION.SESSION_TRACE_ENABLE(TRUE,TRUE,'ALL_EXECUTIONS');
    alter session set events '10046 trace name context forever, level 12';
    -- invoke the SQL code
    DBMS_SESSION.SESSION_TRACE_ENABLE(FALSE,FALSE,NULL);
    DBMS_MONITOR.SESSION_TRACE_ENABLE(
        session_id   IN  BINARY_INTEGER DEFAULT NULL,
        serial_num   IN  BINARY_INTEGER DEFAULT NULL,
        waits        IN  BOOLEAN DEFAULT TRUE,
        binds        IN  BOOLEAN DEFAULT FALSE,
        plan_stat    IN  VARCHAR2 DEFAULT NULL);

Maybe you are looking for

  • ALV Report_ its urgent pls help me ( every input gets the reward points)

    Program with ALV_Grid 1. Selection Screen Customer Number: KUNNR Billing Date: FKDAT Now Using the above Selection screen inputs, I want to generate the following fields in the output. 2. Output Screen Invoice No: VBELN Invoice Date: FKDAT Customer N

  • Webservices ? XML-RPC

    Hi I have seen apex have some webservices support, I have a application there have a API based on XML-RPC, could I "talk" to this application using apex webservices? Best Regards Jesper Vels

  • E-Recruiting 603 HCM_ERC_SES_1

    Hi Sap brains, We are implementing ERECRUIT603 with the following business function sets, HCM_ERC_SES_1, HCM_TM_ANALYTICS_1, HCM_ERC_CI_1. We have problem with HCM_ERC_SES_1, as we have activated it, we are configuring search functions with SES (Sear

  • 1 HD min = Hardrive space?

    I want to get an external hardrive (the maxor one touch II or one touch III series) and I was trying to get an idea of what hardrive size I would need. How much does 1 min of High Def HDV take up on a hardisk? How many megabytes or gigbytes? Thank yo

  • MSI Control Centre settings query

    Hi all, the older versions had an option via the taskbar icon to automatically load current settings on reboot. The option is no longer available on my Windows 7 64-bit installation. Anyone any ideas why MSI would remove the option to have your setti