Home
Search results “Drop all objects schema oracle”
How to drop all of the objects in a user's recycling bin in oracle database
 
01:58
How to drop all of the objects in a user's recycling bin ========================================================== purge recyclebin how to check the original name of dropped objects in recyclebin =============================================================== select owner,original_name,type from dba_recyclebin; select original_name,type from recyclebin; how to check view on recyclebin =================================================== select table_name from dict where table_name like '%RECYCLE%';
Views: 221 Praveen Biyyapu
3.Schema level Export and Import in oracle database
 
07:03
Hello friends in this video i explain how to export full schema(user) and performing a recovery after drop of user. Oracle database Unbeatable,Unbreakable Platform..
Views: 17164 Oracle World
Oracle DBA Justin - How to drop all objects in the recycling bin, regardless of owner
 
08:00
How to drop all objects in the recycling bin, regardless of owner
Views: 1508 jbleistein11
PostgreSQL - Drop all tables of a Database
 
01:02
drop schema public cascade; create schema public;
Views: 2301 Bhaskar Reddy Pulsani
How to drop all objects in the recycle bin, regardless of owner in oracle database
 
06:29
How to drop all objects in the recycle bin, regardless of owner in oracle database ================================================================================== purge dba_recyclebin how to check the original name of dropped objects in recyclebin =============================================================== select owner,original_name,type from dba_recyclebin; how to check view on recyclebin =================================================== select table_name from dict where table_name like '%RECYCLE%';
Views: 240 Praveen Biyyapu
Oracle DBA Justin - How to drop all of the objects in a user's  recycling bin
 
05:27
How to drop all of the objects in a user's recycling bin
Views: 1035 jbleistein11
Oracle Database Tutorial 57: IMPDP (REMAP_SCHEMA) how to import table in different user/schema
 
04:09
In this oracle database tutorial you will learn How to import table in different schema using Remap_Schema parameter of impdp data pump import utility By Manish Sharma RebellionRider ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/how-to-import-tables-in-different-schema-remap-schema Previous Tutorial Tut 56 How to import table in same schema : http://youtu.be/oEnmEUlicY0 ------------------------------------------------------------------------- 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 1st 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: 23119 Manish Sharma
Adding a User to Oracle - Full Schema Access, But Read only
 
17:04
Hi friends this video will help you in live environment when you need read only access of other schema object procedure ,function packages etc.Oracle database Unbeatable,Unbreakable Platform..
Views: 1331 Oracle World
Oracle DBA Justin - How to use the public role for database objects
 
13:14
How to use the public role for database objects.
Views: 1579 jbleistein11
What is Schema in SQL Server & How to Create or Drop Schema - SQL Server / T-SQL Tutorial Part 27
 
12:43
SQL Server / TSQL Tutorial : What is Schema in SQL Server & How to Create or Drop Schema Link to the script used in the video http://www.techbrothersit.com/2016/02/what-is-schema-in-sql-server-and-how-to.html What is Schema : As per Microsoft website : A Schema is distinct namespace to facilitate the separation, management, and ownership of database objects. How to create Schema by GUI: Open the SSMS and you will be going to Database as Schema are objects in the database. Go to Security and then Go to Schema and Right Click and Choose New Schema as shown below. Now you need to provide the Schema name. I used TB as Schema Name and I left the Schema Owner empty, that means that dbo will be owner for this schema. If you would like to choose owner, you can hit search and provide the owner of schema. Create Schema by using TSQL : To create Schema in Database with default owner that is dbo, you can use below script. --DatabaseName=TechBrothersIT USE [TechBrothersIT] GO --Create Schema Name =TB CREATE SCHEMA [TB] GO Let's say If I have a user in TechbrothersIT Database with name [aamir] and I would like to create Schema TB with owner name =[aamir]. I can use below script. --Database Name = TechBrothersIT USE [TechBrothersIT] GO --Create Schema TB with owner name =Aamir ( Database User) CREATE SCHEMA [TB] AUTHORIZATION [aamir] GO How to Drop Schema from SQL Server Database: We can also use TSQL Script to drop the Schema from a SQL Server Database. In below example, I am deleting TB Schema from TechBrothersIT Database. --Database Name = TechBrothersIT USE [TechBrothersIT] go --Drop Schema TB Drop Schema [TB] Check out our website for Different SQL Server, MSBI tutorials and interview questions such as SQL Server Reporting Services(SSRS) Tutorial SQL Server Integration Services(SSIS) Tutorial SQL Server DBA Tutorial SQL Server / TSQL Tutorial ( Beginner to Advance) http://www.techbrothersit.com/
Views: 25163 TechBrothersIT
List all tables in a sql server database using a query  Part 65
 
