Home
Videos uploaded by user “Kishan Mashru”
IN VS EXISTS VS JOIN, performance
 
05:04
This video demonstrates the performance effects of using an exists clause instead of an IN clause, also it shows how we can update a simple sub query having an IN clause with an EXISTS or JOIN statement. It also shows that joining would consider the null data, where as an IN clause would neglect null values. 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 rank and dense_rank : https://youtu.be/WGSX998hZ9M delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 9620 Kishan Mashru
GLOBAL TEMPORARY TABLE (GTT) IN ORACLE SQL WITH EXAMPLES
 
13:33
This video demonstrates the usage and working of GTT in oracle SQL. The video shows how internally oracle works with GTT, and also explains the working of ON COMMIT DELETE ROWS and ON COMMIT PRESERVER ROWS in oracle with easy examples.
Views: 6594 Kishan Mashru
HOW TO IDENTIFY AND DELETE DUPLICATE ROWS USING ROWID AND GROUPBY IN ORACLE SQL
 
07:53
This video demonstrates examples on how to find and delete duplicate records from a table. The video gives simple and easy to understand examples on finding duplicate records from a table using group by and having clause and row_number function. It also shows the ways in which duplicates can be deleted very efficiently using the rowid of that record. You can get the code from our website http://oracleplsqlblog.com/FullBlog/FullBlog/21
Views: 6983 Kishan Mashru
Difference between view and materialized view
 
06:28
This video is a free tutorial on the difference between views and materialized views. The tutorial demonstrates the difference between oracle pl/sql view and an MV through a detailed explanation of sections such as data storage, refresh option, query tuning option and performance benchmark. By learning the difference the users can make an effective judgment on when to use view and when to use a materialized view. Video on Views: https://youtu.be/9mGQ6XdyAP0 Video on MV: https://youtu.be/7PklhTCNxxw If you want more such videos of exciting and amazing 'difference between' concepts, check out the links below: procedure and function: https://youtu.be/q3LmOenL120 union and union all: https://youtu.be/n9FqQOd8liY char and varchar2: https://youtu.be/039qzwjWf4k replace and translate: https://youtu.be/HKYF77BGzOE in and exists: https://youtu.be/REX4IjRYlFw rank and dense_rank: https://youtu.be/WGSX998hZ9M delete and truncate: https://youtu.be/u76wMm2byXo %type and %rowtype: https://youtu.be/MlLUFeZ_3eM
Views: 4259 Kishan Mashru
Difference between Case and Decode
 
10:14
This video tutorial explains on how case statement and decode function are different from each other. Though both of them are used in giving the if-then-else conditional functionality to sql statement, they differ much from each other, this video will walk through each of the difference with appropriate examples. If you want more such videos of exciting and amazing 'difference between' concepts, check out the links below : 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 delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 9233 Kishan Mashru
ORACLE SQL INTERVIEW QUESTION : HOW TO SELECT ODD OR EVEN ROWS FROM A TABLE IN ORACLE
 
03:52
This video tutorial answers the frequently asked interview question, how to select only odd or even records in oracle sql, after watching this video you will understand more on the topic and will be able to answer this interview question with a lot of confidence.
Views: 2932 Kishan Mashru
ORACLE SQL INTERVIEW QUESTION : DIFFERENCE BETWEEN DELETE AND TRUNCATE
 
10:56
This video tutorial is on frequently asked interview question like the difference between delete and truncate statement in oracle sql, after watching this video you will understand more on the difference between both the statements and will be able to answer this interview question with a lot of confidence. Link to know more on HVM in oracle please refer to the link : https://youtu.be/uZ9BwzZx6lI
Views: 3465 Kishan Mashru
How to solve ORA-28000: the account is locked
 
02:48
This video demonstrates how to solve the ORA-28000: the account is locked error. When we try to connect to a schema that has been locked by the DBA or by wrong password attempts then the error ORA:28000 is encountered. This video will demonstrate the ways in which the error can be resolved. To get the queries shown in the video, you can visit our website http://oracleplsqlblog.com/FullBlog/FullBlog/23
Views: 12122 Kishan Mashru
Materialized Views in Oracle ( Part - 1 Introduction)
 
12:04
This video explain on Materialized View in Oracle, states various advantages of Materialized view, different types of Materialized View, and explains the Syntax on basic Read-Only Materialized View.
Views: 6605 Kishan Mashru
What is High Water Mark(HVM) in oracle and how it effects the performance of queries?
 
05:41
This video tutorial is to understand the concept of a High Water Mark or HVM of a oracle table, also it states the various changes in the HVM when we perform a insert, delete and Truncate operation on the table, and the video also informs why is the truncate operation more advisable and optimized then the delete operation.
Views: 2619 Kishan Mashru
ORACLE SQL AND PL/SQL INTERVIEW QUESTION : DELETE DUPLICATE RECORDS FROM  A TABLE(3 ways)
 
