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: 193 Praveen Biyyapu
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: 233 Praveen Biyyapu
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
SQL: Delete Vs Truncate Vs Drop
 
08:27
In this tutorial, you'll learn the difference between delete/drop and truncate. PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's procedural extension for SQL and the Oracle relational database. PL/SQL is available in Oracle Database (since version 7), TimesTen in-memory database (since version 11.2.1), and IBM DB2 (since version 9.7).[1] Oracle Corporation usually extends PL/SQL functionality with each successive release of the Oracle Database. PL/SQL includes procedural language elements such as conditions and loops. It allows declaration of constants and variables, procedures and functions, types and variables of those types, and triggers. It can handle exceptions (runtime errors). Arrays are supported involving the use of PL/SQL collections. Implementations from version 8 of Oracle Database onwards have included features associated with object-orientation. One can create PL/SQL units such as procedures, functions, packages, types, and triggers, which are stored in the database for reuse by applications that use any of the Oracle Database programmatic interfaces. PL/SQL works analogously to the embedded procedural languages associated with other relational databases. For example, Sybase ASE and Microsoft SQL Server have Transact-SQL, PostgreSQL has PL/pgSQL (which emulates PL/SQL to an extent), and IBM DB2 includes SQL Procedural Language,[2] which conforms to the ISO SQL’s SQL/PSM standard. The designers of PL/SQL modeled its syntax on that of Ada. Both Ada and PL/SQL have Pascal as a common ancestor, and so PL/SQL also resembles Pascal in several aspects. However, the structure of a PL/SQL package does not resemble the basic Object Pascal program structure as implemented by a Borland Delphi or Free Pascal unit. Programmers can define public and private global data-types, constants and static variables in a PL/SQL package.[3] PL/SQL also allows for the definition of classes and instantiating these as objects in PL/SQL code. This resembles usage in object-oriented programming languages like Object Pascal, C++ and Java. PL/SQL refers to a class as an "Abstract Data Type" (ADT) or "User Defined Type" (UDT), and defines it as an Oracle SQL data-type as opposed to a PL/SQL user-defined type, allowing its use in both the Oracle SQL Engine and the Oracle PL/SQL engine. The constructor and methods of an Abstract Data Type are written in PL/SQL. The resulting Abstract Data Type can operate as an object class in PL/SQL. Such objects can also persist as column values in Oracle database tables. PL/SQL is fundamentally distinct from Transact-SQL, despite superficial similarities. Porting code from one to the other usually involves non-trivial work, not only due to the differences in the feature sets of the two languages,[4] but also due to the very significant differences in the way Oracle and SQL Server deal with concurrency and locking. There are software tools available that claim to facilitate porting including Oracle Translation Scratch Editor,[5] CEITON MSSQL/Oracle Compiler [6] and SwisSQL.[7] The StepSqlite product is a PL/SQL compiler for the popular small database SQLite. PL/SQL Program Unit A PL/SQL program unit is one of the following: PL/SQL anonymous block, procedure, function, package specification, package body, trigger, type specification, type body, library. Program units are the PL/SQL source code that is compiled, developed and ultimately executed on the database. The basic unit of a PL/SQL source program is the block, which groups together related declarations and statements. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords divide the block into a declarative part, an executable part, and an exception-handling part. The declaration section is optional and may be used to define and initialize constants and variables. If a variable is not initialized then it defaults to NULL value. The optional exception-handling part is used to handle run time errors. Only the executable part is required. A block can have a label. Package Packages are groups of conceptually linked functions, procedures, variables, PL/SQL table and record TYPE statements, constants, cursors etc. The use of packages promotes re-use of code. Packages are composed of the package specification and an optional package body. The specification is the interface to the application; it declares the types, variables, constants, exceptions, cursors, and subprograms available. The body fully defines cursors and subprograms, and so implements the specification. Two advantages of packages are: Modular approach, encapsulation/hiding of business logic, security, performance improvement, re-usability. They support object-oriented programming features like function overloading and encapsulation. Using package variables one can declare session level (scoped) variables, since variables declared in the package specification have a session scope.
Views: 53032 radhikaravikumar
PostgreSQL - Drop all tables of a Database
 