05:38
Text version of the video http://csharp-video-tutorials.blogspot.com/2013/06/part-65-list-all-tables-in-sql-server.html Slides http://csharp-video-tutorials.blogspot.com/2013/09/part-65-list-all-tables-in-sql-server.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss, writing a transact sql query to list all the tables in a sql server database. This is a very common sql server interview question. Object explorer with in sql server management studio can be used to get the list of tables in a specific database. However, if we have to write a query to achieve the same, there are 3 system views that we can use. 1. SYSOBJECTS - Supported in SQL Server version 2000, 2005 & 2008 2. SYS.TABLES - Supported in SQL Server version 2005 & 2008 3. INFORMATION_SCHEMA.TABLES - Supported in SQL Server version 2005 & 2008 -- Gets the list of tables only Select * from SYSOBJECTS where XTYPE='U' -- Gets the list of tables only Select * from SYS.TABLES -- Gets the list of tables and views select * from INFORMATION_SCHEMA.TABLES To get the list of different object types (XTYPE) in a database Select Distinct XTYPE from SYSOBJECTS Executing the above query on my SAMPLE database returned the following values for XTYPE column from SYSOBJECTS IT - Internal table P - Stored procedure PK - PRIMARY KEY constraint S - System table SQ - Service queue U - User table V - View Please check the following MSDN link for all possible XTYPE column values and what they represent. http://msdn.microsoft.com/en-us/library/ms177596.aspx
Views: 85263 kudvenkat
Oracle DBA Justin - How to drop/delete a tablespace from an Oracle database
 
16:10
How to drop/delete a tablespace from an Oracle database
Views: 3482 jbleistein11
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: 32797 Thamizh arasaN
DESCRIBE or DESC Keyword in Oracle | Oracle Tutorials for Beginners
 
07:09
DESCRIBE or DESC Keyword in Oracle | Oracle Tutorials for Beginners DESCRIBE Keyword in Oracle DESC Keyword in Oracle DESCRIBE Keyword in Oracle SQL DESC Keyword in Oracle SQL DESCRIBE Keyword in SQL DESC Keyword in SQL Oracle Tutorials for Beginners Oracle SQL for Beginners Oracle Database for Beginners Oracle SQL Tutorials for Biners Oracle Database tutorials for Beginners oracle describe table structure desc table in sql server descending order in oracle how to see table structure in oracle sql developer desc command in mysql pl sql describe table desc command in sql example describe table in sql query how to see table structure in oracle sql developer desc table in sql server sql query to view table structure in oracle oracle describe table invalid sql statement describe table in sql query oracle desc table order by column name describe not working in oracle oracle show tables how to see table structure in oracle sql developer how to get table structure in oracle 11g sql query to list all tables in a database describe table in oracle sql developer sql query to view table structure in sql server oracle get list of tables in schema oracle show tables describe table structure in sql server
Views: 280 Oracle PL/SQL World
Dropping Oracle Database 11g Manually with Drop Database Statement
 
05:17
DROP DATABASE Purpose Caution: You cannot roll back a DROP DATABASE statement. Use the DROP DATABASE statement to drop the database. This statement is useful when you want to drop a test database or drop an old database after successful migration to a new host. Prerequisites You must have the SYSDBA system privilege to issue this statement. The database must be mounted in exclusive for RAC and restricted mode, and it must be closed. Semantics When you issue this statement, Oracle Database drops the database and deletes all control files and datafiles listed in the control file. If the database used a server parameter file (spfile), it is also deleted. Archived logs and backups are not removed, but you can use Recovery Manager (RMAN) to remove them. If the database is on raw disks, this statement does not delete the actual raw disk special files.
Views: 227 Saurabh Joshi
How to Create SCOTT Schema and default tables in Oracle Database 11g
 
