Home
Search results “Oracle privileges on table” for the 2013
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: 34543 Thamizh arasaN
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: 40916 Abbasi Asif
What is an Oracle Schema - Database Tutorial 58 - Oracle DBA Tutorial
 
10:48
What is an Oracle Schema - Database Tutorial 58 - Oracle DBA Tutorial An Oracle Schema is a generic user which is used to store the data. It starts as an user. But once the objects are created beneath this user, then this user becomes a schema. Other Oracle users will be given access to these schema objects so that they can work with these objects.
Views: 27313 Sam Dhanasekaran
Oracle Database 12c: Using SYSBACKUP Privilege and Predefined User
 
05:00
This video shows you how to use the SYSBACKUP privilege (new to Oracle Database 12c) for DBA role separation. Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. 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 of merchantability, fitness for a particular purpose, and non-infringement.
Introduction to Oracle: Application Express Table Creation
 
07:41
Introduction to Oracle: Application Express Table Creation. See www.mathheals.com for more videos
Views: 5917 David Hays
Database Tutorial 62 - SQL CTAS method - Oracle DBA Tutorial
 
05:16
Database Tutorial 62 - SQL CTAS method - Oracle DBA tutorial, Oracle Database Tutorial This video explains about CTAS (Create Table As Select) method.
Views: 1611 Sam Dhanasekaran
MySQL - CREATE USER with GRANT Privileges in Terminal
 
11:22
In this tutorial I explain how to insert a user into the mysql database, with all privileges required to become a "super user". I also show you how you can remove the user from the database with the DROP command.
Views: 56897 Davids Videos
Oracle Database 12c Security - Oracle Virtual Private Database (VPD)
 
12:29
Learn how to use Oracle Virtual Private Database (VPD) to secure your data. See all lessons at http://skillbuilders.com/12c-TSDP-Tutorial First, Virtual Private Database. What is it? Answer: It's a declarative technique for enforcing security. Typically, it's based on user application context. That was the first limitation of 8i. Backed with 8i context were session-specific. The context variables were sort in the PGA. That means you simply couldn't use this in a web environment. However, global context, with use of 9i, Virtual Private Database became usable for web applications with connection pooling. But whether you're using it to client server or on a three tier environment, it's declarative technique rather than a programmatic technique. I can go behind the back of the application as a DBA and generate predicates to get appended to all SQLs. Select, insert, update, delete the end users. Issue the SQL and I will generate a predicate that filters the access. It's impossible to bypass. All users will have predicates appended to all their code. It doesn't matter whether they're using SQL Plus, Discoverer, Business Objects, Crystal Reports, eBusiness Suites, whatever they're using, I as DBA can filter their access to roles. The end result, different users see different data sets while running the same code and accessing the same tables, hence, the name Virtual Private Database. Different users will think they're seeing a totally different set of tables, but in fact it's one column database, one set of tables hosting a single application shared by all the users. The mechanism - you can apply VPD to tables, to views, to synonyms, and a declarative technique. Once the technique you write a function that generates the predicate, you associate the function with the table. From then on whenever the user issue SQL against that table the Cost-Based Optimizer rewrites the code. The Cost-Based Optimizer rewrites the user SQL to call the function to generate the predicate. The predicate is then appended to the SQL and it's the modified SQL that is parsed and executed. Let's see how this actually works. I'm working here by the way. This is just a perfectly normal 12.1 database. But what I'm going to demonstrate at this point will in fact work on 11g as well. I'm not going to be using any of the 12c enhancements to VPD for this little demonstration. I'll work in the scott schema. What do we have to do? We write a function to generate the predicate string. Create function. And I'll my function vpdf. The function must conform to a fixed specification. It must take two varchar arguments. One of the arguments is intended to be the schema to which the function will be applied. The other argument is the object within the schema to which the function will be applied. And it must return a varchar2, which is the generated predicate. Let's begin. Within this function you can do just about anything. There are some limitations. It's impossible for the function to query or update the table against which the VPD calls here is going to be applied or we violate the rules of purity that we come across so often with PL/SQL. But apart from that, it can do just about anything - including a number of dreadful side effects can be introduced by writing VPD functions. I'm going to do a very simple one on this one. I'll shall simple return immediately a predicate. What predicate? Ename, which is the ename column from this scott.emp table. Ename should equal sys_context. I'll go to the local context, my user end context, and just extract session user. We can see that John has tested this earlier today and therefore the object already was suggesting and he's just dropping it now and cleaning up the recreate. I hope you realize these really are live demonstrations. I'm not just running scripts. I've created a function. What's that function going to do? It's going to return this value here. Test it. Always test it and see what it's actually going to do. I'll select vpdf. I have to give it a couple of arguments. This one will do for now.
Views: 4427 SkillBuilders
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: 1564 SkillBuilders
User creation in oracle, exp, imp
 
