Home
Search results “Oracle select from dropped table”
How to recover a dropped table in oracle?
 
16:52
This is a free tutorial video on how to use the FLASHBACK TABLE query to restore a dropped table in oracle, and we have given some useful information on PURGE, RECYCLEBIN and shown some demo on how to restore a dropped table in oracle.
Views: 1791 Kishan Mashru
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: 55471 radhikaravikumar
How to recover dropped table using flashback
 
06:13
In this video i'm going to show you how to recovery dropped table using flashback step by step.
Views: 3285 OCP Technology
4.ORACLE WORLD - How to Recover drop table from Recyclebin using Flashback in oracle database
 
07:57
Hello guys in this demo I'm just showing to you that we can easily recover the dropped table from recyclebin in oracle using flashback technology very fast without shutdown the database... By lalit saini
Views: 4680 Oracle World
How To Recover Drop Table Using Flashback Query
 
04:29
How To Recover Drop Table Using Flashback Query Oracle 11g
Views: 279 Burhan Ali
Recovery of Dropped Table using until time by RMAN
 
11:05
Hello friends in this demo i am explain about Recovery of dropped table using until time by RMAN (recovery manager).Oracle database Unbeatable,Unbreakable Platform..
Views: 4760 Oracle World
SQl and PLSQl INTERVIEW 4-HOW TO RECOVER DROPPED  TABLES
 
10:23
In this Video , We can see How to recover Dropped Object and Use of PURGE,FLASHBACK and RECYCLEBIIN..
Views: 296 Manikandan R
How To Recover Drop Table Using Flashback Query
 
05:12
Hi.. Guys In This Video We Learn How To Recover Drop Table Using Flashback Query In Oracle 11g On Windows Cover Following Point In This Video 1. Create Table 2. Insert Record In Created Table 3. Drop Table 4. Recycle bin 5. Recover Table Using Flashback
Views: 150 PGT POINT
Oracle tutorial : Recover deleted rows in Oracle PL SQL using flashback
 
10:59
Oracle tutorial : Recover deleted rows in Oracle using flashback oracle tutorial for beginners oracle recover deleted rows In this video, we have used as of timestamp concept of oracle. Example : select * from table as of timestamp(systimestamp-interval '1'minute ) Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1438 Tech Query Pond
Creating  Managing  Droping Oracle Database Tablespaces
 
12:10
Creating Managing Droping Oracle Database Tablespaces select tablespace_name,block_size,status,contents,logging from dba_tablespaces; create tablespace mytbs datafile 'd:\oradata\dbrdbms\mytbs01.dbf' size 10m; alter tablespace mytbs add datafile 'd:\oradata\dbrdbms\mytbs02.dbf' size 10m; alter tablespace mytbs drop datafile 'd:\oradata\dbrdbms\mytbs02.dbf'; desc v$datafile; desc ts#,name from v$datafile; select ts#,name from v$tablespace; select v$datafile.ts#,v$datafile.name,v$tablespace.name from v$datafile,v$tablespace where v$datafile.ts#=v$tablespace.ts# and v$tablespace.name='MYTBS'; alter database datafile 'd:\oradata\dbrdbms\mytbs01.dbf' resize 20m; ALTER DATABASE DEFAULT TABLESPACE mytbs; select ts#,name from v$tablespace; select ts#,name from v$datafile; select ts#,name from v$tablespace; drop tablespace mytbs; drop tablespace mytbs ialtncluding contents and datafiles; drop tablespace mytbs including contents and datafiles cascade; alter tablespace mytbs read only; alter tablespace mytbs read write; alter tablespace mytbs force logging; alter tablespace mytbs nologging; alter tablespace mytbs flashback on; alter tablespace mytbs flashback off; purge tablespace mytbs user myuser;
Views: 19995 Abbasi Asif
How to Create and Drop Table in SQL
 