04:31
If there is no Oracle default scott schema is available after the installation of Oracle 11g database in windows, Then how to create the scott schema and the default tables like emp , dept, bonus, salgrade in database. Here is a easy step by step tutorial to create it in your database. Follow these Steps One By One. File Download Link: https://sites.google.com/site/gpabukcbyarshman/gpa-semester-wise/oracle.zip?attredirects=0&d=1 For More...!! Facebook.Com/MrArshman
Views: 1598 Arshman Saleem
Oracle Drop database
 
02:27
A short video on how you can drop an Oracle database using drop database command from SQL*PLUS
Views: 1155 André Karlsson
Oracle Database11g tutorials 14 : How to CREATE TABLE using sql developer and command prompt
 
08:36
Oracle Database11g tutorials 14 How to Create table using command prompt and Create table using sql developer Blog Link http://bit.ly/1TkY4Oe Time Line 0:25 Introduction of Tables in Database 1:03 What is Create Table (Introduction of create table) 1:30 Syntax of Create Table 2:08 How to create table using Command Prompt 4:55 How to create table using SQL Developer Links for Oracle Database tutorials 4: database connectivity using SQL developer and command prompt http://youtu.be/wSqoXRlXDUU You can have indepth knowledge about SQL create table here http://www.rebellionrider.com/sql-create-table.html Tool used in this tutorial is command prompt. This tutorial series is part of SQL expert exam certification training. if you are preparing for SQL certification you can use my tutorials. This SQL Tutorial is a part of free training. Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=j7eYO7 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 linking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com Today in this oracle database tutorial we will see How to CREATE A TABLE. if we have to define a table in layman language then we can say that Tables are just a collection of Rows and Columns but In RDBMS tables are database objects which help in organizing data into ROWS and COLUMNS. We can also say that SQL tables are kind of data structure which are used by database for efficient storage of data. To create a table in our database we use SQL CREATE TABLE command. SQL CREATE TABLE is a type of DATA DEFINITION LANGUAGE also known as DDL. To Create a table in your schema you will require CREATE TABLE system privilege. In our future videos we will see what are system and object privileges and how to grant them to a user. Today for this video we will be using Sample schema HR which already has all the necessary privileges. Ohk Let's see the syntax. CREATE TABLE table name ( column name1 Data-Type(size), column name2 Data-Type(size), ..... ); CREATE TABLE is an oracle reserved word or say an Oracle key word whereas There are 3 different ways of creating a table in Oracle database. Creating a table using Command Line Interface (CLI) in Oracle database For demonstrating how to create table in oracle database using CLI, I'll be using Command prompt. Thats how we create table using command prompt. you can check your table structure by DESCRIBE command for that just write DESC and your table name. Like this Another way of creating a table is by using Graphic user interface (GUI) in Oracle database To demonstrate how to create table using GUI we will use SQL developer. Lets open our SQL developer I am connected to HR schema if you do not know how to create a connection to database using SQL developer please watch my oracle database tutorial 4 that explains database connectivity using SQL developer and command prompt. Link for this video is in the description below. So lets create a table. Creating a table using SQL developer is very easy we do not have to fire any query here. Let's start First of all right click on your connection in which you want to create a table and choose schema browser. This will open a separate schema browser pane or you can expend your connection by clicking this + sign and then right click on table and choose New Table. However I prefer working with schema browser so let's skip to schema browser pane here from the first drop-down list you can choose connection name and in the second drop down list you can choose what database objects you want to work with we want to create a table thus I'll choose table and then click this arrow here and choose option for new table Ok we have created a table wizard first of all give a unique name to your table and add some column as well. For this, click the green plus button. Now we already have a column so give it some name. Also choose a datatype from the list and specify any size you can check this not null column if in case you want to make this a mandatory column you can also specify default value and constraint If you want to make this column a primary key you can click here In my future video i'll show you what are these constraints and different ways of applying them on a column in a table. for this video we will concentrate on create table only so when you are done with all your columns click ok Thats your table You can double click on your table here and can see its structure. Thats it
Views: 165090 Manish Sharma
PL/SQL tutorial 18: DDL Trigger with Schema Auditing Example
 