13:15
This video tutorial demonstrates about how we can delete duplicate records from a table, the video shows 3 different ways to delete duplicate record from a table, one using Group by, second one by using correlated joins and third on by using rownum analytical function You can get the code from our website http://oracleplsqlblog.com/FullBlog/FullBlog/21
Views: 2966 Kishan Mashru
DIFFERENCE BETWEEN CHAR AND VARCHAR2 DATATYPE IN ORACLE SQL
 
04:36
This video tutorial explains the difference between similar looking and used char datatype and varchar2 datatypes with an simple example. This video will answer the question such as how is the data internally stored differently for char and vacchar2 datatype. Also why is varchar2 much better option to be used than char data type is explained. 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 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 delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 2231 Kishan Mashru
how to unlock oracle user account? ORA-28000: the account is locked
 
02:34
This video demonstrates how to solve the ORA-28000: the account is locked error. When we try to connect to a schema that has been locked by the DBA or by wrong password attempts than the error ORA:28000 is encountered. This video will demonstrate the ways in which the error can be resolved. To get the queries shown in the video, you can visit our website http://oracleplsqlblog.com/FullBlog/FullBlog/23
Views: 3843 Kishan Mashru
Materialized Views in Oracle  (Part - 2 Practical Implementation with Examples)
 
13:10
This video explains the syntax of creating a materialized view in oracle database, and also a brief demo of creating materialized view, refreshing the MV and dropping the MV is shown in this free video tutorial.
Views: 6858 Kishan Mashru
Row Number Vs Rank Vs Dense Rank
 
07:04
This video shows the difference between row_number, rank and dense_rank analytical functions in oracle database with appropriate easy to understand examples, along with it the video demonstrates the different output obtained when using either of the three functions. Apart from simple explanation of the function we also show how partition by and order by clause can be used with the functions for tacking day to day scenarios. 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 delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 2082 Kishan Mashru
How to find nth Max salary in a table
 
12:10
This video is useful to find the nth max salary from a table. It shows all the different ways and possibilities to find the nth max salary from a table, using a rownum sub query and the later on using a dense rank function.
Views: 8835 Kishan Mashru
How to solve ORA-28002: the password will expire warning
 
05:10
This video helps to resolve the warning message of oracle password expiry, i.e ORA-28002. The video demonstrates 3 ways to solve the issue, one by logging from the affected account, two by logging in as sys dba and third by using the system user of oracle database.
Views: 1282 Kishan Mashru
Difference between Replace and Translate function in oracle
 
03:46
This video demonstrates the difference between a replace function and a translate function in oracle using an suitable example. Both the function does a similar task, but has a lot of difference in implementation and output when used. Be learning the difference users can easy justify the correct scenarios on where to use translate and when to use replace. 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 procedure and function : https://youtu.be/q3LmOenL120 in and exists : https://youtu.be/REX4IjRYlFw rank and dense_rank : https://youtu.be/WGSX998hZ9M delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 1642 Kishan Mashru
WHAT IS SQLCODE AND SQLERRM IN ORACLE PL/SQL
 
06:48
This Video demonstrates how we can use the SQLCODE and SQLERRM message with the oracle pl/sql block and store the raised exceptions error number and error message.
Views: 982 Kishan Mashru
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: 14559 Kishan Mashru
How to use Pivot and Unpivot? (how to change rows to column and column to rows)
 
10:47
This is a video tutorial on using pivot and unpivot operators to change rows to column and columns to rows when needed, the video also demonstrates a way to change from rows to column without using the pivot operator which can be helpful if you are using and older version of oracle or some other database without the feature of pivot and unpivot. Both the operators are explained with an example for better understanding
Views: 5210 Kishan Mashru
Debugging Oracle PL/SQL code with ORACLE SQL DEVELOPER tool
 
15:04
Want to know how to debug procedures on Oracle sql developer 3.0? Well the you are at the correct place, we have worked out this simple tutorial to help you guys use this cool feature of debugging on Oracle sql developer tool. You can debug your procedures, functions, packages easly with the steps mentioned in the video.
Views: 1264 Kishan Mashru
NVL FUNCTION IN ORACLE SQL WITH EXAMPLE
 
06:25
This video is the 1st video in the series of 'working with null in oracle sql', the video demonstrates the purpose and use of NVL function in oracle with perfect and easy to understand example.
Views: 1087 Kishan Mashru
ORACLE SQL AND PL/SQL INTERVIEW QUESTION : PRINT 1 TO 5 USING SQL
 
04:19
This video explains on the oracle sql interview question to print 1 to 5 on the screen using only oracle sql statement. The solution is given using the union operator and also by using the hierarchical queries.
Views: 2022 Kishan Mashru
NULLIF FUNCTION IN ORACLE SQL WITH EXAMPLE
 
