Tables created in Enterprise Manager dont show up in SQLPLUS

I am struggling with Enterprise console manager and command line SQLPLUS.
I have tried scott/tiger , system/manager and the new user that I have created. But I am having the following problems:
1. I cannot connect as NORMAL through Enterprise Console Manager if I use scott/tiger OR new/paswd. Only way I can connect as NORMAL is using system/manager
2. The tables that I create using Enterprise Console Manager (while connected as system/manager in NORMAL mode) do not show up in the command line SQLPLUS. I am check this by running the following command:
SELECT OWNER, OBJECT_NAME FROM ALL_OBJECTS WHERE OBJECT_NAME LIKE '%TEST%';
While running the above command I am conected to SQLPLUS using system/manager WITHOUT SYSDBA
3. Lastly, I have a JAVA class which establishes as connection to the database using system/manager. But I can access only the tables that I create using the Enterprise Console Manager. If I create a table using command line SQLPLUS (while connected as system/manager), I cannot access it through Java program.
I am struggling with this since last morning and now I have run out ways to debug what is happening. Can anybody suggest any ways to tackle this?
Thanks in advance,
Mahesh

If you are using oracle below version 9 then I suggest you use DBA Studio for creating tables otherwise just create tables from SQLPLUS.

Similar Messages

  • Tables created using Enterprise Console Manager do not show up in SQLPLUS

    I am struggling with Enterprise console manager and command line SQLPLUS.
    I have tried scott/tiger , system/manager and the new user that I have created. But I am having the following problems:
    1. I cannot connect as NORMAL through Enterprise Console Manager if I use scott/tiger OR new/paswd. Only way I can connect as NORMAL is using system/manager
    2. The tables that I create using Enterprise Console Manager (while connected as system/manager in NORMAL mode) do not show up in the command line SQLPLUS. I am check this by running the following command:
    SELECT OWNER, OBJECT_NAME FROM ALL_OBJECTS WHERE OBJECT_NAME LIKE '%TEST%';
    While running the above command I am conected to SQLPLUS using system/manager WITHOUT SYSDBA
    3. Lastly, I have a JAVA class which establishes as connection to the database using system/manager. But I can access only the tables that I create using the Enterprise Console Manager. If I create a table using command line SQLPLUS (while connected as system/manager), I cannot access it through Java program.
    I am struggling with this since last morning and now I have run out ways to debug what is happening. Can anybody suggest any ways to tackle this?
    Thanks in advance,
    Mahesh

    Prior to 11g, when you created a table or whatever, you automatically allocated one extent.
    This is now no longer true and depends on a parameter I don't remember.
    dba_segments is a summary of dba_extents.
    Obviously, if there is no extent allocated, the table (view is defined with inner join) will not show up.
    You could qualify this is as a bug and submit a SR to Oracle. But then the performance impact may be huge.
    Sybrand Bakker
    Senior Oracle DBA

  • Environment variables (user) created at OS level dont show up in BIDS 2008

    Environment variables (user) created at OS level don't show up in BIDS 2008.
    I had a variable ConfigLocation created and it is not showing up when I am trying to configure it in BIDS
    Is this a known issue or a bug?
    Now in BIDS it doesnt show up
    Mudassar

    Yes it shows up after restart of BIDS .
    But during design time this is a bug I hope Microsoft fixes this bug in the future releases
    Mudassar
    It's not really a bug. Visual Studio loads the environment variables when starting up.
    In future releases you use projects and parameters instead of environment variables, so the issue goes away ;)
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • Is it possible to add records to tables using Enterprise Manager?

    Can we add records to tables using Oracle Enterprise Manager web interface instead of the sqlplus commands ? if not, is there any easy way to insert data into table using a graphical interface?

    You may consider using iSQL*Plus.
    Check http://www.oracle.com/technology/obe/obe10gdb/install/isqlplus/isqlplus.htm
    Thanks,

  • Export error from enterprise manager

    Im getting this error when trying to do a table export from enterprise manager(oracle 10g statndard edition). There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition. I looked on line and places said to have parallelism to 1 but i think i already have that set.
    Export Type Tables
    Statistics type Estimate optimizer statistics when data is imported
    Parallelism 1
    Files to Export WRITABLE_DIRECTORY tables.DMP
    Log File WRITABLE_DIRECTORY EXPDAT.LOG

    Its trying to create a dump file, but file by that name already exists. Verify that name & path is correct.

  • Oracle 10g Enterprise Manager Problem

    hi
    i install oracle 10g version 10.1.0.2.0. when i run enterprise manager, status show "Metric Collection Error" Status Pending Since Mar 22, 2008 9:40:48 AM"
    plz tell me about this.
    thx

    salam.
    i not understand your question. plz explain again. target mean.
    thx.

  • Enterprise manager repository creation in Oracle 10g

    Hi
    i was checking out emRepository.sql file that creates the enterprise manager repository in Oracle10g.I calls a particular program/script called emrepocrea that takes as parameter the user name SYSMAN, the passwd for SYSMAN TEMP ON.
    Could someone explain me what language is this program/script is written and what is exactly going on behind the scenes of the DBCA?
    Thanks and Regards
    Prahalad Deshpande

    emRepository.sql is one of the scripts that are normally run when you create a new DB. DBCA puts these scripts, normally, in $ORACLE_BASE/admin/<DB>/scripts.
    emRepository.sql calls emreposcre.sql (another Sql script), passing to it 5 parameters :
    1. Oracle Home
    2. Username
    3. Password
    4. Temporary tablespace name
    5. Verify On/Off

  • How to get into Enterprise Manager?

    AFter installation and rebooting, I can not get enterprise manager to show.
    I do not have access to the meta forum, so please give your answer here.
    THanks a lot

    I got the same problem too...
    when i issued this command "emctl start dbconsole" at command prompt
    It return this error message:
    "OC4J Configuration issue. /home/ora10g/Oracle10g/oc4j/j2ee/OC4j_DBConsole_domainname_aadb not found.
    Anyway to resolve this ?
    Thanks.

  • Where is the Enterprise Manager Console going to in 10?

    All , where can i find out the EM in 10g? I've installed the Enterprise version ? The EM would be removed in new 10g? or is there another tool replaced it ? thanks..

    Do you want to create Oracle Enterprise Manager
    manually? I don't believe that's possible-- you need
    to install OEM.
    Are you asking how to create a database manually,
    rather than through the DBCA?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC
    I have created database through DBCA, but in the end I choice "Generate Database Creation Scripts" but no "Create Database". Later I have run script, but OEM no created. My OS - w2k. After completion scripts I not detected Windows service "OracleDBConsoleSID". Why? In DBCA I checked "Configure the database with Enterprise Manager".
    Sorry for bad English.

  • Viewing Tables in Oracle 10g Enterprise Manager

    Hello,
    We are running Oracle 10g on a Linux Red Hat platform. We have started the dbconsole listeners to start using Enterprise Manager. The problem we are encountering is that tables that are in our schema are not showing up in Enterprise Manager. We have checked the tables using OEM and they are appearing there normally. The tables not showing were created from an object type. We are able to use DML, DDL on these tables using SQL, iSQLPlus. We appreciate any ideas. Thanks.

    Please clarify how did you check the tables in 10g using EM dbconsole.
    Please post some screen capture of you login using sqlplus and shown the table is there for example,
    %sqlplus test/test1
    SQL*Plus: Release 10.1.0.2.0 - Production on Wed Jun 4 15:39:22 2008
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    TEST@rman>select table_name from user_tables where table_name='A1';
    TABLE_NAME
    A1

  • Error while creating data source using Oracle Enterprise Manager 10g

    Hi,
    I have deployed my web application developed on OC4J 9.0.4 stand alone (Win2K) to an integrated OC4J version(Solaris) using Oracle Enterprise Manager 10g.
    However, I get an error when I try to create a data source.
    The data source I want to create would have the following parameters (as seen in data-sources.xml on the stand alone version):
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="TestDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/TestDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              url="jdbc:oracle:thin:@hostName:1521:test"
              username="user"
              password="password"
              min-connections="5"
              max-connections="20"          
              inactivity-timeout="30"
         />
    When I entered the above data on the Enterprise Manager Data Sources page, I got the following error:
    quote:
    Error saving Data Source Properties. - Entity et="system";ei="0",et="application";ei="48",et="data-sources";ei="167":child:data-sourcechild key:location:jdbc/OracleCoreDS; class:com.evermind.sql.DriverManagerDataSource; already exists in the repository. Resolution: Please check the code base.
    unquote:
    Could somebody tell me what I'm doing wrong ?
    I tried to manually edit the data-sources.xml file but the data source didn't show up on the Enterprise Manager.
    I'm using a new OC4J instance (on the Solaris machine) for my applications. Is the data source error related to this?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

    Thanks for your reply , Steve.
    I noticed that there is a default datasouce on the EM with the following parameters:
    <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="->pwForScott"
              url="jdbc:oracle:thin:@localhost:1521:oracle"
              inactivity-timeout="30"
         />
    The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
    What should be the values for location and xa-location attributes from my "test" data source?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

  • How to detect whether a database was created by Restoring (from SQL Server Enterprise Manager) or by Attaching (from SQL Server Enterprise Manager)

    Ours is a SQL Server Express Edition 2008-R2 - Windows Forms based application. We have a backup/restore utility provided with our software which performs some logical checks before restoring a backup to ensure that the backup is functionally valid.
    However, our clients often use the SQL Server Enterprise Manager utility to 1) Restore backups or 2) Attach data files (kept aside before formatting) directly. This type of action bypasses all our functional checks and allows the user to restore an invalid
    backup.
    We want to detect that a database was restored/attached and may be we will stop the software from loading if such a thing happened. We think that this information (attach/restore) should be available within some table of SQL Server itself but don't know the
    right location/query.
    If any change is required in our software to achieve the above, we are ready to do the same too, e.g. may be we need to store some data at some point of time to make the detection happen, please advise.
    So, how can we detect that
    A database backup was restored using SQL Server Management Utility
    (Note: MSDB.Restorehistory may not be a good option as we have often found this table blank for unknown reasons even after backup was restored and just in case user restores the MSDB from MSDB backup or MSDB template due to a data corruption, may be due to
    abnormal shutdown of system, then the RestoreHistory table data is gone)
    A database was created by attaching a data/log file using SQL Server Management Utility
    Any help in this regard is highly appreciated.
    Rajarshi
    ProjectServer 2007 Beginner

    Hi,
    For Enterprise edition, we can enable Auditing to audit BACKUP_RESTORE_GROUP in a server audit specification. However, SQL Server audit (fine-grained auditing) feature is not available for the SQL Server Express.
    Features Supported by the Editions of SQL Server 2008 R2
    http://msdn.microsoft.com/en-us/library/cc645993(v=sql.105).aspx
    When a database is attached, SQL Server ERRORLOG will record “Starting up database 'DBNAME'.”
    Using ALTER DATABASE OFFLINE and ONLINE will re-open the database files under the SQL Server, the SQL Server error log also contains the following informational message: “Setting database option ONLINE to ON for database 'DBNAME'.”
    Additional information:
    SQL Server Audit (Database Engine)
    http://msdn.microsoft.com/en-us/library/cc280386.aspx
    Tracy Cai
    TechNet Community Support

  • How to create a new database using Enterprise manager?

    hi all,
    thank you for all your support. i want to create a new database . I tried following these steps
    i am using Oracle 9i and windows XP
    1, opened the enterprise manager by clicking from programs
    2,selected launch standalone Application
    3, from the tree i expanded the network node and expanded the databases node ,now i can see the globaldatabase i created during installation . i can login that database using systems and manager (username & password )
    4, clicked the new database icon from the window , a small window with node named database appeared
    5 , I tried to expand that by clicking on the database node ,but it pops up a new window showing no active session selected
    I would be grateful if anyone can suggest a solution for this
    thanks & regards

    Hi,
    How can i access DBCA
    start ---> run ---> DBCA <<hit enter>>
    or
    start ---> program ---> oracle home ---> configuration tools ---> database configuration assistant.Regards
    Mohammed Taj
    http://dbataj.blogspot.com

  • Managed server working, but enterprise manager shows it is down.

    Hi,
    I have installed weblogic 10.3.5 on a pair of Oracle Linux 5 vms.
    On one server everything looks great and runs great. On the second server (seemingly set up the exact same way), the enterprise manager shows that my managed server is down, not the admin server, but a new one I have created. I can't seem to find any errors, and everything seems to function just fine, I am able to start and stop the server from em and the console.
    Any ideas where to look?

    You may want to post this question in the WebLogic Server forum, the problem may not be specific to WebCenter Portal.

  • Simple webDynpro - RFC dont show the Data in table

    Hello all.
    I`m develop a simple application test in NWDS.
    This application execute data in a table from the standard function module BAPI_COMPANY_GETLIST. simple return the list of companys.
    But when i execute the application, its dont shw any errors but the data dont show in the webdynpro table.
    What is wrong ?
    thanks.

    Hi JV.
    This the code in method implementation.
    package comp_package;
    //@@begin imports
    import comp_package.wdp.IPrivateCompanyComponentView;
    import com.sap.mw.jco.JCO;
    import model_package.Comp_Model;
    import model_package.Bapi_Company_Getlist_Input;
    import com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory;
    import com.sap.tc.webdynpro.progmodel.model.api.WDModelScopeType;
    //@@end
    //@@begin documentation
    //@@end
    public class CompanyComponentView
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(CompanyComponentView.class);
      static
        //@@begin id
        String id = "$Id$";
        //@@end
        com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
    Private access to the generated Web Dynpro counterpart
    @see comp_package.wdp.IPrivateCompanyComponentView for more details
      private final IPrivateCompanyComponentView wdThis;
      private final IPrivateCompanyComponentView.IContextNode wdContext;
      private final com.sap.tc.webdynpro.progmodel.api.IWDViewController wdControllerAPI;
      private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
      public CompanyComponentView(IPrivateCompanyComponentView wdThis)
        this.wdThis = wdThis;
        this.wdContext = wdThis.wdGetContext();
        this.wdControllerAPI = wdThis.wdGetAPI();
        this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
      //@@begin javadoc:wdDoInit()
      /** Hook method called to initialize controller. */
      //@@end
      public void wdDoInit()
        //@@begin wdDoInit()
    //     Creates the input elements
         Bapi_Company_Getlist_Input input = new Bapi_Company_Getlist_Input();
    //     Creates an instance of a client to the remote SAP system    
          client = JCO.createClient("100",          //SAP logon client number
                                          "user",            //SAP logon user
                                          "pass",        //SAP logon password
                                          "en",        //SAP logon language
                                          "XXXX",        //Host name of application server
                                          "XX");          //SAP system number
    //     Creates the model instance
          model = (Comp_Model)WDModelFactory.getModelInstance( Comp_Model.class, WDModelScopeType.APPLICATION_SCOPE);
          // Assigns the client to the model
          model.setJcoClient(client);   
        //@@end
      //@@begin javadoc:wdDoExit()
      /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
        //@@end
       public static void wdDoModifyView(IPrivateCompanyComponentView wdThis, IPrivateCompanyComponentView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
        //@@end
      //@@begin javadoc:getCompany()
      /** Declared method. */
      //@@end
      public void getCompany( )
        //@@begin getCompany()
         client.connect();
         System.out.println("passo1");
         try {
         wdContext.currentBapi_Company_Getlist_InputElement().modelObject().execute();
         wdComponentAPI.getMessageManager().reportSuccess((new Integer(wdContext.nodeBapi_Company_Getlist_Input().size()).toString()));
         catch (Exception ex) {
            ex.printStackTrace();
         finally {
           client.disconnect();
         // Invalidates the output context node 
         wdContext.nodeBapi_Company_Getlist_Input().invalidate();
        //@@end
      //@@begin javadoc:onActionGo(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionGo(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionGo(ServerEvent)
        wdThis.wdGetComp_ControllerController().getCompanys();
         client.connect();
              System.out.println("passo1");
              try {
              wdContext.currentBapi_Company_Getlist_InputElement().modelObject().execute();                         }
              catch (Exception ex) {
                 ex.printStackTrace();
                 System.out.println(ex);
              finally {
                client.disconnect();
              wdContext.nodeOutput().invalidate();
    wdComponentAPI.getMessageManager().reportSuccess((new Integer(wdContext.nodeBapi_Company_Getlist_Input().size()).toString()));
        //@@end
       //@@begin others
      JCO.Client client;
      Comp_Model model;
      //@@end
    Regards.
    Taylor.
    Edited by: Taylor on Aug 4, 2009 12:46 PM

Maybe you are looking for