Home
Search results “Oracle sql identified by”
SQL tutorial 48: How to create Roles in Oracle Database
 
07:16
4th SQL Tutorial in the series of user privileges in oracle database user Roles in Oracle Database. In this tutorial you will learn ● What user roles ● How to create simple roles (Role with Not Identified clause) ● How to create secure roles (Role with Identified clause) ● How to create external role. ● How To create global role. ● How to Grant System Privilege to a user Role ● How to Grant Object Privilege to a user Role In oracle database. ● How to grant a Role to another Role ● How To grant a role to database users (with Admin option) ● How To enable role using SET ROLE statement This video will teach you the concept of user role in oracle database which is an extension to the user privileges. In this video I did 10 SQL queries on user Roles which makes this tutorial fun. Celebrating 1000 subscribers. Thanks a lot guys for all your love and support. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/create_role_in_oracle System Privilege: http://youtu.be/EQzdtKPiErU Object Privilege: http://youtu.be/DuDL7NTPdqQ ------------------------------------------------------------------------- Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=kb4rc1 -------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the first one to see my videos! -------------------------------------------------------------------------- Amazon Wishlist: http://bit.ly/wishlist-amazon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/imthebhardwaj http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ http://rebellionrider.tumblr.com/ http://www.pinterest.com/rebellionrider/ You can also Email me at [email protected] Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 23520 Manish Sharma
SQL tutorial 41: How to UNLOCK USER in oracle Database
 
04:13
SQL tutorial on How to unlock user or schema in oracle database or how to unlock hr account/user/schema in oracle database using alter user SQL command. you can use the steps to change the password of any user in oracle database explained in detail. Celebrating 1000 subscribers. Thanks a lot guys for all your love and support. ------------------------------------------------------------------------- Blog Link: http://bit.ly/unlock-user-in-oracle -------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the first one to see my ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/imthebhardwaj http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ http://rebellionrider.tumblr.com/ http://www.pinterest.com/ Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 38284 Manish Sharma
Oracle username and password and Account unlocking
 
08:37
all education purpose videos
Views: 273992 Chandra Shekhar Reddy
Oracle SQL Developer Connection
 
03:19
This video demonstrate how you can connect your oracle database to SQL Developer. Step by Step complete tutorial. Commands used in this video. sqlplus "/as sysdba" alter user hr account unlock; grant connect,resource to hr; alter user hr identified by "oracle";
Views: 182 Computer Geek
Identifying Host Names and IP Addresses in SQL and PL/SQL using Built-in Oracle Functionality
 
02:11
This video demonstrates how to do DNS lookups and idenitify server and client host names and IP addresses in SQL and PL/SQL from Oracle. For more information see: https://oracle-base.com/articles/misc/identifying-host-names-and-addresses For information on Network Access Control Lists (ACLs) see: https://oracle-base.com/articles/11g/fine-grained-access-to-network-services-11gr1 https://oracle-base.com/articles/12c/fine-grained-access-to-network-services-enhancements-12cr1 Website: https://oracle-base.com Blog: https://oracle-base.com/blog Twitter: https://twitter.com/oraclebase Cameo by Mike Donovan Blog: http://blog.dbvisit.com/author/miked/ Twitter: https://twitter.com/dbvisitmike Website: http://www.dbvisit.com/ Cameo appearances are for fun, not an endorsement of the content of this video.
Views: 7847 ORACLE-BASE.com
SQL command line Tutorial 1 ( Connect to Oracle SQL and Unlock)
 
02:02
you can get all query in these link : https://scarletsoummo.wordpress.com/ have to download Oracle SQL command line link: http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html Have to accept license and download it . After finishing installation go to command prompt and write down: c: cd.. cd.. sqlplus / as sysdba alter user hr identified by hr account unlock; Like command and subscribe :)
Views: 13767 Scarlet Soummo
How to Implement TDE for Oracle 12c2 Container and pluggable databases
 
19:36
Setup Wallet: Modify the sqlnet.ora file ENCRYPTION_WALLET_LOCATION= (SOURCE= (METHOD=FILE) (METHOD_DATA= (DIRECTORY=Directory location\))) --set password based keystore - container level ADMINISTER KEY MANAGEMENT CREATE KEYSTORE 'C:\app\AkPC\admin\tdewallet\orcl' IDENTIFIED BY password; --set auto login keystore - container level ADMINISTER KEY MANAGEMENT CREATE AUTO_LOGIN KEYSTORE FROM KEYSTORE 'C:\app\AkPC\admin\tdewallet\orcl' IDENTIFIED BY password; --open the keystore in root container ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN IDENTIFIED BY password; --set master key at root container level ADMINISTER KEY MANAGEMENT SET KEY IDENTIFIED BY password with backup; --open the keystore in pdb ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN IDENTIFIED BY password; --Set database master key in pdb ADMINISTER KEY MANAGEMENT SET KEY IDENTIFIED BY password with backup; CREATE TABLESPACE encrypted_ts DATAFILE 'C:\app\AkPC\oradata\orcl\orclpdb\encrypted_ts.dbf' SIZE 128K AUTOEXTEND ON NEXT 64K ENCRYPTION USING 'AES256' DEFAULT STORAGE(ENCRYPT); CREATE TABLESPACE unencrypted_ts DATAFILE 'C:\app\AkPC\oradata\orcl\orclpdb\unencrypted_ts.dbf' SIZE 128K AUTOEXTEND ON NEXT 64K; CREATE TABLE TEST_ENC (TEXT VARCHAR2(100)) TABLESPACE encrypted_ts; CREATE TABLE TEST_UNENC (TEXT VARCHAR2(100)) TABLESPACE unencrypted_ts; insert into TEST_ENC values ('This is a secret'); insert into TEST_UNENC values ('This is a secret');
Views: 506 SQL JUNKIESHARE
Create User and Connecting With SQLPLUS in Oracle SQL Developer Using Command Prompt
 
06:08
Facebook : https://www.facebook.com/ala.hassine.10 Email : [email protected] Page Facebook Système Embarqué : https://www.facebook.com/NewEmbeddedSystem ============================= ============================= The commands used in the video : sqlplus / as sysdba CREATE USER Name IDENTIFIED BY password; GRANT ALL PRIVILEGES TO Name; GRANT EXECUTE ANY PROCEDURE TO Name; GRANT UNLIMITED TABLESPACE TO Name; GRANT CREATE SESSION TO Name; CREATE ROLE role_Name; GRANT CREATE ANY TABLE, ALTER ANY TABLE, DROP ANY TABLE TO role_Name; GRANT SELECT ANY TABLE, INSERT ANY TABLE, UPDATE ANY TABLE, DELETE ANY TABLE TO role_Name; GRANT CREATE ANY TRIGGER, ALTER ANY TRIGGER, DROP ANY TRIGGER TO role_Name; GRANT CREATE ANY SEQUENCE, ALTER ANY SEQUENCE, DROP ANY SEQUENCE TO role_Name; GRANT SELECT ANY SEQUENCE TO role_Name; GRANT CREATE ANY INDEX, ALTER ANY INDEX, DROP ANY INDEX TO role_Name; GRANT CREATE ANY PROCEDURE TO role_Name; GRANT role_Name TO Name; exit sqlplus / as sysdba exit sqlplus Name/Password ============================= ============================= CREATE TABLE employee ( empno number PRIMARY KEY, empname varchar2(70) UNIQUE, address varchar2(70), salary number NOT NULL ) ============================= insert into employee values(1,'Ala','Nabeul',1500); insert into employee values(2,'Ahmed','Tunis',2000); insert into employee values(3,'Ritej','Sfax',1700); insert into employee values(4,'Majdi','Sousse',3000); insert into employee values(5,'Raed','Bizert',2500); insert into employee values(6,'Yasser','Mahdia',1900); ============================= select * from employee;
Views: 48 Système EmbarQué
6k:182 Databases -- connecting to Oracle SQL Developer
 
