Sqlplus / and sqlplus /nolog

Hi,
What does / means ?
Is it a special user ? or a shortcut ?
Thanks

OPS$ORACLE is an "externally authenticated" user, in your case authenticated by OS. See http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/users.htm#17308
When you connect using sysdba or sysoper, then you are sys or public user, no matter what username/password you provide :
$ sqlplus / as sysdba
SQL*Plus: Release 10.1.0.3.0 - Production on Mon Jan 2 18:00:59 2006
Copyright (c) 1982, 2004, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> sho user
USER is "SYS"
SQL> conn / as sysoper
Connected.
SQL> sho user
USER is "PUBLIC"
SQL> conn scott/tiger as sysdba
Connected.
SQL> sho user
USER is "SYS"
SQL> conn test/test as sysoper
Connected.
SQL> sho user
USER is "PUBLIC"
SQL>                                                

Similar Messages

  • "sqlplus / as sysdba" and "sqlplus /nolog;conn / as sysdba"

    Hi,
    What is the difference between "sqlplus / as sysdba"
    and
    "sqlplus /nolog;conn / as sysdba"?
    when "sqlplus / as sysdba", it could not "alter user system identified by password;
    when "sqlplus /nolog;conn / as sysdba", it could "alter user system identified by password"
    why??
    Thanks.

    What is the difference between "sqlplus / as sysdba"
    and
    "sqlplus /nolog;conn / as sysdba"?
    No difference.
    when "sqlplus / as sysdba", it could not "alter user system identified by password;
    when "sqlplus /nolog;conn / as sysdba", it could "alter user system identified by password"
    why??
    Don't know what you mean :
    $ sqlplus /nolog
    SQL*Plus: Release 11.2.0.3.0 Production on Wed Sep 25 15:31:58 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    SQL> conn / as sysdba
    Connected.
    SQL> alter user system identified by manager;
    User altered.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Wed Sep 25 15:32:20 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter user system identified by manager;
    User altered.
    SQL>

  • Need Help with logins for SQLPLUS and Database Control

    Hi,
    I am new to Oracle. I installed "Oracle 10g Standard Version" on Win XP Pro. I have two questions regarding logins:
    (1)     After installing the software I used “dbca” to create a General Purpose database. At the end of the database creation I clicked on the Password Management button and I entered the password for SYS, SYSTEM and SCOTT. Then at the DOS command prompt I typed “SQLPLUS” and I can login as SCOTT and system, but I cannot as login as sysdba or sysoper. I get invalid username/password; logon denied message.
    But I can type “SQLPLUS /NOLOG” and then issue command “connect /as sysdba” and connect successfully as sysdba. Any idea why I cannot login sysdba or sysoper?
    (2)     When I go to windows Start->All Programs->Oracle - OraDb10g_home1 and select “Database Control”. A browser windows open up Database Control page. I cannot start Listener nor Start up a Database Instance. No matter whether I try SYS, SYSDBA, SYSOPER or SCOTT I cannot login. Any idea what is going on here?
    At the SQLPLUS command prompt if I enter “select status from v$instance;” I get status as “OPEN”.
    I am lost in Oracle world as a typical newbie. Many thanks in advance for any advice or pointers.
    Thanks
    Joe

    (1) Yes I can login if I type "sqlplus / as sysdba". Does that mean "sysdba" doesn't have a password?
    (2) when I run "emctl status dbconsole", I get a message saying "Environment variable ORACLE_SID not defined. Please define it." Can someone tell me what should I do?
    Thanks
    Joe

  • Getting sqlplus and odbc connection to work

    I'm looking to automate some data extraction activities either through a windows batch file or set up a data connection in an excel spreadsheet. I've installed (I think) the instant client, but, I'm not seeing any programs to run in my start>All Programs list except Microsoft ODBC Administrator and sqlplus does not work when typed at the command prompt (sqlplusw neither).
    Not sure what I should do next...thanks for looking and your help.
    I currently use sql server and access and have set odbc connections and connections to sql server in excel.
    Here's what the inventory shows:
    Inventory contents of (my-computer):
    Oracle Homes
    OraClient10g_home1
    Oracle Client 10.2.0.1.0
    Oracle Instant Client 10.2.0.1.0
    Oracle ODBC Driverfor Instant Client 10.2.0.1.0
    Oracle JDBC/OCI Instant Client 10.2.0.1.0
    SSL Required Support Files for InstantClient 10.2.0.1.0
    RDBMS Required Support Files for Instant Client 10.2.0.1.0
    SQL*Plus Files for Instant Client 10.2.0.1.0
    HOME SELECTION
    Central Inventory Location: "C:\Program Files\Oracle\Inventory"
    Oracle Home Status
    OraClient10g_home1 Selected
    PATH = D:\oracle\product\10.2.0\client_1\bin;D:\oracle\product\10.2.0\client_1;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
    etc, etc, etc
    --------------------------------------------------------------------------------

    thanks
    sqlplus working, had the wrong path, but, not connecting. I did save a copy of the tnsnames.ora from another machine. Here's what it shows, below, I think I need to use the LDAP adapter, but, not sure how to make it use that, sqlnet.ora is:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT)
    ----command line results------
    C:\>tnsping POST_DBSR.xxx.ourcompany.COM
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-SEP-2
    010 07:33:32
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\product\10.2.0\client_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.1.xxx)(PORT = 1521))) (CONNECT_DATA = (SID = post)))
    TNS-12535: TNS:operation timed out

  • Sqlplus and sqlldr commands getting hanged and utilizing cpu to 100%

    Hi ,
    We have a server in which only 10.2.0 client has been installed to execute some scripts in other databases. From today morning we are having problem to run sqlplus or sqlldr . whernever sqlplus or sqlplus /nolog is given it just getting hunged.

    There is no such abnormality found in the system log.
    This system has only the oracle software used as client.
    The main problem is that user is not giving me downtime to restart the server......pls help.

  • ORA-12535 TNS:operation timed out from SQLPlus and Enterprise Manager Conso

    I keep getting a ORA-12535 TNS:operation timed out error, when I try to start my Database.
    I know its a timeout error, but I would like to know what is timing out and why. All I want is the database its self to run to allow me to connect to it via SQLPlus and JDBC.
    Is there any information on what the following services do and which ones I need to have running to use the database.
    Oracle OLAP 9.0.101
    Oracle OLAP Agent
    Oracle oraHome90Agent
    Oracle oraHome90ClientCache
    Oracle OraHome90PagingServer
    OracleOra90SNMPPeerEncapsulator
    OracleOra90SNMPPeerMasterAgent
    OracleOra90STNSListener
    Thanks for any help Tony

    Either reconfigure CONNECT_TIMEOUT to be 0, which means wait indefinitely, or reconfigure CONNECT_TIMEOUT to be some higher value. Or, if the timeout is unacceptably long, turn on tracing for further information.
    If you have oracle metalink, then read the following note;
    Note:119706.1 - Troubleshooting Guide TNS-12535 & ORA-12535 Errors

  • Query Fast In SQLPlus and Toad but Slow Otherwise

    Environment is Oracle 10g on AIX with 10g drivers on Windows XP as the client. Several queries run in less than 9 seconds in Toad and SQLPlus but take hours or never return in Business Objects Deski, MS Access, and SQL Server SSIS. The exact same SQL produces completely different explain plans based on if it is run from Toad/SQLPlus vs the other products I mentioned. All the software is on the same XP machine and does not use middleware. 99 percent of our queries will run fast or slow in all products. What is it that Toad and/or SQLPlus does to run the queries fast? Why does Oracle change explain plans based on what application connects to it? The goal is to run Business Objects reports from Oracle. Any help or direction for further troubleshooting would be appreciated. Thank-you.

    Charles, on the XP machine I selected the Admin option when installing the client. The software should be 10g R2. Below is the information requested. If you need more please let me know. Also, I am asking our DBA to check the bitmap issue.
    I appreciate the help. Thank-you for taking your time...
    BAD Settings
    SQL_ID                CN NAME                                     VALUE                     DEF
    64yzv2570s56x          0 _pga_max_size                            209700 KB                 NO
    64yzv2570s56x          0 active_instance_count                    1                         YES
    64yzv2570s56x          0 bitmap_merge_area_size                   1048576                   YES
    64yzv2570s56x          0 cpu_count                                4                         YES
    64yzv2570s56x          0 cursor_sharing                           similar                   NO
    64yzv2570s56x          0 hash_area_size                           131072                    YES
    64yzv2570s56x          0 optimizer_dynamic_samplin                2                         YES
    64yzv2570s56x          0 optimizer_features_enable                10.2.0.4                  YES
    64yzv2570s56x          0 optimizer_index_caching                  0                         YES
    64yzv2570s56x          0 optimizer_index_cost_adj                 100                       YES
    64yzv2570s56x          0 optimizer_mode                           choose                    NO
    64yzv2570s56x          0 optimizer_secure_view_mer                true                      YES
    64yzv2570s56x          0 parallel_ddl_mode                        enabled                   YES
    64yzv2570s56x          0 parallel_dml_mode                        disabled                  YES
    64yzv2570s56x          0 parallel_execution_enable                true                      YES
    64yzv2570s56x          0 parallel_query_mode                      enabled                   YES
    64yzv2570s56x          0 parallel_threads_per_cpu                 2                         YES
    64yzv2570s56x          0 pga_aggregate_target                     1048576 KB                YES
    64yzv2570s56x          0 query_rewrite_enabled                    true                      YES
    64yzv2570s56x          0 query_rewrite_integrity                  trusted                   NO
    64yzv2570s56x          0 skip_unusable_indexes                    true                      YES
    64yzv2570s56x          0 sort_area_retained_size                  0                         YES
    64yzv2570s56x          0 sort_area_size                           65536                     YES
    64yzv2570s56x          0 star_transformation_enabl                temp_disable              NO
    64yzv2570s56x          0 statistics_level                         typical                   YES
    64yzv2570s56x          0 workarea_size_policy                     auto                      YES
    GOOD Settings
    SQL_ID                CN NAME                                     VALUE                     DEF
    7y2m07bk7qwgx          0 _pga_max_size                            209700 KB                 NO
    7y2m07bk7qwgx          0 active_instance_count                    1                         YES
    7y2m07bk7qwgx          0 bitmap_merge_area_size                   1048576                   YES
    7y2m07bk7qwgx          0 cpu_count                                4                         YES
    7y2m07bk7qwgx          0 cursor_sharing                           similar                   NO
    7y2m07bk7qwgx          0 hash_area_size                           131072                    YES
    7y2m07bk7qwgx          0 optimizer_dynamic_samplin                2                         YES
    7y2m07bk7qwgx          0 optimizer_features_enable                10.2.0.4                  YES
    7y2m07bk7qwgx          0 optimizer_index_caching                  0                         YES
    7y2m07bk7qwgx          0 optimizer_index_cost_adj                 100                       YES
    7y2m07bk7qwgx          0 optimizer_mode                           choose                    NO
    7y2m07bk7qwgx          0 optimizer_secure_view_mer                true                      YES
    7y2m07bk7qwgx          0 parallel_ddl_mode                        enabled                   YES
    7y2m07bk7qwgx          0 parallel_dml_mode                        disabled                  YES
    7y2m07bk7qwgx          0 parallel_execution_enable                true                      YES
    7y2m07bk7qwgx          0 parallel_query_mode                      enabled                   YES
    7y2m07bk7qwgx          0 parallel_threads_per_cpu                 2                         YES
    7y2m07bk7qwgx          0 pga_aggregate_target                     1048576 KB                YES
    7y2m07bk7qwgx          0 query_rewrite_enabled                    true                      YES
    7y2m07bk7qwgx          0 query_rewrite_integrity                  trusted                   NO
    7y2m07bk7qwgx          0 skip_unusable_indexes                    true                      YES
    7y2m07bk7qwgx          0 sort_area_retained_size                  0                         YES
    7y2m07bk7qwgx          0 sort_area_size                           65536                     YES
    7y2m07bk7qwgx          0 star_transformation_enabl                temp_disable              NO
    7y2m07bk7qwgx          0 statistics_level                         typical                   YES
    7y2m07bk7qwgx          0 workarea_size_policy                     auto                      YES
    BAD Plan
    PLAN_TABLE_OUTPUT                                                                                                                                    
    SQL_ID  64yzv2570s56x, child number 0                                                                                                                
    SELECT  --q2   DM_FAC.FAC_NM,     COUNT(DISTINCT DM_ACCT.ACCT_SK),     DM_DRG_SVC_LN.DRG_SVC_LN_DESC                                                 
    FROM     DM_FAC,     DM_ACCT,     DM_DRG_SVC_LN,     DM_ORG_UNIT_GRP,     DM_ORG_UNIT_DIV,                                                           
    DM_DT_QRY DM_DT__DSCH,     DM_BILL_LOC,     DM_DT_QRY DM_DT_VISITSVC,                                                                            
    FACT_VISIT,     DM_RSP_PTY    WHERE     (                                                                                          
    DM_ORG_UNIT_GRP.ORG_UNIT_GRP_SK=DM_ORG_UNIT_DIV.ORG_UNIT_GRP_SK )     AND ( DM_ORG_UNIT_GRP.ARCHIVE_IND                                              
    = :"SYS_B_00" )     AND ( DM_DT_VISITSVC.DT2_SK=FACT_VISIT.SVC_DT2_SK )     AND (                                                  
    DM_BILL_LOC.BILL_LOC_SK=FACT_VISIT.BILL_LOC_SK )     AND (                                                                         
    DM_ORG_UNIT_DIV.ORG_UNIT_DIV_SK=FACT_VISIT.ORG_UNIT_DIV_SK )     AND (                                                             
    FACT_VISIT.DEL_IND=:"SYS_B_01" )     AND ( DM_RSP_PTY.ACCT_SK=DM_ACCT.ACCT_SK )                                                    
    AND ( DM_RSP_PTY.RSP_PTY_TYPE_CD=:"SYS_B_02" )     AND ( DM_ACCT.FAC_CD=DM_FAC.FAC_CD )     AND (                                                    
    DM_ACCT.DSCH_DT=DM_DT__DSCH.DT )     AND ( DM_ACCT.DRG_SVC_LN_SK=DM_DRG_SVC_LN.DRG_SVC_LN                                                        
    Plan hash value: 2053235935                                                                                                                          
    | Id  | Operation                             | Name                   | Rows  | Bytes | Cost (%CPU)| Time     |                                     
    |   0 | SELECT STATEMENT                      |                        |       |       |  7559 (100)|          |                                     
    |   1 |  SORT GROUP BY                        |                        |     1 |   174 |  7559   (2)| 00:00:20 |                                     
    |*  2 |   FILTER                              |                        |       |       |            |          |                                     
    |   3 |    NESTED LOOPS                       |                        |     1 |   174 |  7558   (2)| 00:00:20 |                                     
    |   4 |     NESTED LOOPS                      |                        |     1 |   149 |  7557   (2)| 00:00:20 |                                     
    |*  5 |      HASH JOIN                        |                        |     1 |   128 |  7556   (2)| 00:00:20 |                                     
    |   6 |       NESTED LOOPS                    |                        |     6 |   678 |  7543   (2)| 00:00:20 |                                     
    |   7 |        NESTED LOOPS                   |                        |   170 | 15300 |  7201   (2)| 00:00:19 |                                     
    |*  8 |         HASH JOIN                     |                        |    41 |  3239 |  5141   (2)| 00:00:14 |                                     
    |*  9 |          HASH JOIN                    |                        |    75 |  4725 |  5137   (2)| 00:00:14 |                                     
    |* 10 |           TABLE ACCESS FULL           | DM_ORG_UNIT_DIV        |   170 |  2550 |     5   (0)| 00:00:01 |                                     
    |* 11 |           HASH JOIN                   |                        |   204 |  9792 |  5131   (2)| 00:00:14 |                                     
    |* 12 |            TABLE ACCESS FULL          | DM_DT_QRY              |     7 |    98 |    13  (16)| 00:00:01 |                                     
    |* 13 |            TABLE ACCESS BY INDEX ROWID| FACT_VISIT    | 17647 |   448K|  3893   (2)| 00:00:11 |                                     
    |  14 |             NESTED LOOPS              |                        | 35294 |  1171K|  5116   (2)| 00:00:14 |                                     
    |* 15 |              TABLE ACCESS FULL        | DM_BILL_LOC            |     2 |    16 |     3   (0)| 00:00:01 |                                     
    |* 16 |              INDEX RANGE SCAN         | FV_DMBILLLOC_FK | 35294 |       |   105   (4)| 00:00:01 |                                     
    |* 17 |          TABLE ACCESS FULL            | DM_ORG_UNIT_GRP        |    57 |   912 |     3   (0)| 00:00:01 |                                     
    |* 18 |         TABLE ACCESS BY INDEX ROWID   | DM_RSP_PTY             |     4 |    44 |    50   (0)| 00:00:01 |                                     
    |* 19 |          INDEX RANGE SCAN             | XSI_DMRSPPY_CNRPERSID  |    48 |       |     2   (0)| 00:00:01 |                                     
    |* 20 |        TABLE ACCESS BY INDEX ROWID    | DM_ACCT                |     1 |    23 |     2   (0)| 00:00:01 |                                     
    |* 21 |         INDEX UNIQUE SCAN             | DM_ACCT_PK             |     1 |       |     1   (0)| 00:00:01 |                                     
    |* 22 |       TABLE ACCESS FULL               | DM_DT_QRY              |    30 |   450 |    12   (9)| 00:00:01 |                                     
    |  23 |      TABLE ACCESS BY INDEX ROWID      | DM_FAC                 |     1 |    21 |     1   (0)| 00:00:01 |                                     
    |* 24 |       INDEX UNIQUE SCAN               | DM_FAC_UK              |     1 |       |     0   (0)|          |                                     
    |  25 |     TABLE ACCESS BY INDEX ROWID       | DM_DRG_SVC_LN          |     1 |    25 |     1   (0)| 00:00:01 |                                     
    |* 26 |      INDEX UNIQUE SCAN                | DM_DRG_SVC_LN_PK       |     1 |       |     0   (0)|          |                                     
    Predicate Information (identified by operation id):                                                                                                  
       2 - filter((TO_DATE(:SYS_B_16,:SYS_B_17)<=TO_DATE(:SYS_B_18,:SYS_B_19) AND :SYS_B_00=:SYS_B_07))                                                  
       5 - access("DM_ACCT"."DSCH_DT"="DM_DT__DSCH"."DT")                                                                                            
       8 - access("DM_ORG_UNIT_DIV"."ORG_UNIT_GRP_SK"="DM_ORG_UNIT_GRP"."ORG_UNIT_GRP_SK")                                                               
       9 - access("DM_ORG_UNIT_DIV"."ORG_UNIT_DIV_SK"="FACT_VISIT"."ORG_UNIT_DIV_SK")                                                           
      10 - filter(("DM_ORG_UNIT_DIV"."DIV_CAT01_DESC"=:SYS_B_08 OR                                                                                       
                  "DM_ORG_UNIT_DIV"."DIV_CAT01_DESC"=:SYS_B_09))                                                                                         
      11 - access("DM_DT_VISITSVC"."DT2_SK"="FACT_VISIT"."SVC_DT2_SK")                                                                          
      12 - filter(("DM_DT_VISITSVC"."DT">=TO_DATE(:SYS_B_16,:SYS_B_17) AND                                                                               
                  "DM_DT_VISITSVC"."DT"<=TO_DATE(:SYS_B_18,:SYS_B_19)))                                                                                  
      13 - filter("FACT_VISIT"."DEL_IND"=:SYS_B_01)                                                                                             
      15 - filter(("DM_BILL_LOC"."BILL_LOC_NBR"=:SYS_B_14 OR "DM_BILL_LOC"."BILL_LOC_NBR"=:SYS_B_15))                                                    
      16 - access("FACT_VISIT"."BILL_LOC_SK"="DM_BILL_LOC"."BILL_LOC_SK")                                                                       
      17 - filter(("DM_ORG_UNIT_GRP"."ARCHIVE_IND"=:SYS_B_00 AND                                                                                         
                  INTERNAL_FUNCTION("DM_ORG_UNIT_GRP"."EIS_LVL_1") AND                                                                                   
                  TO_NUMBER("DM_ORG_UNIT_GRP"."ORG_UNIT_GRP_NBR")<>:SYS_B_13))                                                                           
      18 - filter("DM_RSP_PTY"."RSP_PTY_TYPE_CD"=:SYS_B_02)                                                                                              
      19 - access("DM_RSP_PTY"."CNR_PERS_ID_CURR"="FACT_VISIT"."CNR_PERS_ID_CURR")                                                              
           filter("DM_RSP_PTY"."CNR_PERS_ID_CURR" IS NOT NULL)                                                                                           
      20 - filter("DM_ACCT"."CURR_PAT_TYPE_CD"=:SYS_B_10)                                                                                                
      21 - access("DM_RSP_PTY"."ACCT_SK"="DM_ACCT"."ACCT_SK")                                                                                            
      22 - filter(("DM_DT__DSCH"."MTH_NBR"=:SYS_B_12 AND "DM_DT__DSCH"."YR_NBR"=:SYS_B_11))                                                      
      24 - access("DM_ACCT"."FAC_CD"="DM_FAC"."FAC_CD")                                                                                                  
      26 - access("DM_ACCT"."DRG_SVC_LN_SK"="DM_DRG_SVC_LN"."DRG_SVC_LN_SK")                                                                             
    GOOD Plan
    PLAN_TABLE_OUTPUT                                                                                                                                    
    SQL_ID  7y2m07bk7qwgx, child number 0                                                                                                                
    SELECT --q1   DM_FAC.FAC_NM,    COUNT(DISTINCT DM_ACCT.ACCT_SK),    DM_DRG_SVC_LN.DRG_SVC_LN_DESC  FROM                                              
    DM_FAC,    DM_ACCT,    DM_DRG_SVC_LN,    DM_ORG_UNIT_GRP,    DM_ORG_UNIT_DIV,    DM_DT_QRY  DM_DT__DSCH,                                         
    DM_BILL_LOC,    DM_DT_QRY  DM_DT_VISITSVC,    FACT_VISIT,    DM_RSP_PTY  WHERE    (                                                
    DM_ORG_UNIT_GRP.ORG_UNIT_GRP_SK=DM_ORG_UNIT_DIV.ORG_UNIT_GRP_SK  )    AND  ( DM_ORG_UNIT_GRP.ARCHIVE_IND =                                           
    :"SYS_B_00"  )    AND  ( DM_DT_VISITSVC.DT2_SK=FACT_VISIT.SVC_DT2_SK  )    AND  (                                                  
    DM_BILL_LOC.BILL_LOC_SK=FACT_VISIT.BILL_LOC_SK  )    AND  (                                                                        
    DM_ORG_UNIT_DIV.ORG_UNIT_DIV_SK=FACT_VISIT.ORG_UNIT_DIV_SK  )    AND  (                                                            
    FACT_VISIT.DEL_IND=:"SYS_B_01"  )    AND  ( DM_RSP_PTY.ACCT_SK=DM_ACCT.ACCT_SK  )    AND  (                                        
    DM_RSP_PTY.RSP_PTY_TYPE_CD=:"SYS_B_02"  )    AND  ( DM_ACCT.FAC_CD=DM_FAC.FAC_CD  )    AND  (                                                        
    DM_ACCT.DSCH_DT=DM_DT__DSCH.DT  )    AND  ( DM_ACCT.DRG_SVC_LN_SK=DM_DRG_SVC_LN.DRG_SVC_LN_SK  )                                                 
    Plan hash value: 1376284724                                                                                                                          
    | Id  | Operation                                    | Name                      | Rows  | Bytes | Cost (%CPU)| Time     |                           
    |   0 | SELECT STATEMENT                             |                           |       |       | 22053 (100)|          |                           
    |   1 |  SORT GROUP BY                               |                           |     2 |   348 | 22053   (3)| 00:00:57 |                           
    |*  2 |   FILTER                                     |                           |       |       |            |          |                           
    |   3 |    NESTED LOOPS                              |                           |     2 |   348 | 22052   (3)| 00:00:57 |                           
    |   4 |     NESTED LOOPS                             |                           |     2 |   306 | 22050   (3)| 00:00:57 |                           
    |   5 |      NESTED LOOPS                            |                           |     2 |   256 | 22048   (3)| 00:00:57 |                           
    |*  6 |       HASH JOIN                              |                           |     4 |   456 | 22044   (3)| 00:00:57 |                           
    |*  7 |        HASH JOIN                             |                           |     8 |   784 | 22041   (3)| 00:00:57 |                           
    |*  8 |         HASH JOIN                            |                           |    21 |  1743 | 22035   (3)| 00:00:57 |                           
    |*  9 |          TABLE ACCESS FULL                   | DM_BILL_LOC               |     2 |    16 |     3   (0)| 00:00:01 |                           
    |* 10 |          TABLE ACCESS BY INDEX ROWID         | FACT_VISIT       |     5 |   130 |    12   (0)| 00:00:01 |                           
    |  11 |           NESTED LOOPS                       |                           |  3453 |   252K| 22031   (3)| 00:00:57 |                           
    |  12 |            NESTED LOOPS                      |                           |   661 | 32389 | 15399   (4)| 00:00:40 |                           
    |  13 |             NESTED LOOPS                     |                           |   585 | 22230 | 13079   (5)| 00:00:34 |                           
    |* 14 |              TABLE ACCESS FULL               | DM_DT_QRY                 |    30 |   450 |    12   (9)| 00:00:01 |                           
    |  15 |              TABLE ACCESS BY INDEX ROWID     | DM_ACCT                   |    19 |   437 | 13079   (5)| 00:00:34 |                           
    |  16 |               BITMAP CONVERSION TO ROWIDS    |                           |       |       |            |          |                           
    |  17 |                BITMAP AND                    |                           |       |       |            |          |                           
    |  18 |                 BITMAP CONVERSION FROM ROWIDS|                           |       |       |            |          |                           
    |* 19 |                  INDEX RANGE SCAN            | DMACCT_DSCH_DT            |  2098 |       |     7   (0)| 00:00:01 |                           
    |  20 |                 BITMAP CONVERSION FROM ROWIDS|                           |       |       |            |          |                           
    |* 21 |                  INDEX RANGE SCAN            | XSI_DMACCT01_CURRPATTYPCD |  2098 |       |   421   (5)| 00:00:02 |                           
    |* 22 |             TABLE ACCESS BY INDEX ROWID      | DM_RSP_PTY                |     1 |    11 |     4   (0)| 00:00:01 |                           
    |* 23 |              INDEX RANGE SCAN                | XSI_DMRSPPTY_PERS         |     1 |       |     3   (0)| 00:00:01 |                           
    |* 24 |            INDEX RANGE SCAN                  | FV_CNRPERSON_FK    |    13 |       |     2   (0)| 00:00:01 |                           
    |* 25 |         TABLE ACCESS FULL                    | DM_ORG_UNIT_DIV           |   170 |  2550 |     5   (0)| 00:00:01 |                           
    |* 26 |        TABLE ACCESS FULL                     | DM_ORG_UNIT_GRP           |    57 |   912 |     3   (0)| 00:00:01 |                           
    |* 27 |       TABLE ACCESS BY INDEX ROWID            | DM_DT_QRY                 |     1 |    14 |     1   (0)| 00:00:01 |                           
    |* 28 |        INDEX UNIQUE SCAN                     | DM_DT2_QRY_UK             |     1 |       |     0   (0)|          |                           
    |  29 |      TABLE ACCESS BY INDEX ROWID             | DM_DRG_SVC_LN             |     1 |    25 |     1   (0)| 00:00:01 |                           
    |* 30 |       INDEX UNIQUE SCAN                      | DM_DRG_SVC_LN_PK          |     1 |       |     0   (0)|          |                           
    |  31 |     TABLE ACCESS BY INDEX ROWID              | DM_FAC                    |     1 |    21 |     1   (0)| 00:00:01 |                           
    |* 32 |      INDEX UNIQUE SCAN                       | DM_FAC_UK                 |     1 |       |     0   (0)|          |                           
    Predicate Information (identified by operation id):                                                                                                  
       2 - filter((TO_DATE(:SYS_B_16,:SYS_B_17)<=TO_DATE(:SYS_B_18,:SYS_B_19) AND :SYS_B_00=:SYS_B_07))                                                  
       6 - access("DM_ORG_UNIT_DIV"."ORG_UNIT_GRP_SK"="DM_ORG_UNIT_GRP"."ORG_UNIT_GRP_SK")                                                               
       7 - access("DM_ORG_UNIT_DIV"."ORG_UNIT_DIV_SK"="FACT_VISIT"."ORG_UNIT_DIV_SK")                                                           
       8 - access("FACT_VISIT"."BILL_LOC_SK"="DM_BILL_LOC"."BILL_LOC_SK")                                                                       
       9 - filter(("DM_BILL_LOC"."BILL_LOC_NBR"=:SYS_B_14 OR "DM_BILL_LOC"."BILL_LOC_NBR"=:SYS_B_15))                                                    
      10 - filter("FACT_VISIT"."DEL_IND"=:SYS_B_01)                                                                                             
      14 - filter(("DM_DT__DSCH"."MTH_NBR"=:SYS_B_12 AND "DM_DT__DSCH"."YR_NBR"=:SYS_B_11))                                                      
      19 - access("DM_ACCT"."DSCH_DT"="DM_DT__DSCH"."DT")                                                                                            
      21 - access("DM_ACCT"."CURR_PAT_TYPE_CD"=:SYS_B_10)                                                                                                
      22 - filter("DM_RSP_PTY"."CNR_PERS_ID_CURR" IS NOT NULL)                                                                                           
      23 - access("DM_RSP_PTY"."ACCT_SK"="DM_ACCT"."ACCT_SK" AND "DM_RSP_PTY"."RSP_PTY_TYPE_CD"=:SYS_B_02)                                               
      24 - access("DM_RSP_PTY"."CNR_PERS_ID_CURR"="FACT_VISIT"."CNR_PERS_ID_CURR")                                                              
      25 - filter(("DM_ORG_UNIT_DIV"."DIV_CAT01_DESC"=:SYS_B_08 OR "DM_ORG_UNIT_DIV"."DIV_CAT01_DESC"=:SYS_B_09))                                        
      26 - filter(("DM_ORG_UNIT_GRP"."ARCHIVE_IND"=:SYS_B_00 AND INTERNAL_FUNCTION("DM_ORG_UNIT_GRP"."EIS_LVL_1") AND                                    
                  TO_NUMBER("DM_ORG_UNIT_GRP"."ORG_UNIT_GRP_NBR")<>:SYS_B_13))                                                                           
      27 - filter(("DM_DT_VISITSVC"."DT">=TO_DATE(:SYS_B_16,:SYS_B_17) AND                                                                               
                  "DM_DT_VISITSVC"."DT"<=TO_DATE(:SYS_B_18,:SYS_B_19)))                                                                                  
      28 - access("DM_DT_VISITSVC"."DT2_SK"="FACT_VISIT"."SVC_DT2_SK")                                                                          
      30 - access("DM_ACCT"."DRG_SVC_LN_SK"="DM_DRG_SVC_LN"."DRG_SVC_LN_SK")                                                                             
      32 - access("DM_ACCT"."FAC_CD"="DM_FAC"."FAC_CD")                                                                                                  
       

  • Difference in data retrieved from sql developer and sqlplus prompt

    SQL> select distinct snap_time from perfstat.stats$idx_stats;
    SNAP_TIME
    21-MAY-07
    05-JUN-07
    but using sql developer
    select distinct snap_time from perfstat.stats$idx_stats;
    SNAP_TIME
    21-MAY-07
    05-JUN-07
    13-JUN-07
    but can anyone explain the difference because it's the same database

    SQL> select distinct snap_time from
    perfstat.stats$idx_stats;
    SNAP_TIME
    21-MAY-07
    05-JUN-07
    but using sql developer
    select distinct snap_time from
    perfstat.stats$idx_stats;
    SNAP_TIME
    21-MAY-07
    05-JUN-07
    13-JUN-07
    but can anyone explain the difference because it's
    the same databaseIt looks to me during the interim between you run the query in sqlplus and SQL Developer, statspack generated a new snapshot.
    Check your DBA_JOBS see if there's any auto statspack collection job.

  • Sqlplus and "show parameter"

    hi,
    I cloned two databases from a database (copying filesystem, modifying parameter file, and recreating control file).
    on one of the cloned databases when I log in as a user using sqlplus and do show parameter db_name, it shows the parameter.
    on the other one, it says "table or view does not exist".
    why is this? they were both cloned from the same database!
    thanks

    but if I have database A, and I clone that into databases X and Y, and during the whole duration A was not modified so that A, X and Y end up being completely identical, then surely one would expect user ora12 on all three databases to have the same privileges? Why then can I use show parameter on databases A and X, but not Y?
    thanks

  • Unable to connect to rman and sqlplus

    Hi,
    my /u01 location where the orainverntory is located is 100% full ,and i am unable to connect to sqlplus and rman i deleted the old trace files but it doesn't help me.
    what is mininum space required to connect to sqlplus

    If you can post the error messge, we may be in a position to help you.
    Jaffar

  • Sqlplus and dbconsole  dont' show the correct version

    Hi,
    I have succesfully applied the patch 9654983 (11.2.0.1.2 Patch set update) .
    But , I don't understand why sqlplus and the dbconsole still show me the 11.2.0.1.0 version.
    Did I miss a step ? pfile or spfile ?
    note the the registry$history table showo the 12.2.0.1 version and "PSU 12.2.0.1.2 " as comment.
    Thanks be advance,
    Daniel Tasseroul

    This is normal. PSU patches do not update the database version that is displayed. See MOS Doc 861152.1 (Do Patchset Updates (PSU's) Change the Oracle Release Version/Fifth Digit?)
    As long as you can confirm from the logs that the patch applied successfully without errors, you are good.
    HTH
    Srini

  • SQLPlus and SQLLoader needed for Sparc Solaris 2.6

    Hello,
    for a test i need the two Oracle utilities SQLPlus and SQLLoader
    for Sparc Solaris 2.6.
    Is there a test version available ???
    Thanks for information.
    Olaf.
    null

    hai Alan,
    Let me specific on the problem.
    I developed a fail-over software for Linux servers(need 2 servers of same configuration). In this servers ,there are two modes , Active and passive mode. At a time one can be active,and other passive. Clients can communicate the with the servers through a common alias ip address. But the actual ip address of servers can be different.Normally Active server would be having the alias ip.
    When switching take place from active to passive mode,server will be assigned with its actual ip address. When switching takes place other passive server becomes active and its get common alias ip address.?
    This is the actual scenario . And fake is used in Linux to refresh the arp table of immediate switching device.
    But i came to know that solaris os would do it normally when it switches .?
    Is this possible with solaris.?

  • Sqlplus and asmcmd

    Ello
    What are the default connect strings used by sqlplus and asmcmd when connecting to asm instance ?
    Is it "/ as sysasm" for asmcmd and operating system authentication for sqlplus
    or
    operating system authentication for asmcmd and none for sqlplus ?
    or
    both operating system authentication ?

    Ora_83 wrote:
    Ello
    What are the default connect strings used by sqlplus and asmcmd when connecting to asm instance ?
    Is it "/ as sysasm" for asmcmd and operating system authentication for sqlplus
    or
    operating system authentication for asmcmd and none for sqlplus ?
    or
    both operating system authentication ?I am not sure that I understand you properly. The default or what needs very little configuration, is the o/s authentication.
    Aman....

  • Why can't you let us download SQLplus and Net8 by itself

    Please use this forum to provide feedback about OTN content/services. All other posts will be DELETED.
    I want to be able to download Sqlplus and Net8 without downloading something else. I know it is packaged with other development tools. It would be helpful for those don't want to use Oracle's developemnt tools but just want to connect to Oracle database using sqlplus.

    The Oracle Client in the most compact way to get SQL*Plus and Oracle Net, although this is still quite large. SQL*Plus has a lot of dependencies on RDBMS libraries, and the Oracle Client is the best way for you to get just what you need.
    As the previous poster suggested, iSQL*Plus might be a better option, and this is included with the Server download, ie, Enterprise Edition, Standard Edition and Personal Edition.
    Alison
    Product Manager, SQL*Plus

  • Oracle Client and SqlPlus on Mac Os X Leopard Configuration Script

    Hello,
    I have just written 2 bash scripts for the installation and configuration of SqlPlus and the Oracle Client v10.2.
    The first script MacSqlPlus.sh install the client set the environment variables, the second TNSconnectMac.sh help to configure the tnsnames.ora. They can be found here
    http://www.danilovizzarro.it/script/MacSqlPlus.sh
    http://www.danilovizzarro.it/script/TNSconnectMac.sh
    In order to have them working it's required to download the oracle client basic lite and SqlPlus in the /var/root directory.
    A step-by-step tutorial can be found here http://www.danilovizzarro.it/?p=10
    Soon I will try to upload a demonstration video.
    Your comments are always appreciated.
    BR
    DV

    Doug,
    It is possible that there could be data corruption, because this is not a tested, thus not supported, setup. I hope that helps!

Maybe you are looking for

  • Impacts of new company code currency

    Hi Gurus, We have a company code which is setup 2 months back. We have it setup with USD and this company code is assigend to a controlling area in one -one basis. So it should be fine . But now business want to change the CCode currency.  All G/L an

  • Outlook does not send meeting requests at all.

    Hi all My problem is both annoyingly simple and frustratingly annoying, but so far i haven't been able to solve it, nor has our IT department. In short, my Outlook doesn't send meeting requests to invite attendees. (My colleagues, same exchange serve

  • Mail Issue Using AOL setting

    Hey, just got my hard drive replaced and im trying to set up the mail application. I use aol mail and i called aol and they walked me through what settings i need to have. The issue is that its not letting me recieve or send mail. Here are my setting

  • ActiveSync Quarantine Administrator Email Changed - No ECP Link

    For some reason the emails generated by the Exchange 2010 servers when a mobile device is quarantined have changed. We now no longer have the clickable link to open the device within the ECP. Old Email The Exchange ActiveSync service has quarantined

  • Automatic Delivery Order creation

    Hi Experts, I have a got requirement from client where the SAP system will create delivery orders automatically considering factors like total weight of the material, dimension of the material etc. Is there any means to give a solution to this requir