01:53
Follow this easy step by step easy tutorial to learn how to create and drop table in SQL Server via Query Editor. Don't forget to check out our site http://howtech.tv/ for more free how-to videos! http://youtube.com/ithowtovids - our feed http://www.facebook.com/howtechtv - join us on facebook https://plus.google.com/103440382717658277879 - our group in Google+ In this tutorial we will guide you on creating tables in SQL Server. As we know, the main components in databases are the tables, in which the data actually resides. Tables contain rows and columns, where columns act like the entity identifiers such as employee name, employee salary etc and rows contain the data values for those entities. So in this tutorial we will see how to create tables in SQL Server. Step 1 -- Navigating to the Desired Database Creating tables in SQL server is very easy. It can be done via commands which have to be written in the Query Editor. For that, first of all, let's move to the database where the table has to be created. Expand the Databases folders from top and further expand the required database inside which table has to be created. After that, right click on that Database and open up the Query Editor. Step 2 -- Creating Table In the Query Editor we will write the following queries: create table Inventory ( ID int, Product varchar(50), Quantity int, Price decimal (18,2) ); The query here means that we are interested to create a new table which would be called Inventory. It will have an ID column for the Product Ids and its Data type would be an Integer. It will have a column for Products containing the product names, so its data type would be Varchar. It will also contain a Quantity field with Integer set as its data type And last of all, a column for Price that will accept data as real numbers. Therefore we will declare its type as decimal and set its maximum length as 18 with a precision of 2 decimal places. After that is done, click on the Execute Button on top. A message will appear below the Query Editor that the query has been executed successfully. Step 3 -- Identifying the Table Now for verifying whether the table has been made, just click on the Tables icon and then on the Refresh Icon, located under the Object Explorer. With that done, our newly created Inventory table would appear over there. Click on the Inventory table and expand its columns. The fields would appear to be created exactly like we had mentioned in the query earlier. Step 4 -- Drop Table Now let's move on to how to drop tables in SQL. To delete a table and all of its contents, we use the DROP table command in SQL. Over here, let's drop the table we just made. For that, simply write: drop table Inventory With that done, let's execute the command. Now when we will Refresh the Object Explorer, we can see that the Inventory table has been deleted. And that was how to create table in SQL.
Restore table from recyclebin in oracle 11g
 
02:01
Restore table from recyclebin in oracle 11g
Views: 374 Education Online
11 drop and recover table
 
04:11
oracle sql dovelper vedios
Views: 51 DM Bilawal
DB2 LUW v11.1: Recover Dropped Tables
 
05:21
Please view the full copyright statement at: http://public.dhe.ibm.com/software/data/sw-library/services/legalnotice.pdf
How To Configure Oracle Database in Flashback Mode
 
11:39
How To Configure Oracle Database in Flashback Mode; Configure Flashback related parameters; Enable / Disable Flashback mode
Views: 11375 Abbasi Asif
How to Generate Drop Table Statement for all the tables in a database - SQL Server Tutorial Part 48
 
04:49
SQL Server / TSQL Tutorial Scenario: How to Generate Drop Table Statement for all the tables in a database You are working as SQL Server developer in Credit Card Company. You need to generate Drop Table statements for all the tables in Database TechBrothersIT that you are using as Staging for Data Loading process. How would you do that? Link to scripts used in the video http://www.techbrothersit.com/2016/02/how-to-generate-drop-table-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: 1864 TechBrothersIT
2.ORACLE WORLD - Recovery of Drop Table with purge condition using Current SCN Number in Flashback
 
06:35
Hello friends in this video we learn about that how to recover a permanent dropped table using current SCN number in Oracle database using Flashback Technology ... By Lalit saini
Views: 2351 Oracle World
How To Flashback a Table to particular SCN in Oracle
 
08:38
How To Flashback a Table to particular SCN in Oracle
Views: 5623 Abbasi Asif
Recover Table From RMAN Backup | 12c New Feature | RMAN Tutorial For Beginners
 
13:04
Oracle 12c introduced a new feature on RMAN ie 'Recover Table' ,which helps in recovering a dropped table using RMAN . In this video we through the detailed explanation of this new feature. This video is the part of our RMAN elearning video course . Please visit www.wysheid.com for more deails
Views: 480 Wysheid Wysheid
How to drop an object, and then recover it from the Oracle recycle bin
 
02:53
How to drop an object, and then recover it from the Oracle recycle bin ========================================================== select base_object from recyclebin; flashback table tablename to before drop; create table ============= create table fish as select * from tab; insert data into table ====================== insert into fish select * from tab; insert into fish select * from fish; drop table =========== drop table fish; how to recover it from recyclebin ================================== flashback table fish to before drop;
Views: 223 Praveen Biyyapu
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: 83951 kudvenkat
flashback query in oracle
 
02:52
in this tutorial i teach flashback query in oracle
RECOVER LOST  DataFile
 