13:19
www.computerintelugu.blogspot.com
Views: 1675 computer in telugu
Creating  Managing  Droping Oracle Database Tablespaces
 
12:10
Creating Managing Droping Oracle Database Tablespaces select tablespace_name,block_size,status,contents,logging from dba_tablespaces; create tablespace mytbs datafile 'd:\oradata\dbrdbms\mytbs01.dbf' size 10m; alter tablespace mytbs add datafile 'd:\oradata\dbrdbms\mytbs02.dbf' size 10m; alter tablespace mytbs drop datafile 'd:\oradata\dbrdbms\mytbs02.dbf'; desc v$datafile; desc ts#,name from v$datafile; select ts#,name from v$tablespace; select v$datafile.ts#,v$datafile.name,v$tablespace.name from v$datafile,v$tablespace where v$datafile.ts#=v$tablespace.ts# and v$tablespace.name='MYTBS'; alter database datafile 'd:\oradata\dbrdbms\mytbs01.dbf' resize 20m; ALTER DATABASE DEFAULT TABLESPACE mytbs; select ts#,name from v$tablespace; select ts#,name from v$datafile; select ts#,name from v$tablespace; drop tablespace mytbs; drop tablespace mytbs ialtncluding contents and datafiles; drop tablespace mytbs including contents and datafiles cascade; alter tablespace mytbs read only; alter tablespace mytbs read write; alter tablespace mytbs force logging; alter tablespace mytbs nologging; alter tablespace mytbs flashback on; alter tablespace mytbs flashback off; purge tablespace mytbs user myuser;
Views: 20813 Abbasi Asif
Oracle - Synonyms
 
10:43
Oracle - Synonyms
Views: 8152 Chris Ostrowski
Basics of Oracle Internal Structure - Database Tutorial 43
 
10:27
Video 43 Basics of Oracle Internal Structure This video explains the basics of Oracle Internal Structure. Inside the Oracle database, everything gets stored in Tablespaces. A tablespace is a logical structure that is made up of one or multiple data files. The operating can only see the data files. For it, these files are just like other files. But, once these files are properly opened up by Oracle, then they present a logical structure called Tablespace within Oracle. It is important to remember, tablespaces are logical structure that can be seen only from inside of Oracle. Outside of it, that is, from the Operating System's perspective, they would be nothing but a bunch of data files. For an user to log in to the database he/she must have an user account within that database. These users are called just 'users'. However, users can be granted privileges to create tables or indexes or other objects. And if an user creates a table, that is owned by that user, then that user can also be called as a schema.
Views: 4450 Sam Dhanasekaran
Oracle Roles and Privileges - Database Tutorial 47 - Oracle DBA Tutorial
 
07:36
Video 47 Oracle Roles and Privileges This video explains about Oracle Database Roles and Privileges
Views: 1588 Sam Dhanasekaran
Database Tutorial 63 - SQL SELECT Statement - Oracle DBA Tutorial
 
06:28
Database Tutorial 63 - SQL SELECT Statement - Oracle DBA tutorial, Oracle Database Tutorial This video explains about SQL SELECT Statement
Views: 1420 Sam Dhanasekaran
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: 2823 SkillBuilders
Oracle 11g - Create User
 