04:55
I typed: delphi.iowa.uiowa.edu and when changing the password I typed: alter user USERNAME identified by NEWPASSWORD
Views: 357 Michael Rechenthin
Oracle DBA Justin - How to setup a database user to be identified externally with os authentication
 
14:10
How to setup a database user to be identified externally with os authentication
Views: 5162 jbleistein11
Oracle 12c Installation Complete Process || SQL Developer Setup || How to create the first new user
 
16:09
Description of this video: == Oracle 12c Installation Complete Process == SQL Developer Setup == How to create the first new user ===================================================== Link for downloading Oracle 12c software: http://www.oracle.com/technetwork/database/windows/downloads/index.html ===================================================== Errors: INS-30011: The string password entered does not conform to the Oracle recommended standards. Cause: Oracle recommends that the password entered should be at least string characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. Action: Provide a password that conforms to the Oracle recommended standards. ===================================================== Username : system Password: Manager123 Create user command: CREATE USER *username* IDENTIFIED BY *password*; Example:CREATE USER swapnil IDENTIFIED BY swapnil; Command 2: alter session set "_ORACLE_SCRIPT"=true; ===================================================== Do reach out to me on GMAIL: [email protected] INSTAGRAM: swapnil_g_thaware FACEBOOK: https://www.facebook.com/swapnilthaware SKYPE: swapnilgthaware Tags: #oracle #installation #Developer #SQL #new user #Oracle 12c #SQL Developer Setup #12c #Process #swapnil #thaware #oracle #oracle12c #software #engineer #install #process #database #complete #simple #video #sql #sqlplus #sqldeveloper #achiever
Views: 52 Achiever
How To Create User In Oracle Database .Oracle SQL Tutorial
 
02:14
How to create new user accounts using SQL Developer in oracle database. In This tutorial you will learn how to create a new user account. How to setup a database connection with SyS user. How to grant privileges to the user This video shows you how to create a new user and to grant privileges to them. Syntax to create a new user: create user username identified by password. Oracle SQL tutorial demonstrating the creation of a user using the CREATE USER SQL command and the SQL Developer Action Menus...presented by www.oraclecoach.com
Views: 27 alamin sobuj
Roles y usuarios
 
07:34
Como crear Roles y usuarios en Oracle utilizando PL/SQL Developer Script -- Create the role create role SOPORTE_TABLA; -- Grant/Revoke system privileges grant create session to SOPORTE_TABLA; grant select any table to SOPORTE_TABLA; grant update any table to SOPORTE_TABLA; ******************************************************************************* -- Create the role create role SOPORTE_EXTERNO; -- Grant/Revoke system privileges grant alter any table to SOPORTE_EXTERNO; grant create any table to SOPORTE_EXTERNO; grant create session to SOPORTE_EXTERNO; grant create table to SOPORTE_EXTERNO; grant create tablespace to SOPORTE_EXTERNO; grant select any table to SOPORTE_EXTERNO; ******************************************************************************* -- Create the user create user MARCELO identified by "" default tablespace USERS temporary tablespace TEMP profile DEFAULT password expire; -- Grant/Revoke role privileges grant soporte_externo to MARCELO; -- Grant/Revoke system privileges grant unlimited tablespace to MARCELO; ******************************************************************************* -- Create the user create user ISACC identified by "" default tablespace USERS temporary tablespace TEMP profile DEFAULT password expire; -- Grant/Revoke role privileges grant soporte_tabla to ISACC;
Views: 7694 Syrokosmt
Oracle Big Data SQL: 2 - Query HIVE Data
 
03:47
This video shows you how to create an Oracle external table over HIVE format data and query the HIVE data via the external table using Oracle Big Data SQL ================================= To improve the video quality, click the gear icon and set the Quality to 1080p/720p HD. For more information, see http://www.oracle.com/goto/oll and http://docs.oracle.com Copyright © 2018 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
ORACLE - password expired
 
04:48
contraseña expirada (password expired) - Database Express Edition 11g Release 2 .................................................................. Comandos SQL .................................................................. select * from dba_profiles; ----------------------------------------------------------- select username ,profile from dba_users; ----------------------------------------------------------- alter profile default limit password_life_time unlimited; ----------------------------------------------------------- alter user usuario identified by 'password'; ----------------------------------------------------------- alter user usuario account unlock; -----------------------------------------------------------
Views: 265 VicLey
Create new user in Oracle PL SQL
 
05:12
Create new user in Oracle PL SQL Oracle tutorial : How to Create New User in Oracle CREATE USER user_name IDENTIFIED BY password DEFAULT TABLESPACE tablespace_name QUOTA 20M on tablespace_name; Grant Create session Command to new user: GRANT CREATE SESSION TO user; How to Drop New User: DROP USER username CASCADE; #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 319 Tech Query Pond
Oracle Express - SQL Developer (DataFile, TableSpace, User)
 
08:55
Codigo: --CREAR TABLESPACE CREATE TABLESPACE "TSTABLA" DATAFILE 'C:\oraclexe\app\oracle\oradata\XE\PRUEBITA.DBF' SIZE 200M; --TABLESPACE TEMPORAL CREATE TEMPORARY TABLESPACE "TSTABLA_TEMP" TEMPFILE 'C:\oraclexe\app\oracle\oradata\XE\PRUEBITA_TEMP.DBF' SIZE 200M; --DBA CREATE ROLE ADMINISTRADOR_BD; --Dar Permisos a rol GRANT CREATE SESSION TO ADMINISTRADOR_BD; GRANT CREATE ANY TABLE TO ADMINISTRADOR_BD; GRANT CREATE ROLE TO ADMINISTRADOR_BD; GRANT CREATE USER TO ADMINISTRADOR_BD; GRANT CREATE VIEW TO ADMINISTRADOR_BD; GRANT CREATE ANY INDEX TO ADMINISTRADOR_BD; GRANT CREATE TRIGGER TO ADMINISTRADOR_BD; GRANT CREATE PROCEDURE TO ADMINISTRADOR_BD; GRANT CREATE SEQUENCE TO ADMINISTRADOR_BD; --CREAR USUARIO CREATE USER USER_BD IDENTIFIED BY PASSWORD_BD DEFAULT TABLESPACE TSTABLA TEMPORARY TABLESPACE TSTABLA_TEMP; --DAR PERMISOS AL USUARIO ADMINISTRADOR_BD SOBRE TABLESPACES GRANT UNLIMITED TABLESPACE TO USER_BD; --VOLCAR ADMINISTRADOR_BD A COLECCIONES GRANT ADMINISTRADOR_BD TO USER_BD;
Views: 36 Jesus Hidalgo
FIX :ORA-01017: invalid username/password; logon denied
 