15:33
DATAFILE file Lost ================================ Archive log mode-Enabled create tablespace test_ts datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' size 10M; create table testtable (id number(5))tablespace test_ts; insert into testtable (id) select * from testtable; SQL>select count(*) from testtable; COUNT(*) ---------- - before deleting datafile 524288 SQL>select count(*) from testtable; COUNT(*) ---------- - After recovery 524288 select tablespace_name, segment_name from dba_segments where segment_name = 'TESTTABLE'; alter system flush buffer_cache; alter database create datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' as '/u01/app/oracle/oradata/testdb/ts_test02.dbf' alter database datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' offline drop; alter database create datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' as '/u01/app/oracle/oradata/testdb/ts_test02.dbf' recover datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf'; alter database datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' online; select count(*) from TESTTABLE; =================================================== Please like,subscribe my channel. Kindly contact for online training on below contacts. Emai: [email protected] Mob No: +91 9960262955 ====================================================== Hi Folks, Greetings!! I am professional part time oracle dba trainer and having good experience in oracle database administration. This is the right place to enroll yourself for Oracle DBA real time course. Please use following email ID for more details. Don’t hesitate to WhatsApp me any time. I will give you the best training and will create path to get DBA job easily. Enjoy the free YouTube video and connect with me for deep Oracle DBA knowledge. Mobile No : + 91 9960262955 (WhatsApp Number) EmailID: [email protected]
Views: 613 ANKUSH THAVALI
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: 94359 Manish Sharma
How to return multiple values from a function in oracle pl/sql ? (without using out parameter)
 
14:19
This video demonstrates how a function can return multiple values to the calling environment, but without using multiple out parameters, the video shows an example on how we can create a object, a nested table based on the object and then returning the nested table type from the function.
Views: 15642 Kishan Mashru
Flashback Query
 
01:58
This video gives an overview of the Flashback Query functionality in Oracle, which can be used to display data how it was at a previous point in time. For more information see: https://oracle-base.com/articles/10g/flashback-10g Website: https://oracle-base.com Blog: https://oracle-base.com/blog Twitter: https://twitter.com/oraclebase Cameo by Dina Blaschczok : Twitter : https://twitter.com/DinaBlaschczok Cameo appearances are for fun, not an endorsement of the content of this video. All trademarks, product names and logos are the property of their respective owners.
Views: 1682 ORACLE-BASE.com
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: 1522 OrSkl Academy
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: 208 Praveen Biyyapu
Drop Table and Flashback Table Statements
 
12:59
Drop table And Flashback Table Statements , Purge Table, Recycle bin, RECOVER Table etc...
Views: 138 Data Science Center
3.ORACLE WORLD - Flashback Table Point in time Recovery in oracle
 
09:52
Hello friends in this demo we learn about how to perform a flashback point in time recovery on table in Oracle database,one important thing is that flashback not supported on SYS user objects... By Lalit Saini
Views: 3271 Oracle World
How to recover truncated table without backup in oracle
 
12:22
TRY PRM For Oracle Database , FULL GUI supported, easy to use, written in Java cross platform . PRM can help user recover data from truncated table or corrupted database!
67. DROP TABLE or Delete Table from database in SQL (Hindi)
 
01:38
Please Subscribe Channel Like, Share and Comment Visit : www.geekyshows.com
Views: 5636 Geeky Shows
061-Oracle SQL 12c: Set unused option -read only- drop table
 
15:17
تعلم اوراكل حتى الاحتراف تعلم اوراكل من الصفر
Views: 1185 khaled alkhudari
7.ORACLE WORLD-FLASHBACK TRANSACTION QUERY
 
14:43
Hi guys today we will learn how to perform flashback transaction query to find out the DDL that performed by users.Oracle database Unbeatable,Unbreakable Platform..
Views: 1300 Oracle World
Restore dropped tables in Microsoft SQL Server using Ontrack PowerControls
 
01:27
In this demonstration, we will show how quick and easy it is to restore dropped tables in Microsoft SQL Server using Ontrack PowerControls for SQL. Granular restoration that once took hours now only takes minutes!
Views: 2785 Ontrack UK
5.ORACLE WORLD - How to perform Flashback Query at the specified point in time
 
07:44
Hi welcome in my oracle world in this video im explaining about flashback query at the specified point in time in Oracle database Unbeatable,Unbreakable Platform.. By lalit saini
Views: 2007 Oracle World
Flashback Query Oracle Database||  Recovery Deleted Row
 