03:44
Oracle DBA Tutorial by TechSQL
Views: 1432 techsql
How to find the tablespaces in an Oracle Database - Database Tutorial 55 - Oracle DBA Tutorial
 
05:10
Video 55 How to find the tablespaces in an Oracle Database - Oracle DBA Tutorial This video explains about how to view the list of tablespaces that are there in an Oracle Database. To do that: select * from dba_tablespaces;
Views: 1445 Sam Dhanasekaran
Oracle Data Export and Import using DataPump expdp and impdp
 
09:38
Oracle Data Export and Import using DataPump expdp and impdp
Views: 176433 Abbasi Asif
Oracle Tutorial: Multi Table Insert Command, Part 2/3
 
13:41
http://themagnumgroup.net/oracle-developer.htm If you are an experienced database administrator, this three-part tutorial describes a little-known programming procedure that can save you a huge amount of time. As the title implies, it illustrates how data can be moved simultaneously from one table to several others, thus obviating the need to program moves to individual tables only. Part 3 is at http://tmg4.us/multi3 . Have questions about this technique? Feel free to message them to us from http://themagnumgroup.net/Message_Form.htm . Enjoy the video.
Views: 595 TMGvblog
Default Tablespace and Temporary Tablespace for a new Oracle Database user - Database Tutorial 46
 
05:38
Video 46 Default Tablespace and Temporary Tablespace for a new Oracle Database user This video explains about the Default Tablespace and Temporary Tablespace parameters of an Oracle User
Views: 4013 Sam Dhanasekaran
Oracle username and password and Account unlocking
 
08:37
all education purpose videos
Views: 269024 Chandra Shekhar Reddy
How to log in to an Oracle Database - Answer Video - Database Tutorials 42
 
04:26
How to log in to an Oracle Database - Answer Video - Database Tutorials 42 This video explains about how to log in to an Oracle database. This also explains about how to create an user and grant a role to that user. In this case, the role granted is 'dba'. The following things happen in this Oracle Database Tutorial. * We invoke SQLPLUS using the CMD utility which came with Windows 7 (Just click START in your Windows 7 and type CMD in the field which is immediately above the START button. A CMD window will open) * We also invoke SQLPLUS using the program group in which Oracle has been installed. * We also invoke Database Control * We then create a user. * And we assign a password to that user. * Using those (username and password) we are able to connect to the Oracle Database.
Views: 10685 Sam Dhanasekaran
SQL Developer   Create User
 
02:36
https://www.databasestar.com/introduction-oracle-sql-course/ In this video, we’ll look at how to create a new user on an Oracle database in SQL Developer. In an Oracle database, there are a couple of user accounts already created. However, these are system accounts, which have a lot of privileges. This can be dangerous as you (or other users) could do something bad to the database, either accidentally or on purpose. So, we should create our own users on the Oracle database. To do this, we can log in as one of the system accounts. I use SQL Developer in this video, but you can do the same thing in SQL*Plus or any other tool. You can watch the video to find out exactly how this is done, but in short, this is the process: - Log in as a system user - Create a new user with a password - Give them appropriate privileges - Create a new connection with the new user - Log in as the new user You should now be up and running with the new user! So that’s how you can create a new user in Oracle with SQL Developer. Let me know in the comments if you have any questions. For my complete Introduction to Oracle SQL course, visit this page: https://www.databasestar.com/introduction-oracle-sql-course/
Views: 8677 Database Star
expdp impdp (schema level)
 
08:48
THIS VIDEO WILL GIVE YOU A BASIC IDEA OF HOW TO PERFORM A EXPDP/IMPDP (export/import using datapump) IN ORACLE 10G DATABASE AT THE SCHEMA LEVEL PLEASE DO GIVE YOUR VALUABLE FEEDBACKS.
Views: 12751 AKHTAR HUSSAIN SHAIKH
database Oracle 10g (scott)
 
18:12
the password that i use is "a"
Views: 307 Rabee Qasem
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: 40585 Karthik Avinash
Tutorial Create table in SQL plus
 