03:49
copy and paste - sqlplus "/as sysdba" COPY PASTE BELOW LINE ALTER USER user_name IDENTIFIED BY new_password; ** user_name - example SYSTEM new_password - ENTER NEW PASSWORD Blog - maheshkarandeprojects.wordpress.com MUSIC : You're free to use this song and monetize your video, but you must include the following in your video description: Essence by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/) Artist: http://audionautix.com/ Keywords: ora-01017 invalid username/password logon denied,ora-01017 invalid username/password logon denied 12c,ora-01017 invalid username/password logon denied oracle 12c,ora-01017 invalid username/password logon denied sap,ora-01017 invalid username/password logon denied ora-02063 preceding line from,ora-01017 invalid username/password logon denied rman,ora-01017 invalid username/password logon denied oracle 10g,ora-01017 invalid username/password logon denied standby database,ora-01017 invalid username/password logon denied (dbd error ocisessionbegin),ora-01017 invalid username/password logon denied dblink,ora-01017 invalid username/password logon denied brtools,ora-01017 invalid username/password logon denied brconnect,ora-01017 invalid username/password logon denied brbackup,ora-01017 invalid username/password logon denied bi publisher,ora-01017 invalid username/password logon denied burleson,ora-01017 invalid username/password logon denied sap backup,br0301e ora-01017 invalid username/password logon denied,log by0= ora-01017 invalid username/password logon denied,sap brtools ora-01017 invalid username/password logon denied,dg broker ora-01017 invalid username/password logon denied,ora-01017 invalid username/password logon denied c#,ora-01017 invalid username/password logon denied change password,ora-01017 invalid username/password logon denied connection string,ora-01017 invalid username/password logon denied cloud control,ora-01017 invalid username/password logon denied config tool,ora-01017 invalid username/password logon denied the connect descriptor was,ora-01017 invalid username/password logon denied oracle client,ora 01017 invalid username password logon denied error code 1017,ora-01017 invalid username/password logon denied system copy,ora-01017 invalid username/password logon denied at oci call ocisessionbegin,ora-01017 invalid username/password logon denied dgmgrl,ora-01017 invalid username/password logon denied db13,ora-01017 invalid username/password logon denied during switchover,data guard ora-01017 invalid username/password logon denied,ora-01017 invalid username/password logon denied discoverer,ora-01017 invalid username/password logon denied dbca,ora-01017 invalid username/password logon denied dbsnmp,ora-01017 invalid username/password logon denied switchover data guard,ora 01017 invalid username password logon denied enterprise manager,ora-01017 invalid username/password logon denied external user,ora-01017 invalid username/password logon denied emca,ora-01017 invalid username/password logon denied expdp,ora-01017 invalid username/password logon denied error,ora-01017 invalid username/password logon denied expired,ora 01017 invalid username password logon denied identified externally,ora-01017 invalid username/password logon denied in eclipse,ora-01017 invalid username/password logon denied for sys user,ora-01017 invalid username/password logon denied for sys,ora-01017 invalid username/password logon denied forms,ora-01017 invalid username/password logon denied for dblink,ora 01017 invalid username password logon denied oracle forms,failed ora-01017 invalid username/password logon denied,test failed ora-01017 invalid username/password logon denied jdeveloper,authentication failed ora-01017 invalid username/password logon denied,brconnect failed ora-01017 invalid username/password logon denied,failure test failed ora 01017 invalid username password logon denied,ora-01017 invalid username/password logon denied data guard,error ora-01017 invalid username/password logon denied dataguard,glassfish ora-01017 invalid username/password logon denied,oracle data guard ora-01017 invalid username/password logon denied,data guard switchover ora-01017 invalid username/password logon denied,ora-01017 invalid username/password logon denied hibernate,ora-01017 invalid username/password logon denied hr,how to resolve ora-01017 invalid username/password logon denied,how to solve ora-01017 invalid username/password logon denied,ora-28001 the password has expired ora-01017 invalid username/password logon denied,ora-01017 invalid username/password logon denied in 12c,ora-01017 invalid username/password logon denied in sql developer,ora-01017 invalid username/password logon denied in sap,ora-01017 invalid
Views: 14079 Mahesh Karande
How to create an user and to grant all privileges to them in Oracle database
 
03:52
This video shows you how to create a new user and to grant privileges to them. Syntax to create a new user: create user username identified by password
Views: 35459 Thamizh arasaN
Using Oracle to read data from SQL Server
 
10:47
Hi everyone, Andy from Easysoft Limited here, what I want to show you today is how to get data from SQL Server into Oracle. Now for this we will be accessing SQL Server 2014 from Oracle 12 and getting data across. This could be quite easily be any SQL Server version from 2008 and any Oracle version from 11.2, the configuration and process is the same. We can obviously get access to data on SQL Server prior to 2008 and Oracle prior to version 11.2 but it will need a different configuration to what I am going to show you today The plan is also to add more data to the SQL Server table and show this new data back in Oracle. To start off you'll need access to ensure that you have access to your SQL Server and Oracle databases. You'll also need the Easysoft SQL Server ODBC Driver available from www.easysoft.com; just download it, install it and request the free 14 day trial licence. Before we start we need to make some changes to the standard Easysoft config files. cat /etc/odbc.ini Here I have changed Mars Connection to Yes. It must be set to "Yes" if you are connecting to SQL Server 2005 or newer. Easysoft supports all SQL data types from the version of SQL Server from version 7. Oracle supports data types that are common to most ODBC Drivers, but not some of the SQL Server ones. If you intend to access VARCHAR(MAX) for example, then there are some additional settings that need to be set up. Now as I would like to show you VARCHAR(MAX) data moving from SQL Server to Oracle, I have made the relevant change. As you can see, VarMaxAsLong says "Yes" We now need to create a link from Oracles Database Gateway (DG4ODBC) to the ODBC datasource that we already have, this is done in an init(sid) oracle file; let's have a look at our file. cat $ORACLE_HOME/hs/admin/initsqlsrv.ora Please note that HS_NLS_NCHAR must be set to UCS2 Oracle assume that most database vendors use UTF-8 for wide characters, however Easysoft, like almost all ODBC Driver vendors (including Oracles own ODBC Driver) uses UCS2 for wide characters. So that's the link between DG4ODBC and the datasource setup correctly. Next we need to set up the Listener entry The Oracle Listener waits for incoming requests from the Oracle database. For the Oracle Listener to listen for requests, information about DG4ODBC must be added to the Oracle Listener configuration file, listener.ora cat $ORACLE_HOME/network/admin/listener.ora The PROGRAM=dg4odbc tells the Listener that we are wanting to use the Oracle database gateway to communicate with ODBC. The ENVS=LD_LIBRARY_PATH tells Oracle what library to load Now that's all set up and OK we need to tell Oracle which server to attach the listener entry to. This is done in tnsnames.ora, and he is the file that we ensured was set up earlier. cat $ORACLE_HOME/network/admin/tnsnames.ora The Oracle Listener now needs to be restarted. lsnrctl stop lsnrctl start OK, that's now started the Listener up again. So we have ensured that all the configuration files are set up correctly. The Listener and tnsnames.ora both set up OK. The final step is to create a link from the Oracle database to the "tnsnames.ora" entry. CREATE PUBLIC DATABASE LINK ODBC CONNECT TO "test" IDENTIFIED BY "test" USING 'sqlsrv_ptr'; Right, that's all done. Let's access the data in SQL Server now. select * from [email protected]; Where 'demo' is the name of the SQL Server table and 'odbc' is the public database link name. OK, there we have the data. So to recap, I'm in Oracle and we have managed to read the data from SQL Server. Let's just add an additional row in that SQL Server table and retrieve the new data in Oracle. quit; /usr/local/easysoft/unixODBC/bin/isql.sh -v sqlsrv insert into demo values (2,'Easysoft') select * from demo select * from [email protected]; And there is the new data. Easysoft Limited can help you with your data access ... for our full range of ODBC and JDBC Drivers, Bridges and Gateways visit easysoft.com Be sure to let us know if you have any comments or questions. Until next time, thanks again and we'll see you again soon.
Views: 16068 Easysoft Limited
Oracle 11G SQL Session 1 Introduction to Oracle SQL
 
