Oracle 11g SQL signon   - The scott/tiger routine...

I just installed Oracle 11g.
First, what is the ID/PW into SQL - it used to be scott/tiger. I changed it to what I wanted on install. However, when I logon and type scott then tiger its says
account locked out. I tried scott and my own "created pw". It still didn't let me in. Is there an "easy" fix?
I have to get this aspect going to get to first base. How do I get around this or FIX it????
Walter Earl Roper
University of Illinois
[email protected]

By default, most of the demo accounts are created but locked so that they are not security holes if they are inadvertently included in a production install. To unlock scott
- Connect as SYS, i.e. from the command line (DOS prompt in Windows)
sqlplus / as sysdba- Unlock the account
SQL> ALTER USER scott ACCOUNT UNLOCK;Now, you should be able to log in as SCOTT. If you want to log in as HR, OE, or any of the other demo accounts, you'd repeat the procedure.
Justin

Similar Messages

  • Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?

    Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
    We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.

    Hi, Srini Chavali-Oracle
    As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
    As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks.

  • Basic SQL queries in Scott/tiger schema...

    One of my team member who is a fresher wants to learn SQL.
    Access to Scott/tiger is available.
    Can some links or queries be posted which can be tried and will be useful to learn SQL.

    Hi,
    Read the following links:
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/toc.htm
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14251/toc.htm
    Regards
    Avinash

  • Find Datas from Select Satement - Oracle 11g After changing the Connection?

    Iam very very new to Oracle. Yesterday only I have Installed Oracle 11G & created DataBase - JafferDB
    And from Oracle SQL Developer, I have created a connection called - JafferCon and SID also given..and the role is - SYSDBA
    And I excute the below statement
    insert into MyTable1 Values ('AAA1', 'BBB1', 'CCC1')
    insert into MyTable1 Values ('AAA2', 'BBB2', 'CCC2')
    Then I checked by Select statement, it has shown the values....No Problem....
    But, as a test, I deleted the connection and created a new connection tio the same DataBase with different name
    and when I checked by Select Statement....., it has not shown the values....????
    Does any mistakes....?
    Thanks for the directions...

    after you insert, update or delete any data in the database you must use "commit" or "rollback" statement. Commit if you want "save" the changes or rollback if you don't.
    Other users can't see this new changes until you do the "commit".

  • Difference between Upgrade to Oracle 11g Exam and the OCP 11g exam

    Is there a difference in the Oracle Database 11g exam and OCP 11g exam?
    Say for example, i am an OCP 10g and I took the New Features Course for 11g. Then I will upgrade to OCP 11g
    or
    I will take all the courses for 11g then take OCP (do not worry, money is not an issue in this case)
    Is there a difference between the two in terms of the examination?
    Will the exams for Upgrade to OCP11g and OCP11g the same?
    Which one is harder? or easier?
    Thanks. hope to see your feedback

    859640 wrote:
    I am sorry. But i din't quite understand the explanation.
    Correct me please if i am wrong.
    As I understand you:
    1. I am on OCP 10g
    2. I will need to take the exams (no need to get additional training) that need to be taken to be an OCP 11g which includes the following:
    - 1z0-051: Intro to SQL 11g
    - 1z0-052: Admin I 11g (if passed then OCA)
    - 1z0-053: Admin II 11g (if passed then OCP)
    Is this correct?Can I put it this way.
    I apologise if i am being explicit here but I am just being able to cover all angles.
    If a person is 10g OCP DBA (and has proof of this as a valid certificate from oracle or can see this on their certification status at certview.oracle.com .... I say this because some people with a 1z0-043 exam pass only may incorrectly claim they are a 10g DBA OCP) then the following routes from 10g DBA OCP to 11g DBA OCP are possible:
    1) By passing 1z0-050 ... the 11g DBA OCP should be granted with no further requirements other than the 10g DBA OCP
    2) By passing 1z0-052 and 1z0-053 ....... HOWEVER .....
    ..... It is possilble some 10g DBA OCP may not have passed an SQL exam in the past (1z0-051/047/-007/001) and if this is the case one of 1z0-051/1z0-047/1z0-007 will also need to be passed on this route (I would recommend 1z0-051).
    ( Essentially route (2) is valid for any DBA OCP; there is a 1z0-055 single upgrade exam for 9i DBA OCP's)
    It is recommended to find and check your existing certification under certification history (+not exam history ... that doesnt matter for this purpose+) under certview.oracle.com before starting on this route.

  • Oracle 11g sql * plus

    Hi ,
    I have installed oracle 11g. while selecting oradb-11 home/appliocation developement/sql plus , only command promt is reflecting. i want to use Sql*plus, but i am unable to find that . can anybody please tell me where is that , o that i acn use .

    I guess you are talking about Windows. There's no longer GUI sqlplus , only command line sqlplus in a DOS box. GUI fans have to change to sqldeveloper.
    Werner

  • Oracle 11g sql to find difference from two table data

    I have two tables ACTUAL AND ESTIMATE having unique column(sal_id, gal_id) and amount, tax, date columns.
    ACTUAL table
    actual_id, sal_id, gal_id, process_flag, amount, tax     date
    A1 101 201 Y 10 1 27-Aug-12
    A2 102 202 Y 20 2 27-Aug-12
    A3 102 202 N 30 3 29-Aug-12
    A4 302 402 N 40 3 30-Aug-12
    ESTIMATE table
    estimate_id, sal_id, gal_id, process_flag, amount, tax  date
    E1 301 401 Y 5 1 19-Aug-12
    E2 302 402 Y 45 4 20-Aug-12
    E3 302 402 Y 50 5 25-Aug-12
    E4 301 403 Y 10 2 27-Aug-12
    E5 301 403 N 15 3 28-Aug-12
    E6 101 201 Y 12 3 29-Aug-12
    Now My FINAL table, 1) Should have record for unprocessed (process_flag='N') from ACTUAL/ESTIMATE table for difference in amount and tax for (sal_id + gal_id) combination. If more than one processed record there, then max (date) should be consider.
    FINAL table
    actual_id, estimate_id, sal_id, gal_id, amount, tax
    A3 null 102 202 10 1 (A3-A2 actual-actual)
    A4 null 302 402 -10 -2 (A4-E3 actual-estimate with max date)
    null E5 301 403 5 1 (E5-E4 estimate-estimate)
    null E6 101 201 2 2 (E6-A1 estimate-actual)
    So basically I need a query for (A-A) U (B-B) U (A-B) U (B-A).
    I am using Oracle 11g Please help me.
    Edited by: Suresh on Aug 31, 2012 7:38 PM
    Edited by: Suresh on Aug 31, 2012 7:38 PM
    Edited by: Suresh on Aug 31, 2012 10:53 PM

    You need to provide better explanation here.A-A is always null.
    You might be looking for something like this..
    Untested version and also i cannot read your mind
    select actual_id, sal_id, gal_id, process_flag,ld_amount,ld_tax,e_date
    from(
    select actual_id, sal_id, gal_id, process_flag,e_date, amount-lead(amount) over(partition by sal_id, gal_id order by e_date desc) ld_amount,
    tax-lead(tax) over(partition by sal_id, gal_id order by e_date desc) ld_tax,
    rank()  over(partition by sal_id, gal_id order by e_date desc)rnk
    from
    (select * from actual a union
    select * from estmt e)
    ) where rnk=1

  • Oracle 11g sql

    i want to work wit sql*plus as like in 9i & 10 g... is there any possibilities in oracle 11g

    I understand SQL Developer replaced the GUI version, but you should still have the command line version.
    Any problems using SQL Developer? Sooo much better having a modern and capable tool!
    K.

  • Oracle 11g sql developer launch problem

    OS: windows 2008 R2 x64
    oracle: 11gRelease2
    JDK:jdk-6u21-windows-x64
    setJavaHome c:\program files\Java\jdk1.6.0_21
    when launched,an error prompt :
    Unable to find a java Virtual Machine
    to point to a location of a java virtual machine,please refer to the oracle9i Jdeveloper Install guide(jdev\install.html)
    please help me!

    when launched the sqldeveloper which in the directory (sqldeveloper\sqldeveloper\bin\sqldeveloper.exe)
    the following error occured:
    Warning: Could not find jvm.cfg! in 'C:\program files\Java\jdk1.6.0_21\jre\jvm.cfg
    Warning: Cannot find default VM "client" at C:\program files\Java\jdk1.6.0_21
    ERROR: Cannot find VM at C:\program files\Java\jdk1.6.0_21
    Aborting!
    then I look at the directory C:\program files\Java\jdk1.6.0_21\jre\, there is no jvm.cfg, actually it in the directory C:\program files\Java\jdk1.6.0_21\jre\amd64\
    but when i copy the jvm.cfg to the directory C:\program files\Java\jdk1.6.0_21\jre\
    an error prompt again
    Unrecognized entry in jvm.cfg: -client IGNORE

  • Oracle 11g SQL Fundamentals pass score

    Hi,
    Can anybody confirm what the pass score is. The page (http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_051&p_org_id=28&lang=US) says it is 60% out of 70 questions but this page (http://www.oracle.com/global/us/education/certification/score_info.html) says not to trust it as it can change at any time without warning...
    Mike

    Dird wrote:
    lawyer-eze?A word play on the terms 'lawyer' and 'legalese'.
    Disclaimers, phrases, terminology or words put on a slide/website/document to avoid law suits. Usually put in place by a corporate legal department or legal policy.
    Often of the form "We think this is OK but it may change in the future for any reason. And if it does, you can not sue us because we just told you it could."'
    May be required in a place and time when companies also need to print 'caution - contents may be hot' on coffee cups to avoid being sued when a person buys hot coffee and hurts themselves. (Google it ...)

  • How to Rename Oracle 11g Database in the Linux

    I want to Rename Database.How I must do this problem.Please help me
    Edited by: 850512 on Apr 7, 2011 1:18 AM
    Edited by: 850512 on Apr 7, 2011 1:22 AM

    850512 wrote:
    Step by step pleaseBefore you proceed any further, you need to define the real problem you are trying to solve. "renaming" a database may or may not be the appropriate solution - not to mention that "rename the database" could mean several things and we don't know your definition of that phrase.

  • How to place footer in oracle 11g with in the "EDIT MARGIN"

    Hi friends,
    I want place the footer each and every page,
    I knew how to keep the footer after "EDIT MARGIN",
    but i want place the footer with in the "EDIT MARGIN" and should act like a "footer section" that should print at the end of the each and every page even
    data is printed more than page.

    should print at the end of the each and every pageEverything in the margin is printed on every page by default. So, I don't understand your problem really. Can you be more specific? What doesn't work?
    If your margin doesn't print on every page, maybe you have a format trigger on the margin field?

  • Send encrypted data from oracle 11g to Ms SQL Server 12

    Hi every body,
    we want to send encrypted data from oracle 11g to Ms SQL Server 12:
    - data are encrypted to oracle
    - data should be sent encrypted to Ms SQL server
    - data will be decrypted in Ms SQL server by sensitive users.
    How can we do this senario, any one has contact simlare senario?
    can we use asymetric encription to do this senario?
    Please Help!!
    Thanks in advance.

    Hi,
      What you want to do about copying data from Oracle to SQL*Server using insert will work with the 12c gateway.  There was a problem trying to do this using the 11.2 gateway but it should be fixed with the 12c gateway.
    If 'insert' doesn't work then you can use the SQLPLUS 'copy' command, for example -
    SQL> COPY FROM SCOTT/TIGER@ORACLEDB -
    INSERT SCOTT.EMP@MSQL -
    USING SELECT * FROM EMP
    There is further information in this note available on My Oracle Support -
    Copying Data Between an Oracle Database and Non-Oracle Foreign Data Stores or Databases Using Gateways (Doc ID 171790.1)
    However, if the data is encrypted already in the Oracle database then it will be sent in the encrypted format. The gateway cannot decrypt the data before it is sent to SQL*Server.
    There is no specific documentation about the gateways and TDE.  TDE encrypts the data as it is in the Oracle database but I doubt that SQL*Server will be able to de-encrypt the Oracle data if it is passed in encrypted format and as far as I know it is not designed to be used for non-Oracle databases.
    The Gateway encrypts data as it is sent across the network for security but doesn't encrypt the data at source in the same way as TDE does.
    Regards,
    Mike

  • MS SQL Server system stored procedures can't be migrated into Oracle 11g

    During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
    create or replace
    PROCEDURE spPwSysID_GetNextID
    v_ID OUT NUMBER,
    iv_SysType IN NVARCHAR2 DEFAULT NULL ,
    iv_Cnt IN NUMBER DEFAULT NULL
    AS
    v_SysType NVARCHAR2(50) := iv_SysType;
    v_Cnt NUMBER(10,0) := iv_Cnt;
    v_result NUMBER(10,0);
    BEGIN
    --SQL Server BEGIN TRANSACTION;
    utils.incrementTrancount;
    v_Systype := UPPER(v_Systype) ;
    IF v_Cnt < 1 THEN
    v_Cnt := 1 ;
    END IF;
    v_result :=sp_getapplock(v_Resource => v_Systype,
    v_LockMode => 'Exclusive') ;
    IF v_result >= 0 THEN
    BEGIN
    SELECT ID
    INTO v_ID
    FROM PWSYSID
    WHERE SysType = v_SysType;
    IF SQL%ROWCOUNT = 1 THEN
    UPDATE PwSysID
    SET ID = ID + v_cnt
    WHERE SysType = v_SysType;
    ELSE
    BEGIN
    INSERT INTO PwSysID
    ( ID, SysType )
    VALUES ( v_cnt + 1, v_SysType );
    v_ID := 1 ;
    END;
    END IF;
    v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
    END;
    ELSE
    BEGIN
    raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
    END;
    END IF;
    utils.commit_transaction;
    END;

    During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
    create or replace
    PROCEDURE spPwSysID_GetNextID
    v_ID OUT NUMBER,
    iv_SysType IN NVARCHAR2 DEFAULT NULL ,
    iv_Cnt IN NUMBER DEFAULT NULL
    AS
    v_SysType NVARCHAR2(50) := iv_SysType;
    v_Cnt NUMBER(10,0) := iv_Cnt;
    v_result NUMBER(10,0);
    BEGIN
    --SQL Server BEGIN TRANSACTION;
    utils.incrementTrancount;
    v_Systype := UPPER(v_Systype) ;
    IF v_Cnt < 1 THEN
    v_Cnt := 1 ;
    END IF;
    v_result :=sp_getapplock(v_Resource => v_Systype,
    v_LockMode => 'Exclusive') ;
    IF v_result >= 0 THEN
    BEGIN
    SELECT ID
    INTO v_ID
    FROM PWSYSID
    WHERE SysType = v_SysType;
    IF SQL%ROWCOUNT = 1 THEN
    UPDATE PwSysID
    SET ID = ID + v_cnt
    WHERE SysType = v_SysType;
    ELSE
    BEGIN
    INSERT INTO PwSysID
    ( ID, SysType )
    VALUES ( v_cnt + 1, v_SysType );
    v_ID := 1 ;
    END;
    END IF;
    v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
    END;
    ELSE
    BEGIN
    raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
    END;
    END IF;
    utils.commit_transaction;
    END;

  • Primavera 6.2 SQL Database to Oracle 11g migration

    Hi,
    I used the migration tool to migrate a Primavera 6.2 SQL database to Oracle 11G DB. The migration tool runned successfully and I am able to login to the database using P6.2 client with no problem; however when attemptiong to update the license on the now Oracle database using the privuser account I get the following error "License could not be loaded because of error: List index out of bounds (247). Please make sure that you are using a privileged database login" the error comes up before I can browse to the location of licesne.txt file. Same procedure on a "native" Oracle P6.2 database works perfectly with no problem. Has any one run into this problem before? any help will be appreciated.
    Best Reagrds,

    user11108903 wrote:
    Hi,
    I used the migration tool to migrate a Primavera 6.2 SQL database to Oracle 11G DB. The migration tool runned successfully and I am able to login to the database using P6.2 client with no problem; however when attemptiong to update the license on the now Oracle database using the privuser account I get the following error "License could not be loaded because of error: List index out of bounds (247). Please make sure that you are using a privileged database login" the error comes up before I can browse to the location of licesne.txt file. Same procedure on a "native" Oracle P6.2 database works perfectly with no problem. Has any one run into this problem before? any help will be appreciated.
    Best Reagrds,I have not seen that specifically but it appears that not all of the grants were correctly applied.
    I would suggest running the schema validation tool which can be found on the knowledgebase as Solution ID: prim75459 as this will tell you what is missing/invalid.
    Once you know that, you can pull the neccesary grants from the create scripts located in the cd1\install\database\scripts folder.

Maybe you are looking for

  • Delete Attachments from SharePoint list

    Hello,  I created InfoPath Form, and users can attach a file. I want to delete the attachments from the SharePoint list after a while (Privacy issues). How can I do it? I searched about it and I found some codes but I'm not sure how to use them. Coul

  • Not Enough Hard Drive Space on my Mac Mini to Save Deleted User Account Folder: What to do?

    I am no longer able to access my original user account on my mac mini because the account is corrupted and won't load. Thanks to the helpful advice I found on the internet, I was able to create a new user account and resume using my mac, but all of m

  • SQL Query in Visual Composer 7.1.1 SP2

    Hi all, I want to use an SQL Query in Visual Composer 7.1.1 but I only can search for Stored Procedures. There is documentation available but not for VC 7.1.1.  I also can not use the Query Wizard for this as the System does not show up in the list.

  • Cant install the latest versions of Quick time and itunes for my new iphone

    Had them both running fine for years and then I tried to upgrade my itunes and then the trouble started. It wont install after i have downloaded it. Keep getting a very complicate error message as follows; An error occured during the installation of

  • Regarding SLD

    i have added new business system in SLD................ now pls.tell me the step.......to import it integration directory.......................