08:12
Learn how to create a DDL Trigger in Oracle Database with Schema Auditing Example where we will learn how to keep an any on which object is created, altered or drop and by who. Manish Sharma From RebellionRider ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/DDL-Trigger Previous Tutorial ►PL/SQL Tut 14 Triggers Introduction https://youtu.be/R3fvX_xf5P4 ► PL/SQL Tut 17 Table Backup Using DML Trigger https://youtu.be/jSv1LIlNKU0 ------------------------------------------------------------------------- ►►►Let's Get Free Uber Cab◄◄◄ Use Referral Code UberRebellionRider and get $20 free for your first ride. ------------------------------------------------------------------------- ►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 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 for E-mail address please check 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: 40676 Manish Sharma
Oracle Create Table , Drop Table تعليم اوراكل
 
14:08
by Mohamed El Desouki - محمد الدسوقى [email protected] Tel :00966 553450836 جامعة سلمان بن عبد العزيز - السعودية - الخرج Create table and Drop Table, إنشاء وحذف الجداول Text Book: Fundamentals of Database Systems, 5th Edition, by Elmasri/Navathe, published by Addison-W oracle create table statement oracle drop table statement
Oracle DBA Justin - How to drop/delete a user account from an Oracle database
 
07:41
How to drop/delete a user account from an Oracle database
Views: 5224 jbleistein11
58 Oracle 11g Tutorials     Basic Dropping & Altering Tables
 
03:56
Introduction to Oracle 11g Tuts
Views: 130 saratutus
Oracle DBA Justin - How to backup and restore an Oracle database with RMAN (basic)
 
18:53
How to backup and restore an Oracle database with RMAN (basic)
Views: 282424 jbleistein11
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: 60118 Manish Sharma
Oracle DBA Justin - How to bypass the recycling bin when dropping database objects
 
06:33
How to bypass the recycling bin when dropping database objects
Views: 1104 jbleistein11
Remove all tables from databse in sql server in sql server 2014
 
03:39
Remove/Drop all table from databse in sql server
Views: 1541 Chandrashekhar Sharma
HOW TO CREATE USER IN ORACLE AND DROP IT
 
08:02
by Kumar:Oracle This video will tell you how to create user and grant him dba privilege to the created user , and how to drop it.
Views: 530 brijesh kumar
Dynamically retrieve Oracle Schemas and Tables using AngularJS
 
14:17
In this Oracle AngularJS tutorial I have tried to perform some basic DBA tasks, like populating all schemas within database and all tables within a selected schemas and display data of tables dynamically with dynamic column name display. I am also providing you the code for the angularjs and oracle data retrieving jsp file, download it from googledrive. https://drive.google.com/file/d/0BznrW3lgX0ozcElkeTVzREdFeUU/view?usp=sharing
Views: 618 Subhroneel Ganguly
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: 36177 Manish Sharma
How to Move Object from one Table Space to Another Table Space? | How to Rebuild the Index ?
 
05:03
This Video will teach you How to Move Object one Table Space to Another | How to Rebuild the Index ? move table from one tablespace to another in oracle 11g oracle move schema to another tablespace oracle how to move objects to another tablespace oracle 11g move schema to another tablespace alter table move tablespace oracle 8i oracle move table script oracle move cluster to new tablespace oracle move table example rebuild index oracle script alter index rebuild online parallel oracle rebuild all indexes oracle index rebuild online vs offline oracle rebuild partitioned index index rebuild oracle best practice index rebuild script in oracle 11g
Views: 749 Oracle PL/SQL World
How to Get Record Count for All the Tables in SQL Server Database - SQL Server Tutorial
 