28:02
Oracle 11G SQL Session 1 Introduction to Oracle SQL. To Learn or Teach Linux visit www.theskillpedia.com, A Marketplace for Learners and Trainers. Oracle 11G SQL: Session 1 Introduction Oracle Database 11g: Focus Areas Relational and Object Relational Database Management Systems Data Storage on Different Media Definition of a Relational Database Data Models Relating Multiple Tables Each row of data in a table is uniquely identified by a primary key. You can logically relate data from multiple tables using foreign keys. Relational Database Terminology Using SQL to Query Your Database SQL Statements SELECT INSERT UPDATE DELETE MERGE CREATE ALTER DROP RENAME TRUNCATE COMMENT GRANT REVOKE COMMIT ROLLBACK SAVEPOINT Development Environments for SQL There are two development environments for this course: The primary tool is Oracle SQL Developer. SQL*Plus command-line interface can also be used. Human Resources (HR) Schema Tables Used in the Course Thank You Visit www.theskillpedia.com to Learn or Teach a Skill
Views: 1368 TheSkillPedia
Часть 0. Oracle Database. Установка Oracle Linux 7 1 в Virtual Box и установка Oracle XE
 
01:10:53
Видео-мануал по установке Oracle Linux в VirtualBox и установка Oracle XE. Содержимое файлов настроек и скрипты: Содержимое файла .bash_profile. Открываем: nano /root/.bash_profile Вставляем: #Oracle install specific environment settings umask 022 TMP=/tmp; export TMP TMPDIR=$TMP; export TMPDIR ORACLE_HOSTNAME=localhost.localdomain; export ORACLE_HOSTNAME ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe; export ORACLE_HOME ORACLE_SID=orcl; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH; export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$CLASSPATH:$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH NLS_LANG=AMERICAN_AMERICA.CL8MSWIN1251; export NLS_LANG Ctrl+O сохранить, Ctrl+X выйти из nano. В mc - F4 редактировать файл, F2 - сохранить, F10 выйти Открываем порт 1521 и 8080 в Firewall на Oracle Linux 7.1: firewall-cmd --zone=public --add-port=1521/tcp --permanent ; firewall-cmd --zone=public --add-port=8080/tcp --permanent ; firewall-cmd --reload ; firewall-cmd --zone=public --list-ports Должно быть так: success success success 1521/tcp 8080/tcp Команды создания пользователя вставляем в SQL Navigator или SQL Developer: --DROP USER analytic CASCADE; --Это удаление пользователя и всех его данных. CREATE USER analytic IDENTIFIED BY 123456; --123456 - это пароль. GRANT CREATE SESSION TO analytic; --право подключаться. Ѕез него невозможно залогиниться в Oracle --под этим пользователем. GRANT CREATE TABLE TO analytic; --право создавать таблицы GRANT CREATE PROCEDURE TO analytic; --право создавать процедуры GRANT CREATE TRIGGER TO analytic; --право создавать триггеры GRANT CREATE VIEW TO analytic; --право создавать представления GRANT CREATE SEQUENCE TO analytic; --право создавать последовательности GRANT CREATE LIBRARY TO analytic; --право создавать внешние процедуры/библиотеки GRANT CREATE ANY DIRECTORY TO analytic; GRANT DROP ANY DIRECTORY TO analytic; --право создавать, удалять, читать и писать в директории GRANT CREATE PUBLIC SYNONYM TO analytic; GRANT EXECUTE ON SYS.UTL_HTTP TO analytic; GRANT EXECUTE ON SYS.UTL_FILE TO analytic; GRANT EXECUTE ON SYS.utl_smtp TO analytic; GRANT EXECUTE ON SYS.utl_xml TO analytic; --права на использование пакетов ALTER USER analytic QUOTA UNLIMITED ON USERS; ALTER USER analytic QUOTA UNLIMITED ON SYSTEM; --раздаем квоты на использование места - неограничено. COMMIT; --подтверждение сделанных в данной сессии операций Access Control List не могу опубликовать, с видео тащите. Гугл не позволяет писать скобки в описании видео. Но в принципе ACL и не нужен большинству из вас.
Oracle Database Users / User Management (Simple)
 
09:33
Create, Alter, Drop, Grant Rights, Default Tablespace, Temporary Tablespace, Quota Setup, View Users Information, Lock / Unlock user account select username,account_status,default_tablespace, temporary_tablespace,created from dba_users; create user myuser identified by myuser; alter user myuser quota unlimited on mytbs; alter user myuser quota 100m on mytbs; alter user temporary tablespace temp; alter user myuser default tablespace mytbs; alter user myuser accout unlock; alter user myuser account lock; alter user myuser password expire; alter user myuser identified by youuser; create user myuser identified by myuser default tablespace users temporary tablespace temp quota unlimited on users; grant create session, resource to myuser; grant create session, resource to myuser with grant option; drop user asif; drop user asif cascade;
Views: 41189 Abbasi Asif
SQL tutorial 43: How to create an EXTERNAL USER in oracle database By Manish Sharma RebellionRider
 
05:08
Learn another DBA trick. In this tutorial you will learn how to create an user actually an External user / schema. Being an Oracle DBA you must know how to create an external user/ schema Celebrating 1000 subscribers. Thanks a lot guys for all your love and support. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Website: http://bit.ly/how-to-create-external_user-oracle Previous Tutorial: How to unlock user using SQL Developer http://youtu.be/xRBfeTO1Pc8 Tutorial 38: http://youtu.be/GS4udgR44Ls Links of how to create user tutorial Create user using SQL Developer http://youtu.be/GS4udgR44Ls Create user using Create user command http://youtu.be/4QbK2Y-1LZw Create user using EM http://youtu.be/zGjh-Bb3HrI ------------------------------------------------------------------------- Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=kb4rc1 -------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the first one to see my videos! -------------------------------------------------------------------------- Amazon Wishlist: http://bit.ly/wishlist-amazon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/imthebhardwaj http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ http://rebellionrider.tumblr.com/ http://www.pinterest.com/rebellionrider/ You can also Email me at [email protected] -------------------------------------------------------------------------- ►Connect with me on my LinkedIn and please endorse my skills Thanks in Advance http://in.linkedin.com/in/mannbhardwaj/ -------------------------------------------------------------------------- Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 18960 Manish Sharma
SCOTT schema in Oracle
 
04:29
plz subscribe blog :http://javaweb4u.blogspot.in/ When you started installing oracle ,it asked for global database name and database passwordthat password is used for the sys system sysman account. SQL : conn user/password; SQL : conn scott/tiger; Error message is displayed: the account is locked. 1. Try to login as "system" - pass SQL : conn system/password; SQL : @%ORACLE_HOME%\RDBMS\ADMIN\SCOTT.sql 2. Unlock "scott" SQL : alter user scott account unlock; 3. Can change "tiger": SQL : alter user scott identified by tiger; 4. SQL : conn scott/tiger; -Success scott account is locked in 11g due to security thinking, Now you can type Connection Name :ORCL ,username:Scott,password:tiger to login
Views: 11357 Javaweb4u
Oracle 12c PL/SQL Security New Features - Session 5 of 8 - The New Inherit Privileges Privilege
 