05:41
MD.Rahim Uddin Shohag Founder - Oracle Bangla https://www.oraclebangla.com/ fb :: https://www.facebook.com/oracle.shohag email: [email protected] Recovery Deleted Row in Oracle using Flashback Query ============================================ i'm show you how to recovery Deleted row in oracle database following Step :: ================== /* FLASHBACK QUERY NO NEED DBA */ CREATE TABLE DEMO_CUSTOMER ( CUST_ID NUMBER CONSTRAINT DEMO_CUSPRIMARY PRIMARY KEY, CUST_NAME VARCHAR2(100 BYTE), CUST_ADDRESS VARCHAR2(200 BYTE), CUST_PHONE VARCHAR2(15 BYTE), CUST_WEBSITE VARCHAR2(100 BYTE), CREATE_DATE DATE DEFAULT SYSDATE ); SELECT SYSDATE FROM DUAL; --------------- INSERT RECORD --------- INSERT INTO DEMO_CUSTOMER VALUES(100,'SHOHAG','DHAKA','121212','www.oraclebangla.com',SYSDATE); INSERT INTO DEMO_CUSTOMER VALUES(101,'RAHIM','Feni','121212','www.google.com',SYSDATE); INSERT INTO DEMO_CUSTOMER VALUES(103,'Rubel','karwan bazar','121343','www.obn.com',SYSDATE); INSERT INTO DEMO_CUSTOMER VALUES(104,'Karim','DHAKA','1212432','www.OCA.com',SYSDATE); COMMIT; SELECT * FROM DEMO_CUSTOMER; SELECT COUNT(*) FROM DEMO_CUSTOMER SELECT SYSDATE FROM DUAL; ---- AFTER FEW MINUTE -------- DELETE FROM DEMO_CUSTOMER WHERE CUST_ID = 100; DELETE FROM DEMO_CUSTOMER WHERE CUST_ID = 101; DELETE FROM DEMO_CUSTOMER WHERE CUST_ID = 103; COMMIT; SELECT * FROM DEMO_CUSTOMER; SELECT COUNT(*) FROM DEMO_CUSTOMER -----Way No 1 AFTER 1 MINIUTE ---------- SELECT * FROM DEMO_CUSTOMER AS OF TIMESTAMP (SYSTIMESTAMP -INTERVAL '1' MINUTE) ; SELECT COUNT(*) FROM DEMO_CUSTOMER; SELECT * FROM DEMO_CUSTOMER; /* IF SPECIFIC TIME FINDE DATA HISTORY */ ---- why no 2 SELECT * FROM DEMO_CUSTOMER AS OF TIMESTAMP TO_TIMESTAMP('21-02-2018 04:24:40 PM','DD-MM-RRRR HH:MI:SS AM'); ---============== recovery data ============= SELECT * FROM DEMO_CUSTOMER; --------------------------- SPECIFIC DATA RECOVERY -------------------------- SELECT * FROM DEMO_CUSTOMER AS OF TIMESTAMP (SYSTIMESTAMP -INTERVAL '2' MINUTE); INSERT INTO DEMO_CUSTOMER (SELECT * FROM DEMO_CUSTOMER AS OF TIMESTAMP (SYSTIMESTAMP -INTERVAL '2' MINUTE) WHERE CUST_ID = 101); COMMIT; SELECT * FROM DEMO_CUSTOMER; --- RECOVERY SINGEL RECORD FLASHBACK 2ND WAY SELECT * FROM DEMO_CUSTOMER AS OF TIMESTAMP TO_TIMESTAMP('21-02-2018 04:24:40 PM','DD-MM-RRRR HH:MI:SS AM'); INSERT INTO DEMO_CUSTOMER ( SELECT * FROM DEMO_CUSTOMER AS OF TIMESTAMP TO_TIMESTAMP('21-02-2018 04:24:40 PM','DD-MM-RRRR HH:MI:SS AM') WHERE CUST_ID = 100 ); COMMIT; SELECT * FROM DEMO_CUSTOMER; ---IF YOU RECOVERY DATA ALL DELETE RECORD JUST SIMPLE TECHNIC ----- SELECT * FROM DEMO_CUSTOMER AS OF TIMESTAMP TO_TIMESTAMP('21-02-2018 04:24:40 PM','DD-MM-RRRR HH:MI:SS AM') MINUS SELECT * FROM DEMO_CUSTOMER INSERT INTO DEMO_CUSTOMER( SELECT * FROM DEMO_CUSTOMER AS OF TIMESTAMP TO_TIMESTAMP('21-02-2018 04:24:40 PM','DD-MM-RRRR HH:MI:SS AM') MINUS SELECT * FROM DEMO_CUSTOMER); COMMIT; SELECT * FROM DEMO_CUSTOMER; SELECT COUNT(*) FROM DEMO_CUSTOMER; ------ IF YOU UPDATE RECORD FLASHBACK QUERY CHECK --- UPDATE DEMO_CUSTOMER SET CUST_NAME = 'Oracle' WHERE cust_id = 104; commit; SELECT * FROM DEMO_CUSTOMER; SELECT * FROM DEMO_CUSTOMER AS OF TIMESTAMP TO_TIMESTAMP('21-02-2018 04:24:40 PM','DD-MM-RRRR HH:MI:SS AM') WHERE CUST_ID = 104 SELECT * FROM DEMO_CUSTOMER AS OF TIMESTAMP TO_TIMESTAMP('21-02-2018 04:30:00 PM','DD-MM-RRRR HH:MI:SS AM') WHERE CUST_ID = 104
Views: 448 Oracle Bangla
SQL tutorial 61: SEQUENCE in Oracle Database By Manish Sharma RebellionRider
 