01:02
drop schema public cascade; create schema public;
Views: 2060 Bhaskar Reddy Pulsani
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: 1030 jbleistein11
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: 16550 Oracle World
Drop/Delete Oracle 12c database from sqlplus commandline
 
02:58
Simple demonstration to show how to Drop /Delete Oracle database from Sql*Plus Command line
Views: 1135 Oracle Testlab
How to create a user / schema in oracle
 
06:06
Tutorial on how to create user / schema in oracle.
Views: 17822 Sree Tutorials
What Is A Schema In Mysql?
 
00:29
Jan 2015 apparently, in mysql there is no real distinction between a database and schemaswhereas some other languages, clear them. 7, the mysql sys schema (originally the ps_helper for those unfamiliar with the sys schema project, it is a database 14 apr 2018 create schema in mysql [5. Creating a new table 9. You issue this command from the mysql client line prompt, like desc ordersmysql has a single daemon that runs database server. 10 apr 2015 new in mysql 5. Oracle select username from sys. Select the role to which you wish add objects. When you first open mysql workbench a default schema, mydb appears as the leftmost tab of physical schemas section following figure shows. A database schema is a description of the data in. Simply you can consider a schema to be user account and collection of all objects therein 30 may 2017 mysql table faq how do i show database in database? Short answer the for table, use desc command. Syntax create {database v the version of mysql to build sys schema for, either '56' or '57'; B whether omit any lines that deal with sql_log_bin (useful for rds); U user set you can leave blank since mysql, physically a is synonymous database. The mysql sys schema in 5. Mysql schema compare tool for quick comparison and devart. Get 30 day free trial!. Depends on the database server. Oracle has a single database. Sql create alter drop schema w3resource. Difference between schema database in mysql stack overflow. It is still difficult to see production servers with p_s compare, synchronize schemas of mysql and mariadb databases, analyze differences dbforge schema compare for. You can begin designing a database by using this default schema content is described in the surrounding text. How to list all available schemas chartio support. We assume that you know how to design. To assign privileges to a role, select it from the roles section, then an object in objects section. What's the main difference between database and schema create table mysql workbench youtube. In simple terms, schemas are pretty much a collection of tables and databases collections 2 jan 2015 what's the main difference between database schema? Apparently, in mysql there is no real distinction 10 oct 2012. In fact, mysql workbench allows you to generate a this chapter and the following one, which focuses on indexing, cover specific bits of schema design. Html according to mysql doc a schema is database that contradicts the following claim (to my reading) 'a true fully (database 9. In the privileges section, a schema defines attributes of database, such as tables, columns, and properties. 5, more than 4 years ago. Schema database in mysql stack overflow difference between schema overflow stackoverflow "imx0m" url? Q webcache. Mysql lists mysql re what is a schema? What database? . What is the key difference between a schema and database with mysql how to show of table in oracle i do not understand create workbench youtube. What is a database schema? Optimizing
Views: 13 E Info
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: 23176 TechBrothersIT
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: 525 brijesh kumar
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: 3466 jbleistein11
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: 5096 jbleistein11
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: 37984 Manish Sharma
What Is The Schema In SQL?
 
00:35
This article will explain the sql server select from sys. Schema objects oracle help center. Sql create database statement w3schools. A database is a container of data and logs, also schemas. Once a database is created, you can check it in the list of databases with following schema objects be created and manipulated sql include however, oracle stores object logically within tablespace Managing what schema? . What is a database schema schemas in sql server authority. Schema in sql server 2012 c# corner. So, they are two different things sql schema statements provide maintenance of catalog objects for a create table statement new base in the current 3 dec 2012 introduction this article i describe schemas server. This username is called the schema owner, or owner of related group objects. Managing database objects in sql what is a schema? . Managing database objects in sql a url? Q informit articles article. What exactly is a schema in sql server 2008? Learn about schemas with this free tutorial the oracle database system, term schema, which also known as 'sql schema,' has different meaning. Integrity tex2html_wrap_inline1856, 6 jun 2016 and according to this sql server technical article, a schema is separate entity inside the database. To reflect multiple schemas, refer to schemas per tip make sure you have admin privilege before creating any database. You can think of 22 may 1998 schema definition in sql. You may have one or multiple schemas in a database schema sql server is an object that conceptually holds definitions for other objects such as tables,views,stored procedures etc 14 apr 2018 create alter drop logical holder. Here, a database can have multiple schemas (or schemata, if you're feeling fancy). Jul 2008 a schema is collection of database objects (as far as this hour concerned tables) associated with one particular username. A schema is now an independent entity a container in microsoft sql server the database and are not synonyms. Managing database objects in sql server difference between and schema stack overflow. A database schema of a system is its structure 1 dec 2016 syntax for azure sql data warehouse and parallel create schema_name [ authorization owner_name ] [;] the following example creates named chains, then table sizes in computer programming, (pronounced skee mah) organization or dig deeper on server modeling design 19 apr. Vertica select table_schema from v_catalog. What is a schema in database and why do we use it? Quorawhat schema? Sql tutorial [schema statements]. What is schema in sql server & how to create or drop database schemas quackit. A schema is like a container that contains database objects tables, views 5 oct 2007 sql server 2005 introduces the concept of schemas as opposed to object owners found in previous versions. An sql relation is defined by create table r ( tex2html_wrap_inline1854. Each one contains all the objects created by a specific database user 7 sep 2009 beginning with sql server 2005, mic
Views: 6 E Market
Delete, Drop, and Truncate Statements in Hive
 
06:41
Delete, Drop, and Truncate Statements in Hive Delete Statement: Delete statement is used to delete certain rows from a table based on a condition specified using the WHERE clause. The syntax is in below as highlighted. DELETE FROM tablename [WHERE expression]; Note: DELETE statement is available from hive 0.14.0 version and above Drop Statement: The drop table statement is used to drop the table altogether. The syntax is highlighted here: DROP TABLE IF EXISTS TABLENAME; Let’s quickly see how the managed table and external table differs when dropping the table. We have already discussed this in the “Two different types of hive tables” video. Take a look at it if you haven’t. For the managed hive tables, the drop table statement removes the metadata information as well as the data. The data will be actually moved to .Trash/Current directory. metadata will be permanently deleted. However for external tables, only the metadata information is permanently deleted and the actual data remains intact in the hdfs directories. So in the case of external table, if the table was deleted accidentally, then the table can be re-created by using the same schema and specifying the same location for the hdfs data directory. If deleting the external table was the intention, then after deleting the table using the drop statement, you may also delete the underlying hdfs data directory by issuing the hdfs dfs -rm command. Truncate Statement: Truncate table statement is used to remove only the data from the table. The table structure with the schema remains intact. Truncate removes all the rows from a table or partition. The syntax is highlighted below. TRUNCATE table syntax TRUNCATE TABLE TABLENAME;
Views: 780 BigDataElearning
Truncate All Tables from a SQL Server Database - TSQL Tutorial
 
10:09
Let's think about a database that we use for our ETL process and we call that database staging. We want to truncate all the tables in morning so those can be used for the daily process. Once way is to write our Truncate statement for each of the table but tables can be dropped or new tables can be created as well. We want to write a query that we can be use to Truncate all the tables from a database and we don't have to rewrite our Truncate statements. If the tables do not have Primary Key -Foreign Key relationship, we can use Truncate. But we often have tables which are referenced by other tables. We can not use Truncate statement for those tables. The only way to Truncate those tables is to drop the Foreign Key Constraint before Truncating and then Truncate and Recreate Relationship after that. The below Code can be used to Truncate all the tables from the database. If Tables will have the Pk-Fk relationship, The script will drop the Foreign Key Constraints first and then Truncate those tables and finally recreate the Foreign Key constraints. Before you run below Script, Make sure you are pointing to correct Database and Server! All the best with Truncating all the tables from a SQL Server Database. Link to Blog for Script used in this video http://sqlage.blogspot.com/2015/02/truncate-all-tables-in-database-in-sql.html You can visit our blog http://sqlage.blogspot.com/ Twitter https://twitter.com/AamirSh48904922 Facebook https://www.facebook.com/SqlAge
Views: 31129 TechBrothersIT
Dropping Tablesapce in oracle 12c (DIFFERENT METHODS)
 
04:25
The Oracle DROP TABLESPACE command is used to remove a tablespace from the database. In the following example, we will drop the USELESS tablespace from our database using the Oracle DROP TABLESPACE command: Drop tablespace useless; The Oracle DROP TABLESPACE command Oracle will generate an error if objects reside in the tablespace. Do the following to remove all objects in the tablespace prior to using Oracle DROP TABLESPACE command: Drop tablespace useless including contents; Oracle does not clean up after itself wile using the Oracle DROP TABLESPACE command by default. An option exists to force Oracle to clean up after itself using the Oracle DROP TABLESPACE command. The following example illustrates the Oracle DROP TABLESPACE command used with the including contents and datafiles keywords: Drop tablespace useless including contents and datafiles;
Views: 112 Mohammad Taseen
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: 57983 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: 34349 Manish Sharma
SQL Tutorial - How to grant System and Object Privileges in Oracle Database
 
18:08
In this session I Explaining the Theory of Granting and Revoking System and Object privileges.... by Lalit saini
Views: 10029 Oracle World
How to delete a specific database object from the recycle bin in oracle database
 
03:34
How to delete a specific database object from the recycle bin in oracle database ========================================================== purge table schema.tablename; (dba using sys user) purge table tablename (user) 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: 246 Praveen Biyyapu
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: 157236 Manish Sharma
MySQL Tutorial how to use delete truncate drop table and database in workbench
 
05:04
MySQL Workbench is a visual database design tool that integrates SQL development, administration, database design, creation and maintenance into a single integrated development environment for the MySQL database system. It is the successor to Db Designer 4 from fabFORCE.net, and replaces the previous package of software, MySQL GUI Tools Bundle. MySQL Workbench is a unified visual tool for database architects, developers, and DBA's. MySQL Workbench provides data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more. MySQL Workbench is available on Windows, Linux and Mac OS X. Check out our website: http://www.telusko.com Follow Telusko on Twitter: https://twitter.com/navinreddy20 Follow on Facebook: Telusko : https://www.facebook.com/teluskolearnings Navin Reddy : https://www.facebook.com/navintelusko Follow Navin Reddy on Instagram: https://www.instagram.com/navinreddy20 Subscribe to our other channel: Navin Reddy : https://www.youtube.com/channel/UCxmkk8bMSOF-UBF43z-pdGQ?sub_confirmation=1 Telusko Hindi : https://www.youtube.com/channel/UCitzw4ROeTVGRRLnCPws-cw?sub_confirmation=1
Views: 7632 Telusko Learnings
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: 92511 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: 1091 jbleistein11
How to Change Schema of an Object in SQL Server Database-SQL Server / T-SQL Tutorial Part 28
 
08:12
SQL Server / TSQL Tutorial How to Change Schema of an Object(Table,View,Stored Procedure) in SQL Server Database Link for script used in the video http://www.techbrothersit.com/2016/02/how-to-change-schema-of.html Scenario: You are working as SQL Server developer in Life Insurance Company. They have Database Name TechBrothersIT and one of the Schema name the objects are using is TB. They have given you assignment to Rename the Schema to LIFE.How would you do that? Solution: There is no straight forward way to rename a schema in SQL Server Database. We have to follow below steps to make this change. Step 1: Create a New Schema Step 2: Transfer the Objects to New Schema. 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: 6355 TechBrothersIT
USER MANAGEMENT CREATE USER DROP USER   CASCADE
 
07:46
USER MANAGEMENT HOW TO CREATE A USER ===================== create user naveen identified by naveen; create user pavan identified by pavan default tablespace king; HOW TO DROP USER ================= drop user naveen; (it will work if no objects) drop user pavan cascade; HOW TO GRANT ORACLE PREDEFINED ROLES TO USER ============================================ grant connect,resource to naveen; select * from session_privs; set lines 180 pages 200 col username for a30 select username,default_tablespace,temporary_tablespace from dba_users where username like '&user';
Views: 350 Praveen Biyyapu
Oracle Database 12c: Table Recovery from Backups (part 1 of 2)
 
05:46
This video shows you how to recover a table from a backup without affecting other objects in your schema. This functionality is new to Oracle Database 12c. 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.
Using Oracle Metadata to your Advantage Explained with real scenarios.
 
17:15
In this video I have explained who you can use the Oracle metadata tables to your advantage with real project scenarios and situations. The video is a little descriptive it gives you much more than just the syntax and the tables. All database offer a bunch of tables using which you can make smart inferences about your data,process and health of the database. I have explained the below tables in this video and how to use them smartly 1.All_Source 2.all_objects 3.All_tables 4.all_tab_cons 5.all_constraints I will be sharing more such places where we can use these metadata queries so don't forget to subscribe to my channel. If you can questions/clarifications just drop a comment and I will be more than happy to solve your queries.
Views: 1672 Tech Coach
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: 1313 Manish Sharma
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: 167 Saurabh Joshi
Generate Add/Drop  Column Statement for all the tables in a Database in SQL Server- SQL Part 49
 
12:06
SQL Server / TSQL Tutorial Scenario: Generate Add/Drop Column Statement for all the tables in a Database in SQL Server You are working in Auto Insurance Company as SQL Server Developer. Your company has a database in which they have more than 300 Tables. In initial design, they forgot to add Audit columns such as CreatedBy and CreatedOn. They want you to generate Add Column CreatedBy and CreatedOn for all the Tables in a Database, How would you do that? Link to scripts used in the video http://www.techbrothersit.com/2016/02/how-to-generate-add-column-statement.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: 942 TechBrothersIT
PL/SQL tutorial : Trigger in Oracle Database 11g Complete guide
 
26:21
Learn in depth about trigger in oracle database 11g, and usage of trigger in Database, different types of trigger with syntax for various events along with writing advance trigger and capturing all details regarding authentication. Explained Instead of trigger. Trigger in Oracle, Trigger in PL/SQL, Oracle Trigger, PL/SQL Trigger, What is Trigger in pl/sql, How to use Trigger in pl/sql, How to write a Trigger in oracle, How to design Trigger in pl/sql, DDL trigger, DML trigger, Instead of trigger, Compound trigger, Logon trigger, Introduction to Triggers You can write triggers that fire whenever one of the following operations occurs: DML statements (INSERT, UPDATE, DELETE) on a particular table or view, issued by any user DDL statements (CREATE or ALTER primarily) issued either by a particular schema/user or by any schema/user in the database Database events, such as logon/logoff, errors, or startup/shutdown, also issued either by a particular schema/user or by any schema/user in the database Triggers are similar to stored procedures. A trigger stored in the database can include SQL and PL/SQL or Java statements to run as a unit and can invoke stored procedures. However, procedures and triggers differ in the way that they are invoked. A procedure is explicitly run by a user, application, or trigger. Triggers are implicitly fired by Oracle when a triggering event occurs, no matter which user is connected or which application is being used. How Triggers Are Used Triggers supplement the standard capabilities of Oracle to provide a highly customized database management system. For example, a trigger can restrict DML operations against a table to those issued during regular business hours. You can also use triggers to: Automatically generate derived column values Prevent invalid transactions Enforce complex security authorizations Enforce referential integrity across nodes in a distributed database Enforce complex business rules Provide transparent event logging Provide auditing Maintain synchronous table replicates Gather statistics on table access Modify table data when DML statements are issued against views Publish information about database events, user events, and SQL statements to subscribing applications Linkedin: https://www.linkedin.com/in/aditya-kumar-roy-b3673368/ Facebook: https://www.facebook.com/SpecializeAutomation/
Views: 6372 Specialize Automation
PL/SQL tutorial 15: DML Trigger With Before Insert, Update and Delete DML Examples
 
09:17
PL/SQL Tutorial 15 explaining DML Trigger with examples such as Before Insert, Update and Delete in Detail. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/dml-triggers Previous Tutorial ► Trigger Intro : https://youtu.be/R3fvX_xf5P4 ► SELECT-INTO : https://youtu.be/F5eMJhwmCQs ►IF-THEN-ELSIF: https://youtu.be/aW9XgUHSr0I ------------------------------------------------------------------------- ►►►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: 86776 Manish Sharma
how to un drop table in oracle
 
06:55
how to un drop table in oracle
Views: 217 jamaal khan
Oracle SQL PLSQL 12C Tutorial 13 - DELETE Statement
 
03:27
This Video Tutorial Will Describe how to delete a row or delete data which is already inserted into the table in oracle 12C version. This command will also work on other versions of database like Oracle 11g Database, Oracle 10g Database, Oracle 9i Database, Oracle 8i Database, Oracle 8 Database and so on. Sometimes you delete to delete some unwanted rows or data from the table. Delete command is used to do that. But it does not permanently delete rows, you can restore or rollback the deleted rows before commit. Full Syntax will be given in this video tutorial about how to insert records in oracle database table. Along with the live example to delete rows from the table. All the keywords, format, mandatory clauses etc are described in this video.
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: 82330 kudvenkat
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: 22447 Manish Sharma
Oracle SQL Developer: Product Demonstration
 
01:04:26
60 minute overview of the product including a demo. Bookmarks, as this is a LONG Video: 09:32 - Release History 12:38 - Feature List/Summary 17:25 - End of PPT Show, Live Demo The Worksheet 42:27 - Exploring your Schema with the GUI 48:15 - Working with PL/SQL 54:22 - Using the Debugger 59:30 - Reports 1:02:30 - How to find objects
Views: 26433 Jeff Smith
Migration Wizard - Translating SQL Objects
 
02:59
This demo shows how SQL Objects from the source database are translated into Oracle SQL. 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 DBA Justin - How to drop/delete a basic PL/SQL procedure
 
07:43
Oracle DBA Justin - How to drop/delete a basic PL/SQL procedure
Views: 1421 jbleistein11
Audit table changes in sql server
 
06:45
sql server 2008 ddl trigger audit sql server table changes tracking In this video we will discuss, how to audit table changes in SQL Server using a DDL trigger. Table to store the audit data Create table TableChanges ( DatabaseName nvarchar(250), TableName nvarchar(250), EventType nvarchar(250), LoginName nvarchar(250), SQLCommand nvarchar(2500), AuditDateTime datetime ) Go The following trigger audits all table changes in all databases on a SQL Server. CREATE TRIGGER tr_AuditTableChanges ON ALL SERVER FOR CREATE_TABLE, ALTER_TABLE, DROP_TABLE AS BEGIN DECLARE @EventData XML SELECT @EventData = EVENTDATA() INSERT INTO SampleDB.dbo.TableChanges (DatabaseName, TableName, EventType, LoginName, SQLCommand, AuditDateTime) VALUES ( @EventData.value('(/EVENT_INSTANCE/DatabaseName)[1]', 'varchar(250)'), @EventData.value('(/EVENT_INSTANCE/ObjectName)[1]', 'varchar(250)'), @EventData.value('(/EVENT_INSTANCE/EventType)[1]', 'nvarchar(250)'), @EventData.value('(/EVENT_INSTANCE/LoginName)[1]', 'varchar(250)'), @EventData.value('(/EVENT_INSTANCE/TSQLCommand)[1]', 'nvarchar(2500)'), GetDate() ) END In the above example we are using EventData() function which returns event data in XML format. Text version of the video http://csharp-video-tutorials.blogspot.com/2015/09/audit-table-changes-in-sql-server.html Slides http://csharp-video-tutorials.blogspot.com/2015/09/audit-table-changes-in-sql-server_12.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 Full SQL Server Course https://www.youtube.com/playlist?list=PL4cyC4G0M1RQ_Rm52cQ4CcOJ_T_HXeMB4 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
Views: 34657 kudvenkat
PL/SQL tutorial 82: How to Execute DDL statements with Execute Immediate Dynamic SQL
 
10:32
Native Dynamic SQL - Learn how to execute CREATE TABLE DDL statement using EXECUTE IMMEDIATE in Oracle Database by Manish Sharma ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/NDS-3 What Is A #Data Warehouse? http://bit.ly/the-data-warehouse Previous Tutorial ► Introduction to Dynamic SQL: https://youtu.be/Yzk1zENbhg4 ► Introduction to Execute Immediately: https://youtu.be/47KzYVBNbIs ► Create Table: https://youtu.be/UU0EEfpa-2c ►Alter Table: https://youtu.be/8yAaO_ySTkw ------------------------------------------------------------------------- ►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: 2040 Manish Sharma
Finding Database Columns By Name in Oracle SQL Developer
 
05:11
How to find all columns in your Oracle Database by searching on the name.
Views: 4506 Jeff Smith
Create Table, Inser Updaet Delete data in Oracle
 
03:05
You can GRANT and REVOKE privileges on various database objects in Oracle. We'll first look at how to grant and revoke privileges on tables and then how to grant and revoke privileges on functions and procedures in Oracle.
Views: 57 Sokh Phearak Rin