06:47
Learn the Oracle Database 12c Inherit Privileges Privilege. Demonstration and Examples. There's a whole new privilege. The inherit privileges privilege. We indeed inherit any privileges privileged. That's just in privileged of course. Any privileges - system privileges, any privileges is an object privilege or new type objects. We can now assign privileges, grant privileges on users. It limits the owner's inheritance of privileges from the invoker. Oracle Corporation is presumably reasonably happy with the way definer's rights code works and definer's rights code as I demonstrated can be highly dangerous. That hasn't really changed in the current release except is will see with the ability to grant roles to code because in invoker's rights we've got huge differences and that's the inheriting of privileges privilege. If you don't have the inheritance enabled, any attempt to execute invoker's rights code will fail because the definer will not be in able to inherit the rights of the invoker. So I'm going to go straight in to do it and then go through the rest of the slides so we can see the sort of issue. Let me lose 11g and go to 12c. What I shall do is create my low privileged user or drop user dev. I don't think he exists. He doesn't. So I'll create my low privileged user. Grant create session, create procedure, select any table to dev identified by dev. It's the same mechanism I use. The same command I use in 11g. I'm creating a developer with a bare minimum that he needs to do his job, which is writing code that lets people query the database. Then log on as him, comm dev/dev and create my procedure. I'll create a version of the code, create or replace procedure list_emp, author ID current user. Invoker's rights code. Remember, this gives my low privilege user dev the ability to insert something horrible in his code which shall then be executed with the invoker's rights. We create the procedure. Now connect / as sysdba - I'll be the highest possible person there is - set server output on and run the code. Execute dev.list_emp looking for the CLARKS. I can't do it. Even as user sys, I can't run that because of the lack of this new privilege. I can correct the situation. I can grant inherit privileges on user sys - which of course one would never normally do - to dev. So I'm now giving my low privilege user the ability to inherit the privileges of user sys when we are running invoker's rights code. And having done that, the code now succeeds. That's the general principle. Without this inherit any privileges code all that doesn't have any privileges privilege, all your invoker's rights code is now blocked. It simply won't run until you grant that privilege to your trusted user. So without inheritance the invoker's rights code will fail. This privilege is in fact granted by default in 12.1 when a user is created. I believe this is purely for backward compatibility. So you don't have to worry about all your codes ceasing to function the moment you have to upgrade but there's no guarantee that this situation will remain as we go through 12.2, 12.3. Also in upgrade I haven't had the time to test comprehensively every possible method of upgrade but certainly this simple test I've done so far, the privilege does appear to be being granted and we can see it. If we look at who's been granted this privilege so far Select grantee, table_name, privilege from dba_tab_privs where privilege like inherit and we see that straight out of the box inherit privileges on a number of users have been granted to public. They have been granted to public. So if I create a brand new user, I grant connect to jw identified by jw, we will see that in the current release - there he is - inherit has beeen granted to public. In the current release by default, your code will continue to function and Oracle often does this with their [05:46 inaudible] with powerful new features. By default, it's configured so there's no change and in the next release it all changes. That's happened to a quite a few releases, quite a few new features, and it wouldn't surprise me if by the time we get to say 12.2 and certainly by the time we get to 13 this behavior changes. So plan for it and look at that privilege and see who it's been granted to and secure your systems. What you need to do is revoke all the inherit privileges grants that's there by default and then grant inherit any privileges very, very sparingly only to a very few trusted users and that should tighten up the danger of definer's inheriting invoker's rights. So a few trusted schemas, create the code in those schemas only and control this very tightly indeed.
Views: 1572 SkillBuilders
TUTORIAL MEMBUAT PHYSICAL DATABASE DARI ORACLE SQL DEVELOPER
 
38:24
Tutorial kasar : -sqlplus oa/oa -connect as sysdba; -create user paijo identified by paijo; -grant all privilege to paijo; -connect paijo/paijo -show user //lalu buat file di oracle home dengan nama paijo.sql dengan isi: ========================================= DROP TABLE "DOKTERS"; DROP TABLE "PASIENS"; DROP TABLE "DIAGNOSAS"; CREATE TABLE DOKTERS ("ID_DTR" VARCHAR (7), "NAMA" VARCHAR (25) NOT NULL, "ALAMAT" VARCHAR (30) NOT NULL, CONSTRAINT "ID_DTR_PK" PRIMARY KEY ("ID_DTR") USING INDEX ENABLE); CREATE TABLE PASIENS ("ID_PSN" VARCHAR (9), "NAMA" VARCHAR (25) NOT NULL, "ALAMAT" VARCHAR (30), CONSTRAINT "ID_PSN_PK" PRIMARY KEY ("ID_PSN") USING INDEX ENABLE); CREATE TABLE DIAGNOSAS ("TANGGAL" DATE, "HASIL" VARCHAR (30) NOT NULL, "ID_DTR" VARCHAR (7), "ID_PSN" VARCHAR (9), CONSTRAINT "TGL_PK" PRIMARY KEY ("TANGGAL", "ID_DTR", "ID_PSN") USING INDEX ENABLE); ====================================== [email protected] -desc dokters; -desc pasiens; -desc diagnosas; //lalu buat file di oracle home dengan nama alter_paijo.sql dengan isi: ===================================== ALTER TABLE DIAGNOSAS ADD CONSTRAINT "DIA_ID_DTR" FOREIGN KEY ("ID_DTR") REFERENCES DOKTERS ("ID_DTR"); ALTER TABLE DIAGNOSAS ADD CONSTRAINT "DIA_ID_PSN" FOREIGN KEY ("ID_PSN") REFERENCES PASIENS ("ID_PSN"); =================================== [email protected]_paijo.sql //lalu buat file di oracle home dengan nama isi_paijo.sql dengan isi: =================================== INSERT INTO DOKTERS VALUES('D100799','PAIJO','JALAN IN AJA'); INSERT INTO DOKTERS VALUES('D120498','PAINO','JALAN JALAN'); INSERT INTO DOKTERS VALUES('D071297','PAIWO','JALAN YANG BENAR'); INSERT INTO PASIENS VALUES('PSN130193','JARWO','JALAN LURUS'); INSERT INTO PASIENS VALUES('PSN040494','JARVIS','JALAN GRAK'); INSERT INTO PASIENS VALUES('PSN121212','JARAN','JALAN BERBELOK'); INSERT INTO DIAGNOSAS VALUES(TO_DATE('18-12-18','DD-MM-YY'),'PARU KERING','D100799','PSN130193'); INSERT INTO DIAGNOSAS VALUES(TO_DATE('19-12-18','DD-MM -YY'),'KAGETAN','D120498','PSN040494'); INSERT INTO DIAGNOSAS VALUES(TO_DATE('20-12-18','DD-MM-YY'),'GATEL','D071297','PSN121212'); ================================ [email protected]_paijo.sql -select * from dokters; -select * from pasiens; -select * from diagnosas; //lalu buat file di oracle home dengan nama select_paijo.sql dengan isi: ============================== SELECT DOKTERS.ID_DTR, DOKTERS.NAMA, PASIENS.ID_PSN, PASIENS.NAMA, DIAGNOSAS.TANGGAL, DIAGNOSAS.HASIL FROM DOKTERS, PASIENS, DIAGNOSAS WHERE DOKTERS.ID_DTR = DIAGNOSAS.ID_DTR AND PASIENS.ID_PSN= DIAGNOSAS.ID_PSN =========================== [email protected]_paijo.sql
setting grant permissions in oracle 9i sql plus
 
00:15
GRANT CONNECT TO system IDENTIFIED BY ITHUNK ;
Views: 1376 Jonathan Soh
Descarga-Instalación ORACLE Express 11g, SQLdeveloper  ||  CREAR TABLESPACE -DATAFILE- USER -PASS.
 