03:24
This video is the 3rd video in the series of 'working with null in oracle sql', the video demonstrates the use of NULLIF function in oracle sql, and how we can use it in day to day coding time. The video explains the function with perfect easy to understand example.
Views: 1074 Kishan Mashru
ORACLE SQL AND PL/SQL INTERVIEW QUESTION : SUBQUERY WITH IN / EXISTS OR SELF JOIN
 
09:31
This video demonstrates the solution of the oracle sql interview question like, find the employees where there manager's salary is more than 15000. This is a classic example of using a subquery or a self join to get the result.
Views: 1915 Kishan Mashru
NVL2 FUNCTION IN ORACLE SQL WITH EXAMPLE
 
05:40
This video is the 2nd video in the series of 'working with null in oracle sql' , the video explains and demonstrates the use of nvl2 function in oracle sql with simple and easy to understand example.
Views: 1284 Kishan Mashru
Oracle Pl/sql Cursors (Implicit, Explicit, Open-Fetch-Close, FOR LOOP cursors, Cursor Attributes)
 
21:53
This video is to understand the concept of Oracle PL/SQL Cursors (implicit and explicit ). The video includes tutorial on how to work with Oracle PL/SQL Cursor in everyday programming.
Views: 3287 Kishan Mashru
ORACLE SQL AND PL/SQL INTERVIEW QUESTION : DIFFERENCE BETWEEN ROWID AND ROWNUM
 
07:35
In this video, we discuss the pseudocolumn rowid and rownum in oracle sql.
Views: 1400 Kishan Mashru
How to commit in a trigger?
 
10:54
This video is a free video tutorial on how to commit or rollback in a pl/sql trigger, it demonstrates the use of pragma autonomous_transaction and commit in a trigger, also it shows various scenarios which would lead to misleading data and exceptions that would be raised if pragma autonomous_transaction is not properly used in the trigger.
Views: 2525 Kishan Mashru
VIEWS IN ORACLE SQL WITH EXAMPLES
 
15:13
This video explains about views in Oracle SQL, views are integral part of any database, and its important to clearly understand views to work with them. Views are named and stored sql statements which would be executed once we call the view, views in whole do not store the data except if its a Materialized view. Views are widely used in day to day programming and can be useful in various cases, we discussed about all those cases in this video. If you would like to learn more on materialized view, visit the below videos https://youtu.be/7PklhTCNxxw https://youtu.be/EDf8Pk-x_nA If you want to know the difference between views and Materialized view, visit https://youtu.be/BnNKws_7_jc Visit our blog at www.oracleplsqlblog.com All out youtube videos: www.youtube.com/c/kishanmashru
Views: 982 Kishan Mashru
REF CURSOR AND SYS_REFCURSOR IN ORACLE PL/SQL WITH EXAMPLE
 
25:07
This video explains about ref cursor in oracle pl/sql, what are ref cursors, how are ref cursor different from simple cursors, what are the advantages of using a ref cursor etc. The video demonstrates proper and easy to understand examples on ref cursor.
Views: 7307 Kishan Mashru
ORACLE PL/SQL INTERVIEW :PALINDROME NUMBER OR STRING PROGRAM
 
11:45
This video tutorial demonstrates on the Oracle PL/SQL interview question of writing a program for finding whether a number or string is palindrome number or string or not, the video explains a very simple and generic approach that can be used to solve this question. You can get the code from our website http://oracleplsqlblog.com/FullBlog/FullBlog/16
Views: 1683 Kishan Mashru
DYNAMIC SQL WITH EXECUTE IMMEDIATE IN ORACLE PL/SQL WITH EXAMPLE
 
21:53
The audio and video now synced. Ever tried creating a table inside a PL SQL block, or a function or a procedure? If yes, then you would know that it would raise an error, as DDL statements are not allowed inside a PL/SQL Block. So the solution to such a case, where you want to generate tables, or sequences or want to execute any DDL statement on the fly, then use synamic sql. Dynamic SQL statment will allow you to create state statements on the fly and then you can execute them using the execute immediate statement. This video tutorial demonstrates on this topic of using synamic sql with execute immediate in a PL/SQL block.
Views: 3977 Kishan Mashru
Oracle sql Interview Question : How to change rows to column
 
09:18
This video tutorial talks about the frequently asked oracle sql interview question of changing rows to the column. Based on the given scenario, we are asked to change the presentation of data in a table with 3 rows and 2 column to 3 columns and 2 rows. Decode Function in oracle https://youtu.be/YUAjPMjqMws Pivot and unpivot in oracle https://youtu.be/6s0DI1YcWIM
Views: 9341 Kishan Mashru
What is PRAGMA AUTONOMOUS_TRANSACTION in oracle?
 