02:11
Tutorial Create table in SQL plus
Views: 19154 DatabaseIAP
move table from one tablespace to other
 
08:24
move table from one tablespace to other
Views: 1057 Jamaal Khan
Introduction to Oracle: Install and Start Using Oracle 11g Express Edition
 
17:57
Introduction to Oracle: Install and Start Using Oracle 11g Express Edition. See www.mathheals.com for more videos
Views: 54205 David Hays
1  Connecting with oracle and creating new user
 
03:50
The complete package of oracle 10g XE.....
Views: 71 Manoj Mahato
Create a new User with EM Express 12c
 
03:29
This video shows how to create a new Oracle database user as EM Express DBA using the predefined DEFAULT privilege and predefined roles, such as EM_EXPRESS_ALL. Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. 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 of merchantability, fitness for a particular purpose, and non-infringement.
oracle 10g - table creation
 
04:30
watch this clip and learn how to create table in oracle 10g.
Views: 4097 KASHIF ALI KHAN
Statistics in Oracle and SQL Server
 
01:28:28
The better the information that Oracle and SQL Server have about the data in a database, the better choices they can make on how to execute the SQL. Statistics are Oracle's and SQL Server's chief source of information. If this information is out of date, performance of queries will suffer. In their third live 'Oracle vs. SQL Server' discussion, Jonathan Lewis (Oracle Ace Director, OakTable Network) and Grant Fritchey (Microsoft SQL Server MVP) will look at statistics in Oracle and SQL Server. Do Oracle and SQL Server gather the same information? What does each optimizer use this information for? And how can Oracle and SQL Server administrators override the defaults for better (or worse) performance? These are just some of the questions that Jonathan and Grant will try to answer in another not-to-be-missed session. As before, this will be a live discussion with limited supporting slides, and will conclude with a Q+A session with Jonathan and Grant. Be prepared for a lively exchange that will not only entertain, but will teach you key concepts on Oracle and SQL Server. For our complete archive please go to http://www.red-gate.com/oracle-webinars
Views: 2352 Redgate Videos
Coding in Oracle SQL*Plus
 
04:13
Here is a video of me demonstrating two different queries in Oracle SQL *Plus.
Views: 2440 IdeasOnWithLynnYuen
How to verify the Oracle Database Name - Database Tutorial 51 - Oracle DBA Tutorial
 
04:34
Video 51 How to verify the Oracle Database Name - Oracle DBA Tutorial This video explains about, 'how to verify the Oracle Database Name that we are connected to'. After connecting to a database, it is very important that we need to verify that we are connected to the right database. This can be done by: select * from v$database; select * from v$instance;
Views: 6436 Sam Dhanasekaran
Adding users, groups and creating directories for oracle database and  oracle software
 
02:30
above video shows how to add new users, groups to the system and create directories for installation of oracle database 12c software. It also shows how to grant permissions of a directory to a specific user who would be installing the software.
Views: 1448 dbaforbeginners
Oracle 1er Connexion , création d'une table et opération de base (Insert, Delete, Update)
 
10:46
SQL Developer : Création d'une table , Insertion des données , suppression des données , mise à jour des données ,
Views: 22592 khalid TAHRI
How to Unlock or  Lock Oracle Sample Schema User Account after Installation
 
04:51
How to easy Unlock Oracle Sample Schema User Account after installation. For more interesting vids subscribe @ http://www.youtube.com/subscription_center?add_user=rctvids
Views: 2821 RCT vids
Créer manuellement une base de données Oracle 11g
 
11:05
Téléchargement des scripts : https://www.mediafire.com/?gc36oigli8zrqfu
Views: 10834 YOUNES DECHRAOUI
Oracle DB - Create Tablespace
 
07:16
Oracle DBA Tutorial by TechSQL Oracle DB - Create Tablespace
Views: 957 techsql

Ftce general knowledge essay topics
Art title in essay
Why do students cheat in college essay
Essay on the happiest moment of my life
Objektorientierte analyse beispiel essay