09:03
ORACLE :http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html SQL Developer: http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html CODIGO EN SQL DEVELOPER --CREAR TABLESPACE CREATE TABLESPACE "TSTABLA" DATAFILE 'C:\oraclexe\app\oracle\oradata\XE\PRUEBITA.DBF' SIZE 200M; --TABLESPACE TEMPORAL CREATE TEMPORARY TABLESPACE "TSTABLA_TEMP" TEMPFILE 'C:\oraclexe\app\oracle\oradata\XE\PRUEBITA_TEMP.DBF' SIZE 200M; --DBA CREATE ROLE ADMINISTRADOR_BD; --Dar Permisos a rol GRANT CREATE SESSION TO ADMINISTRADOR_BD; GRANT CREATE ANY TABLE TO ADMINISTRADOR_BD; GRANT CREATE ROLE TO ADMINISTRADOR_BD; GRANT CREATE USER TO ADMINISTRADOR_BD; GRANT CREATE VIEW TO ADMINISTRADOR_BD; GRANT CREATE ANY INDEX TO ADMINISTRADOR_BD; GRANT CREATE TRIGGER TO ADMINISTRADOR_BD; GRANT CREATE PROCEDURE TO ADMINISTRADOR_BD; GRANT CREATE SEQUENCE TO ADMINISTRADOR_BD; --CREAR USUARIO CREATE USER USER_BD IDENTIFIED BY PASSWORD_BD DEFAULT TABLESPACE TSTABLA TEMPORARY TABLESPACE TSTABLA_TEMP; --DAR PERMISOS AL USUARIO ADMINISTRADOR_BD SOBRE TABLESPACES GRANT UNLIMITED TABLESPACE TO USER_BD; --VOLCAR ADMINISTRADOR_BD A COLECCIONES GRANT ADMINISTRADOR_BD TO USER_BD; ASTUDILLO SÁNCHEZ DANTEE MAURICIO 4-2
Views: 314 Dantee Astudillo
How to unlock HR sample user in Oracle Database 18c by Manish Sharma
 
14:03
RebellionRider.com presents how to unlock sample schema/user in Oracle Database 18c by Manish Sharma. Timestamps ( 01:12 ) Step 1: Find out the container ID ( 02:10 ) How do we get to know whether we are connected to a CDB or PDB ( 04:41 ) Step 2: Find out the service name ( 05:49 ) Step 3: Create an entry in TNSNAMES.ORA ( 09:13 ) Step 4: Switch from Container DB to Pluggable DB ( 11:04 ) Step 5: Unlock the HR user ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/unlock-schema-in-18c Previous Tutorial ► How to Install Oracle 18c on Windows https://youtu.be/kptbJ22kfqA ►TNSNAMES.Ora file at GIT https://github.com/RebellionRider/Oracl18c/blob/master/tnsnames.ora ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ------------------------------------------------------------------------- ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ ___Facebook Official Page of Manish Sharma___ https://www.facebook.com/TheRebellionRider/ ___Facebook Official Page of RebellionRider.com___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check the About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 2564 Manish Sharma
SQL tutorial 38: How to create user using SQL Developer in Oracle database
 
06:52
How to create new user accounts using SQL Developer in oracle database. In This tutorial you will learn how to create a new user account. How to setup a database connection with SyS user. How to grant privileges to the user ----_Links_--- Blog :http://bit.ly/create_user_account Video Tut 4: http://youtu.be/wSqoXRlXDUU How to create database: http://youtu.be/enFFezPYhCg Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=kb4rc1 Amazon Wishlist: http://bit.ly/wishlist-amazon Contacts E-Mail [email protected] Twitter https://twitter.com/rebellionrider Instagram http://instagram.com/rebellionrider Facebook. https://www.facebook.com/imthebhardwaj Linkedin. http://in.linkedin.com/in/mannbhardwaj/ Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com
Views: 63746 Manish Sharma
How to Unlock Oracle Sample HR Schema Account
 
06:28
alter user hr identified by hr account lock; sqlplus hr/hr desc employees; desc departments; desc locations; Select *from employees Where department_id=80;
Views: 312 Pronab
Install Oracle on Local system and Unlock HR Schema
 
09:56
Today, lets see how to install Oracle 11g XE and unlock the HR schema tables and practice our lab exercises on the local system. Download : http://www.oracle.com/technetwork/products/express-edition/downloads/index.html Query : ALTER USER HR IDENTIFIED BY HR ACCOUNT UNLOCK;
Views: 40733 Karthik Avinash
Oracle 12c PL/SQL Security New Features - Session 6 of 8 - Granting Roles to Procedures
 
06:37
See www.skillbuilders.com/12c-plsql-security for all free modules in this tutorial. It is now in Oracle Database 12c possible to grant roles to the stored program units. Remember this didn't apply to anonymous PL/SQL. Anonymous PL/SQL as always executed with the enabled roles of the invoker. But we can now grant role to a stored procedure. There are a couple of conditions. The role granted must be directly granted to the owner. I'm not sure if this is documented or not or it could've been issues I had during my own testing but certainly the last time I tested this thoroughly I found that if I granted roles to roles to roles to roles as I go down to three, it no longer functions. So that could've been just me or it may be documented. But certainly to be sure, the role granted must be granted directly to the person who's writing the code. Also and it is documented, the owner still needs direct privileges on the object that the code references. That make perfect sense because the role might be disabled at the time that he happens to be creating the object. So you need the role, you need direct privileges on the object referenced by the code. [pause] The invoker however needs absolutely nothing. The invoker now needs nothing, no roles, no privileges. All he needs is execute on the procedure. The invoker will then take on that role during the course of the call. This will tighten up the definer's rights problem and that our user doesn't have much at all. He needs the bare minimum and then only that role will be available, only the role is available to the invoker during the call. Not everything else that the owner happens to have. You can combine this as well with invoker's rights and either way we are controlling privilege inheritance. Invoker's rights plus roles restrict the ability of definer's to inherit privileges from invokers and invokers inherits privileges from definers, both of which raise that ghastly possibility of privilege escalation associated typically to SQL injection. [pause] Grant create session, create procedure to dev, and that will give him select on scott.emp to dev. I've given dev the minimum he needs to write code that hits that table. Then create a role. [pause] Create role r1 and that'll grant select on scott.emp to r1. Finally, grant r1 to dev. It has met the requirements. The role is granted to the owner, the owner does have direct privileges. [pause] So connect as dev/dev and create my favorite procedure. [pause] The same procedure has executed definer's rights and query scott.emp. But now what we can do this new is I can grant r1 to procedure list_emp. [pause] I'll create a very low privileged user now. I need to connect as sysdba and create user low identified by low, and all I shall give him is create session. [pause] And execute on that procedure. [pause] Grant execute on dev.list_emp to low. That's all he's got. He can log on and he can run, run one procedure. What actually is going to happen to him? Let me try to log on. Connect sys low/low set server output on and see if he can run that thing. Just to check, if he tries to select star from scott.emp he is the lowest of the low is my user low. But then execute dev.list_emp, trying to retrieve the CLARKs and it works. And because my user low has virtually no privileges at all, there's no possible danger of the malicious developer being able to inherit dangerous privileges from him. [pause] The final step, that functioned because of the privilege that I mentioned earlier - the privilege that we saw on the previous slide which was inheriting privileges. If I revoke that - and this is what you should be doing in all your systems after upgrade - revoke inherit privileges on user low from public, connect there, and it fails. So the final bit of tightening up the security is to grant the privilege specifically we grant inherit privileges on user low to dev. Now we have a totally secure system and that my low privilege user dev can do that. [pause] And nothing more. My low privileged developer dev can't grab anything in his too as well. That tightens things up totally.
Views: 2832 SkillBuilders
How to unlock account and change password in SQL
 
16:01
alter user scott identified by tiger account unlock;
Views: 8462 Computer-Science
Create new connection with new user in Oracle SQL Developer
 
10:28
This video shows you how to create a new connection using a new user account (other than the system user account) in Oracle SQL Developer, so that you have a clean workspace without all the clutter of system tables. It is NOT a general introduction to using Oracle SQL Developer.
Views: 342974 Chitu Okoli
how to create a SQL command user account
 