03:29
TSQL Video Scenario How to get Table Names with Record Count in SQL Server Database? Solution: Consider our company is working on some audit process and they want to log the table names with record count in Audit table during different hours of the day OR we are planning for storage and want to know which table has the most records and plan the storage accordingly. The below query will return us all the tables from SQL Server Database with record count. We will be using System tables sysindexes and sys.tables to get our record count with table names. Blog post link with scripts http://sqlage.blogspot.com/2015/02/how-to-get-table-names-with-record.html
Views: 11031 TechBrothersIT
PL/SQL tutorial 84: ALTER & DROP table DDL with Execute Immediate of Dynamic SQL
 
07:46
Learn how to modify and delete a table using ALTER and DROP TABLE DDL with EXECUTE IMMEDIATE of native dynamic SQL in Oracle Database by Manish Sharma from RebellionRider.com 02:12 ALTER TABLE with Execute Immediate 04:48 DROP TABLE with Execute Immediate ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/nds-5 Previous Tutorial ► PL/SQL Tutorial 83 https://youtu.be/dl39itjrWYw ► Facebook Note Ora--12505 TNS error http://bit.ly/Ora-12505 ------------------------------------------------------------------------- ►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: 1836 Manish Sharma
Schema
 
01:56
Oracle users can choose to browse owner objects, Accessible Schema Objects and All Schemas of their choice with ease
Views: 148 SQLFLY
SQL tutorials 17: SQL Primary Key constraint,  Drop primary Key
 
09:22
Blog link: http://www.rebellionrider.com/sql-primary-key.htm SQL tutorial on Primary key / SQL Primary key, In this tutorial you will learn about simple primary key, composute primary key, how to drop primary key. defining primary key using create table and alter table along with many other things. Tool used in this tutorial is SQL Developer. This tutorial series is part of SQL expert exam certification training. if you are preparing for SQL certification you can use my tutorials. This SQL Tutorial is a part of free training. Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=j7eYO7 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 linking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com So Primary Key There are two types of Primary keys First is Simple primary Key: Primary key which Involves only one column and Second is Composite Primary Key: Primary Key which involves more than one column. We will start with Simple primary key. You can create Primary key either with Create Table statement of by using Alter table Statement. Let's define simple primary key using create table statements. With create table statement we can either define primary key at column level or at table level. We will start with defining Primary key at column level using create table statement. You just have to put keyword Primary key after data type and size of column while defining a column of a table. Here oracle server will create a primary key on product id with default constraint name which will be slightly difficult to understand. You can give your own name to your constraint which is also a good practice.
Views: 95667 Manish Sharma
Creating User & Dropping User using SQL DEVELOPER
 
08:15
STEPS 1. login into "sql developer" with user: sys role:sysdba 2. click on connection "sys" and view all objects 3. select "other user" from sys user 4. now create new user with privileges 5. provide user name & password 6. select "system privileges" tab from create user and select CREATE SESSION - connect database CREATE TABLE - it enable user to create table 7. connect to newly created user by using command prompt. in cmd prmpt type "sqlplus" it recommended for username:ajayaj and password:***** 8. create a new table 9. dropping user first disconnect the created user from cmd prompt by "quit" 10. open sql developer and browse other user from sys 11. select the user which we created and right click on it then select drop user with click checkbox: cascade Blog: http://ramprasath91.blogspot.in/p/videos.html Google+: https://plus.google.com/+RamPrasathD/about
Views: 2710 TechWizard
how to un drop table in oracle
 
06:55
how to un drop table in oracle
Views: 217 Jamaal Khan
Get Table Names with Column Names and Data Types in SQL Server - SQL Server Tutorial
 
05:47
In this video ,we will generate the script that will return us all the table names with column names and data type of those columns. We often need this information. Let's say we are going to prepare mapping document for load the data from Source Database to Destination database. We can get the list of all tables with column names and data types from Source Database and Destination Database and then paste in Excel and map the required input columns to output columns for ETL Process. Blog link with scripts used in video http://sqlage.blogspot.com/2015/02/get-all-tables-with-column-names-and.html
Views: 40181 TechBrothersIT
How to Get all the Tables which has Primary Key Constraint Created in SQL Server Database - Part 57
 
