DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: create new user

Threaded View

  1. #3
    Join Date
    Jan 2002
    Location
    Netherlands
    Posts
    1,587
    Code:
    SQL*Plus: Release 8.1.6.0.0 - Production on Thu Nov 7 17:15:37 2002
    
    (c) Copyright 1999 Oracle Corporation.  All rights reserved.
    
    
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    
    appdev@NICK>create user nosey identified by nosey;
    
    User created.
    
    appdev@NICK>grant create session to nosey;
    
    Grant succeeded.
    
    appdev@NICK>@conn nosey/nosey
    Input truncated to 15 characters
    nosey@NICK>select * from scott.emp;
    select * from scott.emp
                        *
    ERROR at line 1:
    ORA-00942: table or view does not exist
    /* well it does he just can't see it! */
    
    
    nosey@NICK>@conn appdev
    Enter password: 
    Input truncated to 15 characters
    appdev@NICK>grant select any table to nosey;
    
    Grant succeeded.
    
    appdev@NICK>@conn nosey/nosey
    Input truncated to 15 characters
    nosey@NICK>desc scott.emp
     Name                                                  Null?    Type
     ----------------------------------------------------- -------- ------------------------------------
     EMPNO                                                 NOT NULL NUMBER(4)
     ENAME                                                          VARCHAR2(10)
     JOB                                                            VARCHAR2(9)
     MGR                                                            NUMBER(4)
     HIREDATE                                                       DATE
     SAL                                                            NUMBER(7,2)
     COMM                                                           NUMBER(7,2)
     DEPTNO                                                         NUMBER(2)
    
    nosey@NICK>@conn appdev
    Enter password: 
    Input truncated to 15 characters
    
    
    appdev@NICK>drop user nosey;
    
    User dropped.
    
    appdev@NICK>
    Last edited by Tarry; 11-08-2002 at 04:46 AM.
    Tarry Singh
    I'm a JOLE(JavaOracleLinuxEnthusiast)
    TarryBlogging
    --- Everything was meant to be---

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width