06:22
here are the steps to create an oracle SQL account 1. SQL=create user loginName 2. SQL=identified by password; for example: SQL=create user luis SQL=identified by paulino; Grant the access right: 3. SQL=grant connect to loginName; for example: grant connect to luis; 4. SQL=grant resource to loginName; 5. SQL=grant dba to loginName; login as a new user: 6. SQL=connect loginName 7. SQL=password: password 8: SQL
Views: 420 Luis Paulino
How to solve insufficient privileges in oracle and create a new user
 
03:09
This video is about how to solve the error insufficient privileges in oracle and how to create a new user in oracle......... You can use this method for sql developer. After opening sql developer go to command prompt and follow this instruction .... I hope this will help you for solving the insufficient privileges in oracle 10g...... -------------------------------------------------------------------------------- If face any problem then .. Contact/Follow on........ Email : [email protected] Google+ : https://plus.google.com/102074100342156490577 Twitter : https://twitter.com/Alamgir21409730 Facebook : https://www.facebook.com/computersoftwaresolution/ Subscribe this youtube channel : https://www.youtube.com/channel/UCkE_J-tXiqxzASO6nlB8D6w
Views: 6697 Education Help
How to Create Database Link in Oracle. /* Step By Step /*
 
17:21
Today I am showing you. How to create Database link (DB Link) in Oracle. What is Database Link ( DB Link ) ? A database link is a schema object in one database that enables you to access objects on another database. I have 2 databases 1. paragdb 2. orcl In Paragdb database 1. Create listener 2. Service Name 3. In Orcl Database 1. Create Listener 2. Service Name 3. Create new User 4.Grant connect,resource,create database link to username; 5. open user 6. create database link 1. create database link link1 connect to scott identified by tiger using 'connect_primary''; 7.select * from [email protected]; 8. select * from [email protected]; 9. views 1. select * from user_db_links; 2. select * from all_db_links; 10. conn sys as sysdba 11. grant public database link to username; 12. select * from dba_db_links; 13. conn username/pass 14. create public database link plink connect to scott identified by tiger using 'connect_primary'; 15. drop database link. drop database link link1; To follow this steps you will also create oracle database link. It is very easy to understand.
Views: 7994 Parag Mahalle
#7- Error ORA 28000 The account is lock
 
04:02
ORA-28000: the account is locked. Solution : Wait for PASSWORD_LOCK_TIME or contact DBA alter user scott identified by tiger account unlock;
Views: 618 Houssine Formation
how to create user in Oracle SQL
 
02:26
Create user (user_name) identified by (pass word); Example: create user codeteaching identified by code
Views: 15 CODE TEACHING
Unlocking Users in Oracle Database
 
05:17
STEPS 1. open command prompt 2. login with user: sys 3. use the sql command to unlock the HR,SH user ALTER USER username ACCOUNT UNLOCK IDENTIFIED BY password; 4. now try to login with user hr & sh in sql developer or sql cmd prompt Note: i have changed password for user hr from abc123 to hr. Blog:- ramprasath91.blogspot.com
Views: 362 TechWizard
how to configure and connect oracle 12c database for the first time
 
06:31
how to configure and connect oracle 12c database for the first time, add pluggable database services in tnsname.ora file, connect sys as sysdba, alter session set container = pdborcl, startup open; alter user name_of_user identified by password account unlock;
Views: 4279 Data Science Center
Oracle userName and password reset
 
01:41
Reset your Oracle user password .
Views: 55681 brijesh kumar
How to install Oracle 11g Express Edition
 
05:29
**This is for my UOP Class** 1. Download Oracle 2. Extract Oracle 3. Run Oracle Exe 4. Open SQL Command Line -run command "connect system" -Enter password that you created on the installation 5. Once connected create yourself a user "create user username identified by password;" 6. Grant yourself all privileges "grant all privileges to username identified by password;" 7. ALL DONE Now the get started issue use the URL: http://127.0.0.1:8080/apex/f?p=4950:1:1615033681376854 --- Don't forget to Like, Share, Subscribe and Comment!! TWITTER - https://twitter.com/GDevTech FACEBOOK - https://www.facebook.com/GDevTech INSTAGRAM - http://instagram.com/GDevTech SITE - http://gdevtech.reviews/
Views: 3378 Jesus Guzman
Oracle 12c PL/SQL Security Features - Lesson 4 of 8 - Roles and PLSQL
 
06:21
Learn how Roles really work with Oracle PL/SQL and why a privilege granted via a role can't be used in PL/SQL. Demonstrations, examples. See all lessons and many more free Oracle Database tutorials at https://www.skillbuilders.com/free-oracle-database-tutorials John Watson: We have the business of roles - roles and PL/SQL. The point here is that roles are invisible to PL/SQL. When you compile your code, only direct privileges are available. When you run your code, only direct privileges are available. This is for definer's rights, I should say. When you run the code, only direct privileges are available to grant to the definer. In effect, the definer's rights code, all roles are disabled within the stored procedure. And certainly roles are disabled when compiling the code. Functionally, it's equivalent to having issued the command SET ROLE NONE. Why is this? Why is it you can't use your privileges? It's perfectly straightforward. It's a technology limitation. Quickly to see what's going on. If I go in and say - let me connect or create a clear schema. I'll create myself, grant dba to jw identified by jw. I've created a user and given him ridiculously high privileges. Connect.... What can you do? You can do pretty much anything. If he wants to delete from scott.emp, he can do it. Let's roll back, because along with his dba role, he has the ability to pretty much anything to use the data. Now we'll create a procedure. If I create a procedure, create delemp as begin, and in there I delete from scott.emp, end, compilation errors. What are they? Show error. At line 2 table of view doesn't exist. That's line 2 delete from scott.emp. I remember way back in version 7, this cause so much confusion before we realized what was going on. It's quite simple that when we are within the code, as the definer or the invoker, because this is definer's rights code, when we are within the definer's rights code block or indeed when we are compiling a definer's rights code block, the roles are disabled and that's why we cannot see it. But why is this and why do I say it's a technology limitation? It's because roles can be enabled and disabled. They can be enabled or disabled. That makes it logically impossible to consider a role when executing a stored procedure because I might have the role enabled while I compile it, but how do I know that it's going to be enabled when I run it? If I grant execute on the code to a third party, he doesn't have the role at all and that he must not even be logged on. So it becomes a logical impossibility because of the way roles are used because roles are enabled or disabled. You can dynamically switch them on and off. It's a logical impossibility to use role within definer's rights program module. Invoker's rights code, however, is very different. That infuses some interesting issues. Invoker's rights code can use any roles that happen to be enabled for the user at the time that he invokes it in exactly the same way that an anonymous PL/SQL can use any enabled roles. In the security point of view, the definer can in effect grab any roles within his code that the invoker happens to have. Dave: [Question], John, pardon. How do you enable or disable a role? John: Right now there's several techniques. I won't spend too much time demonstrating. The easiest technique will be alter - I can set role none. And that will have disabled all my roles. Now if you look at this, I've got nothing. If I try to run my code and query - let's see. Yes. If I try to delete from scott.emp I can't see it. So I'll set role dba and now of course I can. That's the easiest way. In fact, there are much more [05:07 inaudible] ways to switch roles on and off. We can do it with operating system authentication and I can do it with proxy authentication. We have a persistent session through application server as well as a user when we pass that session out to many of the users that can switch roles on and off. That's the persistent session switch identities. Perhaps, best of all, I can create what I call secure application roles well it protect the role with a package and that can contest any number of issues - environment variables, maybe the time, maybe your IP address, perhaps the program you're using and switch roles on and off accordingly. So there are many ways for controlling roles and you should do it. Blindly granting roles and letting them be enabled all the time is not good security. The end result for this, however, you can get some pretty unexpected results within your code. I've tried to run through in our first half hour some of the issues that we see with PL/SQL in release 11g and earlier. After a short break, we'll move on to the 12c features.
Views: 281 SkillBuilders
PL/SQL tutorial 50: Introduction to PL/SQL Collections in Oracle Database By Manish Sharma
 
03:29
Introduction to PL/SQL Collections in Oracle Database BY Manish Sharma. an array in Oracle Database is called Collection learn more. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/intro-to-collections Previous Tutorial ► ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ------------------------------------------------------------------------- ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ ___Facebook Official Page of Manish Sharma___ https://www.facebook.com/TheRebellionRider/ ___Facebook Official Page of RebellionRider.com___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check the About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 23494 Manish Sharma
02 - ORA-01017 Invalid Username Password
 
03:11
oracle error ORA-01017 : invalid username/password; logon denied A - Cause : public username is invalid B- steps : 1-login to sql as follows 2-connect system as sysdba 3-when password asked enter system {password will not shown while typing} 4-you are connected successfully 5- check correct pubuser running on oracle by the follwoing select username from dba_users; 6-usually you should find it as pubuser or PUBPRM$PM 7- change the public passwrod as follwos: alter user PUBUSER identified by pubuser ; where PUBUSER=public user username and pubuser=public user password
Views: 42464 adel mohd
How to change SYS/SYSTEM password in 12C-Oracle 12C Administration
 
05:13
How to change SYS/SYSTEM password in 12C-Oracle 12C Administration =================================================== [email protected]= alter session set container=CDB$ROOT; Session altered. [email protected]=show con_id CON_ID ------------------------------ 1 [email protected]= alter user SYSTEM identified by oracle container=all; User altered. [email protected]= alter session set container=pdb1; Session altered. [email protected]= show con_id CON_ID ------------------------------ 3 ============================================= Hi Folks, Greetings!! I am professional part time oracle dba trainer and having good experience in oracle database administration. This is the right place to enroll yourself for Oracle DBA real time course. Please use following email ID for more details. Don’t hesitate to WhatsApp me any time. I will give you the best training and will create path to get DBA job easily. Enjoy the free YouTube video and connect with me for deep Oracle DBA knowledge. Mobile No : + 91 9960262955 (WhatsApp Number) EmailID: [email protected]
Views: 3773 ANKUSH THAVALI
Installing CentOS7/OracleXE18C/APEX/NODE4RDS (Beginners)
 
21:53
Oracle APEX is a great user friendly platform for development of robust web apps. Having a local setup is a good way to develop APEX apps and have them ready to just be imported to a production environment The video is meant for people new to installing these technologies. It should not be applied to production environments as I've taken steps to simplify things that have a negative effect on security, such as turning off the firewall and disabling selinux. I used VMware as it was available to me, however, same concepts should apply to using Oracle virtual box. It's just slightly trickier to get the networking sorted on vbox. Timestamps: 0:00 Creating the VM 1:34 Installing CentOS and Prep 7:35 Install Oracle 18c XE 11:30 Install APEX 15:30 Install ORDs 18:50 Install node4ords Links: ============================================== Vmware: https://www.vmware.com/ca/products/workstation-player/workstation-player-evaluation.html CentOS: https://www.centos.org/download/ Putty: https://www.putty.org/ WinSCP: https://winscp.net/eng/download.php JAVA JDK: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Tomcat: https://tomcat.apache.org/download-90.cgi sqlcl: https://www.oracle.com/database/technologies/appdev/sqlcl.html XE: Preinstall: curl -o oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm https://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html APEX: https://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html Commands: ============================================== ------------------------------------------------------------ yum update yum install nano systemctl disable firewalld nano /etc/selinux/config yum install git ------------------------------------------------------------ copy all to /tmp ------------------------------------------------------------ yum localinstall oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm yum localinstall oracle-database-xe-18c-1.0-1.x86_64.rpm nano /etc/init.d/oracle-xe-18c -remove -emConfiguration flags for enterprise manager /etc/init.d/oracle-xe-18c configure systemctl enable oracle-xe-18c systemctl start oracle-xe-18c ------------------------------------------------------------ cd /opt tar xzf /tmp/jdk-8u191-linux-x64.tar.gz tar xzf /tmp/apache-tomcat-9.0.12.tar.gz unzip /tmp/sqlcl-18.3.0.259.2029.zip unzip /tmp/apex_18.2_en.zip mkdir /opt/ords cd /opt/ords unzip /tmp/ords-18.3.0.270.1456.zip mkdir /opt/ords/conf export JAVA_HOME=/opt/jdk1.8.0_191 cd /opt/apex /opt/sqlcl/bin/sql sys/[email protected]:1521/XEPDB1 as sysdba CREATE TABLESPACE apex DATAFILE '/opt/oracle/oradata/XE/XEPDB1/apex01.dbf' SIZE 100M AUTOEXTEND ON NEXT 1M; @apexins.sql APEX APEX TEMP /i/ @apxchpwd.sql @apex_rest_config.sql ALTER USER APEX_PUBLIC_USER IDENTIFIED BY "Abcd1234!" ACCOUNT UNLOCK; ALTER USER ORDS_PUBLIC_USER IDENTIFIED BY "Abcd1234!" ACCOUNT UNLOCK; mkdir /ords mkdir /ords/apex_images mkdir -p /var/www useradd tomcat nano /home/tomcat/.bash_profile export JAVA_HOME=/opt/jdk1.8.0_191 export CATALINA_HOME=/opt/apache-tomcat-9.0.12 export CATALINA_BASE=$CATALINA_HOME export ORACLE_SID=XE export ORACLE_BASE=/opt/oracle export ORACLE_HOME=/opt/oracle/product/18c/dbhomeXE export PATH=$PATH:$ORACLE_HOME/bin chown -R tomcat /opt/apache-tomcat-9.0.12/ chown -R tomcat /opt/jdk1.8.0_191/ chown -R tomcat /opt/ords/ chown -R tomcat /ords su - tomcat cd /opt/ords $JAVA_HOME/bin/java -jar ords.war /opt/ords/conf mkdir $CATALINA_HOME/webapps/i/ cp -R /opt/apex/images/* $CATALINA_HOME/webapps/i/ cp -R /opt/apex/images/* /ords/apex_images cp /opt/ords/ords.war $CATALINA_HOME/webapps/ nano /etc/systemd/system/tomcat.service [Unit] Description=Apache Tomcat 8 Servlet Container After=syslog.target network.target [Service] User=tomcat Group=tomcat Type=forking Environment=CATALINA_PID=/opt/apache-tomcat-9.0.12/tomcat.pid Environment=CATALINA_HOME=/opt/apache-tomcat-9.0.12 Environment=CATALINA_BASE=/opt/apache-tomcat-9.0.12 Environment=JAVA_HOME=/opt/jdk1.8.0_191 ExecStart=/opt/apache-tomcat-9.0.12/bin/startup.sh ExecStop=/opt/apache-tomcat-9.0.12/bin/shutdown.sh Restart=on-failure SuccessExitStatus=143 [Install] WantedBy=multi-user.target systemctl daemon-reload systemctl start tomcat systemctl enable tomcat yum install epel-release yum install nodejs cd /opt git clone https://github.com/OraOpenSource/node4ords.git cd /opt/node4ords npm i -g pm2 npm install --unsafe-perm pm2 start app.js --name="node4ords" --watch pm2 stop app.js --name="node4ords" pm2 save
Views: 185 Hisham Shoblaq