05:58
SQL Server / T-SQL Tutorial Scenario: You are working as SQL Server Developer/ SQL Server DBA in Auto Insurance Company. You are asked to provide a query that should return list of all the tables with Schema Name, Column Name and Primary Key Constraint which has primary key constraint created on them. Link to scripts used in SQL Server / TSQL Tutorial Video http://www.techbrothersit.com/2016/03/how-to-get-all-tables-which-has-primary.html Check out our website for Different SQL Server, MSBI tutorials and interview questions such as SQL Server Reporting Services(SSRS) Tutorial SQL Server Integration Services(SSIS) Tutorial SQL Server DBA Tutorial SQL Server / TSQL Tutorial ( Beginner to Advance) http://www.techbrothersit.com/
Views: 1509 TechBrothersIT
API Builder
 
03:20
Oracle Unit Testing now presents the new Oracle API Builder. This PLSQL utility will generate all your Select, Insert, Update and Delete code for ALL your tables in your schema saving you potentially hundreds of hours of work (or contractor time!). It can also contribute to your Daily Build Architecture since it can be rerun again and again as your table structure changes.
Views: 1596 webcomsystemsbiz
Can you flashback table into SYSTEM tablespace?
 
10:02
Flashback feature in Oracle database is well known to roll back the table to a specific timestamp (depends on undo retention) or to restore dropped table and many more. We must have used this flashback feature so far on application schema objects and found working without any issues. As an Oracle DBA did you configure any tools (might be monitoring, RMAN catalog or any) with objects created in SYSTEM tablespace? If so, you probably would see some problems later when you need to use Flashback on these objects though they are not Oracle supplied objects. Let us go through a case study which will clearly explain you the functionality of Flashback table. Did you like the video? Subscribe now, Like it and share it. Looking for Oracle DBA training or services? redirect to www.orskl.com WhatsApp to +919951696808
Views: 1540 OrSkl Academy
Alter database table columns without dropping table   Part 67
 
04:06
In this video, we will discuss, altering a database table column without having the need to drop the table. Let's understand this with an example. Text version of the video http://csharp-video-tutorials.blogspot.com/2013/08/part-67-alter-database-table-columns.html Slides http://csharp-video-tutorials.blogspot.com/2013/09/part-67-alter-database-table-columns.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists We will be using table tblEmployee for this demo. Use the sql script below, to create and populate this table with some sample data. Create table tblEmployee ( ID int primary key identity, Name nvarchar(50), Gender nvarchar(50), Salary nvarchar(50) ) Insert into tblEmployee values('Sara Nani','Female','4500') Insert into tblEmployee values('James Histo','Male','5300') Insert into tblEmployee values('Mary Jane','Female','6200') Insert into tblEmployee values('Paul Sensit','Male','4200') Insert into tblEmployee values('Mike Jen','Male','5500') The requirement is to group the salaries by gender. To achieve this we would write a sql query using GROUP BY as shown below. Select Gender, Sum(Salary) as Total from tblEmployee Group by Gender When you execute this query, we will get an error - Operand data type nvarchar is invalid for sum operator. This is because, when we created tblEmployee table, the "Salary" column was created using nvarchar datatype. SQL server Sum() aggregate function can only be applied on numeric columns. So, let's try to modify "Salary" column to use int datatype. Let's do it using the designer. 1. Right click on "tblEmployee" table in "Object Explorer" window, and select "Design" 2. Change the datatype from nvarchar(50) to int 3. Save the table At this point, you will get an error message - Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created. So, the obvious next question is, how to alter the database table definition without the need to drop, re-create and again populate the table with data? There are 2 options Option 1: Use a sql query to alter the column as shown below. Alter table tblEmployee Alter column Salary int Option 2: Disable "Prevent saving changes that require table re-creation" option in sql server 2008 1. Open Microsoft SQL Server Management Studio 2008 2. Click Tools, select Options 3. Expand Designers, and select "Table and Database Designers" 4. On the right hand side window, uncheck, Prevent saving changes that require table re-creation 5. Click OK
Views: 85164 kudvenkat
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: 4316 SkillBuilders
UPDATE and DELETE using Cursor in PLSQL Oracle, Introduction to TRIGGER in PLSQL Oracle, AFTER INS
 
