SQL tutorial 37: How to create NEW USER account using Create User statement in Oracle database

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

ความคิดเห็น • 29

  • @dontvisitthischannel5444
    @dontvisitthischannel5444 6 ปีที่แล้ว +10

    when i execute code it give following error. I just type the same code you type.
    Error report -
    SQL Error: ORA-65096: invalid common user or role name
    65096. 00000 - "invalid common user or role name"
    *Cause: An attempt was made to create a common user or role with a name
    that was not valid for common users or roles. In addition to
    the usual rules for user and role names, common user and role
    names must start with C## or c## and consist only of ASCII
    characters.
    *Action: Specify a valid common user or role name.

  • @seemaranisamal7287
    @seemaranisamal7287 4 ปีที่แล้ว

    Thank u for such a grt video it's help me alot

  • @sknoor9521
    @sknoor9521 9 ปีที่แล้ว

    explain very beautifully. thanks Man!

  • @rubalshrestha2415
    @rubalshrestha2415 4 ปีที่แล้ว +2

    Hi Manish,
    when i execute code it gave me following error. I typed the same code you used.
    Error report -
    SQL Error: ORA-65096: invalid common user or role name
    65096. 00000 - "invalid common user or role name"
    *Cause: An attempt was made to create a common user or role with a name
    that was not valid for common users or roles. In addition to
    the usual rules for user and role names, common user and role
    names must start with C## or c## and consist only of ASCII
    characters.
    *Action: Specify a valid common user or role name.

  • @YK3823
    @YK3823 10 ปีที่แล้ว +1

    you are great ! you have a great tutorials
    thank you so much !

  • @tmitchable
    @tmitchable 10 ปีที่แล้ว

    Hi it's interesting tutor, any advise for beginner to take a test for oca

  • @Premsagarkashavena
    @Premsagarkashavena 5 ปีที่แล้ว +1

    bro thank you so much

  • @hrithikrudra4292
    @hrithikrudra4292 5 ปีที่แล้ว

    Sir,are there any videos regarding subqueries or query related with multiple tables??
    if not please do make videos on that.

  • @DarkWhisperer13
    @DarkWhisperer13 8 ปีที่แล้ว +2

    Hello Manish, Can you do a video for Oracle DBA ADMIN?

  • @abhilashnakka
    @abhilashnakka 8 ปีที่แล้ว +1

    A small typo mistake in your blog. Under step 3, It is showing as "SQL>grant connect session to ironman;". Please modify CONNECT to CREATE.
    Thank you for the tutorial. :)

  • @sumanbandaru3641
    @sumanbandaru3641 10 ปีที่แล้ว +1

    it was so good

  • @anishamatthias1749
    @anishamatthias1749 4 ปีที่แล้ว

    I am getting error on creating user. I have created connection with username as sys and in that I have run this query that you mentioned in Oracle 19C. Please help
    ORA-65096: invalid common user or role name
    65096. 00000 - "invalid common user or role name"
    *Cause: An attempt was made to create a common user or role with a name
    that was not valid for common users or roles. In addition to the
    usual rules for user and role names, common user and role names
    must consist only of ASCII characters, and must contain the prefix
    specified in common_user_prefix parameter.
    *Action: Specify a valid common user or role name.

  • @hatchvikas
    @hatchvikas 9 ปีที่แล้ว +1

    Thank you Manish, This is rely great series.. I gone through till 37 videos, I am new in Oracle.I have some question here ..I am from SQL server :) , There in SQL Server we have multiple Databases and database level user, we can create table in specific Database, I can connect to any one of the Database. Now My question here is how we can create more than one Databases in Oracle and connect as per required?. Now I have Created new Database using DBCA with Name "VikasTest" , Now I am restarting my system, how I can connect to this particular Database, I f I go to the command prompt and SQL plus and connect using system I am able to connect but How I can decide/conform that I have connected to my Database called "VikasTest". As we have facility in sql server you can write the USE DatabaseName and connect to specific Database, please guide me if I am missing anything..

  • @sumanbandaru3641
    @sumanbandaru3641 10 ปีที่แล้ว +2

    Hi Manish,i want to become a Oracle Developer
    Can you help me on this

  • @apka_vlogs
    @apka_vlogs 5 ปีที่แล้ว

    What will be the Username for login screen Enterprise Manager?

  • @ahsanulhaque4075
    @ahsanulhaque4075 10 ปีที่แล้ว +1

    how to db export and import?
    ....PLEASE one tutorial.

  • @hassanshuwa8888
    @hassanshuwa8888 8 ปีที่แล้ว

    Hi! I have got error in create new user account,please help me what should i do,see query bellow
    SQL> create user hsn identified by shuwa
    2 default tablespace users temporary tablespace temp
    3 quota 20M on users
    4 account unlock;
    create user hsn identified by shuwa
    *
    ERROR at line 1:
    ORA-01031: insufficient privileges

  • @SHEOSHANKARKUMARultimate
    @SHEOSHANKARKUMARultimate 9 ปีที่แล้ว

    what are the six temporary tablespace.?

  • @shaheenshaikh6701
    @shaheenshaikh6701 5 ปีที่แล้ว

    Sir what is tablespace and temporary tablespace plz explain

  • @shilpareddy4997
    @shilpareddy4997 7 ปีที่แล้ว

    hi manish i have taken course on oracle dba but I'm not satisfied with their explanation. can u make videos on oracle dba please.

  • @durgeshparlewar5556
    @durgeshparlewar5556 8 ปีที่แล้ว

    how can solve this problems.sir please help me

  • @Gabriel8OD
    @Gabriel8OD 5 ปีที่แล้ว

    Você é demais :D

  • @jennys5218
    @jennys5218 5 ปีที่แล้ว

    I was able to create my user properly but I got this error message when I tried to connect:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Warning: You are no longer connected to ORACLE.

    • @Rebellionrider
      @Rebellionrider  4 ปีที่แล้ว

      Refer this blog www.rebellionrider.com/sql-developer-error-the-network-adapter-could-not-establish-the-connection/

  • @divyanshuchaudhari5416
    @divyanshuchaudhari5416 3 ปีที่แล้ว

    alter session set "_ORACLE_SCRIPT"=true;
    Execute this command first to create a container user , if you get the below error:
    Error report -
    ORA-65096: invalid common user or role name
    65096. 00000 - "invalid common user or role name"
    *Cause: An attempt was made to create a common user or role with a name
    that was not valid for common users or roles. In addition to the
    usual rules for user and role names, common user and role names
    must consist only of ASCII characters, and must contain the prefix
    specified in common_user_prefix parameter.
    *Action: Specify a valid common user or role name.

  • @durgeshparlewar5556
    @durgeshparlewar5556 8 ปีที่แล้ว

    Error starting at line : 1 in command -
    CREATE USER david IDENTIFIED BY david123
    DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp
    QUOTA 20M ON users
    ACCOUNT UNLOCK
    Error report -
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause: An attempt was made to perform a database operation without
    the necessary privileges.
    *Action: Ask your database administrator or designated security
    administrator to grant you the necessary privileges

    • @nalinaksheepanda1596
      @nalinaksheepanda1596 5 ปีที่แล้ว

      I think you were not creating your user in Sys database. I am able to create an user with above query.

    • @shreyaagarwal493
      @shreyaagarwal493 5 ปีที่แล้ว

      how to solve this issue?

    • @shreyaagarwal493
      @shreyaagarwal493 5 ปีที่แล้ว

      @@nalinaksheepanda1596 It is still not working