12:17
This free video tutorial is to understand the concept of autonomous transactions and how to use them to best of our advantages, it also contains a video tutorial and demonstration on using of pragma autonomous_transaction in an oracle pl/sql stored procedure.
Views: 3875 Kishan Mashru
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: 1379 Kishan Mashru
Wrapping Oracle PL/SQL code
 
08:24
This video tutorial demonstrates the wrap utility of oracle.This utility can be used to wrap (encode) our plain text pl/sql code so that other developers cannot make changes to it, and we can keep our business logic and patent code safe through encoding. This video tutorial explains the same with a very easy example. and also talks about the advantages and disadvantages associated with the wrap utility.
Views: 1571 Kishan Mashru
ORACLE SQL AND PL/SQL INTERVIEW QUESTION : SUBQUERY WITH NULL / NOT IN / NOT EXISTS OR OUTER JOIN
 
08:36
This video demonstrates the oracle sql interview question where one need to use either not in, not exists or an outer join to get the desired result. For example if one is asked to fetch records from department table where department_id is not present in employee table
Views: 1537 Kishan Mashru
DIFFERENT WAYS TO CALL / EXECUTE A PROCEDURE IN ORACLE PL/SQL? (Position, Named and Mixed Notations)
 
06:53
This video tutorial is a demonstration on different ways that a subroutine can be called / executed in Oracle PL/SQL. The video demonstrates the Position notation call, Named notation call and Mixed Notation call with proper examples.
Views: 1656 Kishan Mashru
CASE STATEMENT(IF THEN ELSE) IN ORACLE SQL WITH EXAMPLE
 
06:28
The case statement gives the if-then-else kind of conditional ability to the otherwise static sql select statement, This video demonstrates how to write an case statement in oracle sql, and explains different aspects of the case statement. The video explains the execution flow of the case statement and advises on the best way to write one.
Views: 1157 Kishan Mashru
FUNCTIONS IN ORACLE PL/SQL (basic to advance examples)
 
19:50
This video is to understand how to create an oracle pl/sql function, the video demonstrates the use of in, out and in out parameter types. The video also explains on how to call a function from a pl/sql block and from a select statement.
Views: 2929 Kishan Mashru
DECODE FUNCTION IN ORACLE SQL
 
09:36
This video tutorial explains with proper example on how to write a decode statement, this video also demonstrates how the decode statement behaves on null values and implicit datatype conversion that happens in a decode statement.
Views: 1403 Kishan Mashru
ORACLE PL/SQL INTERVIEW : REVERSE NUMBER STRING PROGRAM
 
21:23
This video tutorial demonstrates on the oracle pl/sql interview question of reversing a number string without using the reverse function, the video explains a very simple and generic approach that can be used to solve this question.
Views: 2616 Kishan Mashru
IN v/s EXISTS v/s JOIN, which one will give better performance under what condition?
 
04:56
This video demonstrates the performance effects of using an exists clause instead of an IN clause, also it shows how we can update a simple sub query having an IN clause with an EXISTS or JOIN statement. It also shows that joining would consider the null data, where as an IN clause would neglect null values.
Views: 857 Kishan Mashru
UPDATE STATEMENT WITH JOIN IN ORACLE SQL
 
07:18
This video demonstrates how user can update data of a particular table(t1), based on the join condition with other table(t2). So it would be a easy way to ditch the for-loop, and check for the condition every time. What was to be achieved from the for-loop can be achieved with a single simple update statement. A simple trick to update data in table based on some conditional data in some another table, would help you to increase the performance of your code massively. For ex : UPDATE TABLE1 t1 SET COL1 = (SELECT COL FROM TABLE2 t2 where t1.col = t2.col);
Views: 2101 Kishan Mashru
LNNVL FUNCTION IN ORACLE SQL
 
09:11
This video is the 5th video in the series of 'working with null', this video explains the working of the lnnvl function in oracle sql with simple and easy to understand example.
Views: 517 Kishan Mashru
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: 1675 Kishan Mashru
ORACLE PL/SQL INTERVIEW QUESTION : FACTORIAL PROGRAM
 
08:23
How to write a program for find a factorial of a given number in Oracle PL/SQL? This video tutorial answers this interview question with a simple and easy to understand example. You can get the code from our website http://oracleplsqlblog.com/FullBlog/FullBlog/15
Views: 1133 Kishan Mashru
UNION AND UNION ALL SET OPERATOR IN ORACLE SQL WITH EXAMPLE
 
03:50
This video is to understand the difference between union and union all set operations. Along with that we have also showed some simple solution to the 'ORA-01789: query block has incorrect number of result columns' error message. If you want more such videos of exciting and amazing 'difference between' concepts, check out the links below : 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 delete and truncate : https://youtu.be/u76wMm2byXo %type and %rowtype : https://youtu.be/MlLUFeZ_3eM
Views: 375 Kishan Mashru