38:11
SQL is a special purpose programming language designed for managing data in a relational database, , is used by a huge number of apps , organizations. Watch this Video to learn basics of SQL. This Video covers below topics about SQL. …………………..LIKE…….SUB………SHARE……….. What is Database , What is Database Table , What is Database Fields , Records , What is Oracle , What is RDBMS , how it is different from flat files , What is SQL Is SQL common for all RDBMS packages, prove it , Installing Oracle , CREATE, INSERT , SELECT comm,s , DELETE , UPDATE comm,s , SELECT comm, with WHERE condition , LIKE 'pattern' Operator , IN Operator , BETWEEN Operator , Pseudo Columns , Data Types , ORDER BY Clause , RENAME Table , DROP Table , Savepoint, Rollback , Commit , Create Tablespace, Create User, Create Role, Drop Role, Drop User, Drop Tablespace , Tablespace , Datafile , Alter Tablespace , Insert multiple records in one or more tables at once , Grant, Revoke , Grant Table View to other user , Referential Integrity , Column Alias , Table Alias , Equi Join , Non Equi Join , Self Join , Natural Join , Cross Join , Outer Join Left Outer Join, Right Outer Join , Full Outer Join , Anti Join , Column Format , Aggregate Functions , Character Functions , Number Functions , Conversion Functions To Char, To Date, NVL, Decode , Date Functions Add Months, Last Day, Months Between, Next Day, To Date, New Time , SQL Comm,s Type , SQL Buffer Comm,s , Ed or Edit Buffer Comm, , IN , NOT IN Operators , Not Null Constraint , Unique Constraint , Primary Key , Foreign Key Constraints , Check Constraint , Order By Clause , Group By Clause , Having Clause , Subquery or Inner Query or Nested Query , Union, Union All, Intersect , Minus Operators , Data Dictionaries TAB, ALL TABLES, ALL SEQUENCES, ALL VIEWS etc , What are SQL, PLSQL, TSQL , SQL Plus , ALTER TABLE ADD new column , DROP existing column , ALTER TABLE to Modify existing column , ALTER TABLE to ADD , DROP integrity constraints , Create, Alter , Drop Sequence , Create, Alter , Drop named constraints , Subquery , Set Union, Union All, Intersect, Minus Operators , Execute comm,s written in physical file , Getting started with SQL Plus Reports Part 1 , Getting started with SQL Plus Reports Part 2 , Getting started with SQL Plus Reports Part 3 , Views , Input Variables SQL Plus , Define Variables , Bind Variables , Introduction to PLSQL , IF ELSE construct in PLSQL Oracle , FOR LOOP Looping Comm, in PLSQL Oracle , LOOP Looping Comm, in PLSQL Oracle , WHILE Looping Comm, in PLSQL Oracle , PLSQL Table , Exception in PLSQL Oracle , Tax Calculator , Exception H,ling in PLSQL Oracle , Introduction to Cursor in PLSQL Oracle , Cursor Examples in PLSQL Oracle , UPDATE , DELETE using Cursor in PLSQL Oracle , Introduction to TRIGGER in PLSQL Oracle , AFTER INSERT fire UPDATE Comm, in Trigger , AFTER INSERT or UPDATE or DELETE Comm,s in Trigger , Statement Level Trigger in PLSQL Oracle.
Views: 77 Aap Koun
SQL Table Delete and Truncate, Schemas and Synonyms
 
29:38
Follow the Books: http://amzn.to/1RjjJCf To get the materials for this presentation: http://www.aaronbuma.com/2015/04/sql-table-data-operations-schemas-and-synonyms/ For any of my previous presentations visit: http://www.aaronbuma.com/category/sql-training/
Views: 281 Aaron Buma
Example on foreign key constraint and delete cascade
 
05:55
Join discussion on http://www.techtud.com/video-illustration/following-table-has-two-attributes-and-c-where-primary-key-and-c-foreign-gate
Views: 7093 Techtud