08:05
This tutorial is all about Sequence In Oracle Database. In this SQL Tutorial you will learn How to create a sequence How to populate a Primary key column (auto increment in Oracle) using Sequence How to drop a sequence ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/sql-sequence-in-oracle-database-rebellionrider-manish-sharma Previous Tutorial ► How To Insert Data into Table using SQL Developer http://youtu.be/YYQCSV6MzTk ► INSERT INTO Command http://youtu.be/uQXgqFtxI_k ► How to copy /Insert data into a table from another table http://youtu.be/m3Ep8tAMqok ------------------------------------------------------------------------- ►►►Help Me In Getting A Job◄◄◄ ►Help Me In Getting A Good Job By Connecting With Me on My LinkedIn and Endorsing My Skills. All My Contact Info is Down Below. You Can Also Refer Me To Your Company Thanks ------------------------------------------------------------------------- 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 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: 38991 Manish Sharma
ORACLE TUTORIAL - Flashback versions query Part - 3
 
11:36
How to use ORACLE Flashback versions Query step by step.
Views: 813 OCP Technology
SQL: Backup & Recovery Part-1
 
09:29
In this tutorial, you'll learn how to take backup and restore the same when the tables/schema are dropped...
Views: 4838 radhikaravikumar
6.ORACLE WORLD - How to perform Flashback Version Query in Oracle database
 
10:57
Hello friends in this scenario i have explain about flashback version query in oracle database flashback version query is provide analysis of sql statement b/w different of time. By lalit saini
Views: 1913 Oracle World
SQL Drop Table Command
 
00:50
SQL Drop Table Command
Views: 92 Professor Saad
Oracle- Flashback Technologies
 
17:38
This will give in depth idea about flash technologies in oracle.
Views: 4114 Satyajit Mukherjee
Difference between Delete and Truncate and Drop in Oracle Sql
 
14:04
This is a free tutorial on understanding difference between drop, delete and truncate statements. I have tried to cover most of the major difference between all these three statements and have also shown the same with simple and easy to understand examples. Hope it will be helpful to all. If you want more such videos of exciting and amazing 'difference between' concepts, check out the links below : union and union all : https://youtu.be/n9FqQOd8liY char and varchar2 : https://youtu.be/039qzwjWf4k replace and translate : https://youtu.be/HKYF77BGzOE procedure and function : https://youtu.be/q3LmOenL120 in and exists : https://youtu.be/REX4IjRYlFw rank and dense_rank : https://youtu.be/WGSX998hZ9M %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 1474 Kishan Mashru
ORACLE SQL 41: Create & Drop View
 
07:36
http://studyandshare.wordpress.com/ http://www.facebook.com/groups/studyandsharevn/
Views: 746 studyandsharevn
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: 35813 kudvenkat
Oracle Database Cloning via RMAN Restore Recover Method
 
23:58
https://dbagenesis.com/p/oracle-advanced-rman-backup-recovery RMAN has the ability to duplicate, or clone, a database from a backup or from an active database. It is possible to create a duplicate database on a remote server with the same file structure, a remote server will a different file structure or the local server with a different file structure. Cloning the database on the remote host requires two servers. Both servers should have Oracle Software installed on them.
Views: 797 DBA Genesis
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: 8140 Telusko