Home
Search results “Looping sql oracle”
PL/SQL tutorial 11: PL/SQL Simple Loop in Oracle Database by Manish Sharma RebellionRider.com
 
04:21
First tutorial in Iterative statement series explaining concepts of Simple Loop in PL/SQL With a quick brief intro of Loops in Oracle PL/SQL ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/simple-loop Previous Tutorial ► IF-THEN : https://youtu.be/IWvuFD6eD30 ► Simple CASE Statement https://youtu.be/DMlDwOmqAzo ► Searched CASE Statement https://youtu.be/jk7k4TDs3F0 ► DECODE Statement https://youtu.be/lKXqXINCNLo ------------------------------------------------------------------------- ►►►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: 71663 Manish Sharma
Oracle - PL/SQL - Loops
 
07:27
Oracle - PL/SQL - Loops https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited.
PL/SQL tutorial 13: PL/SQL FOR Loop In Oracle Database by Manish Sharma RebellionRider.com
 
06:14
3rd and the last tutorial in Iterative/loop statement in Oracle PL/SQL series explaining concepts of FOR loop with examples by Manish Sharma RebellionRider.com ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/numeric-for-loop-in-pl-sql Previous Tutorial ► While Loop https://youtu.be/IIlc4Sr7kFE ------------------------------------------------------------------------- ►►►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: 59049 Manish Sharma
PL/SQL tutorial 30: Cursor FOR Loop In Oracle Database By Manish Sharma
 
04:33
Learn How To Work with Database (Explicit or Implicit) Cursors using Cursor For Loop in Oracle Database With Example By Manish Sharma on RebellionRider.com ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/cursor-for-loop-1 Previous Tutorial ► Numeric For Loop: https://youtu.be/DfAmnj2j7WI ►Install SQL Developer: https://youtu.be/zliF8kXVmeE ------------------------------------------------------------------------- ►►►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/ ___Facebook Official Page___ https://www.facebook.com/RebellionRider.official/ 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: 41765 Manish Sharma
Oracle || PL/SQL Stored Procedures || Loops Part - 1 by dinesh
 
31:19
DURGASOFT is INDIA's No.1 Software Training Center offers online training on various technologies like JAVA, .NET , ANDROID,HADOOP,TESTING TOOLS ,ADF,INFORMATICA,TABLEAU,IPHONE,OBIEE,ANJULAR JS, SAP... courses from Hyderabad & Bangalore -India with Real Time Experts. Mail us your requirements to [email protected] so that our Supporting Team will arrange Demo Sessions. Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696. http://durgasoft.com http://durgasoftonlinetraining.com https://www.facebook.com/durgasoftware http://durgajobs.com https://www.facebook.com/durgajobsinfo......
Oracle || Loops in PL/SQL by Siva
 
20:03
DURGASOFT is INDIA's No.1 Software Training Center offers online training on various technologies like JAVA, .NET , ANDROID,HADOOP,TESTING TOOLS , ADF, INFORMATICA,TABLEAU,IPHONE,OBIEE,ANJULAR JS, SAP... courses from Hyderabad & Bangalore -India with Real Time Experts. Mail us your requirements to [email protected] so that our Supporting Team will arrange Demo Sessions. Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696. http://durgasoft.com http://durgasoftonlinetraining.com https://www.facebook.com/durgasoftware http://durgajobs.com https://www.facebook.com/durgajobsinfo............
PL-SQL tutorial 26 - Iterative Control Structure Simple loop
 
03:39
Hi guys today i am going to explain about Iterative Control Structure Simple loop in PL/SQL how to write a code in iterative looping concept. Oracle database Unbeatable,Unbreakable Platform..
Views: 666 Oracle World
PL/SQL tutorial 12: PL/SQL WHILE Loop in Oracle Database
 
06:33
Iterative statements/loop series learn the concepts of While Loop in PL/SQL or In Oracle Database with Examples. also learn how to handle boolean expression in while loop ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/while-loop-in-pl-sql Previous Tutorial ► Simple Loop: https://youtu.be/AFx6QYcY1CU ------------------------------------------------------------------------- ►►►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: 61908 Manish Sharma
SQL Joins, nested loops and all that in less than 6 minutes
 
05:52
CAPTIONS AVAILABLE - Full transcript (with some screenshots) available for a small fee at http://stores.lulu.com/konagora/. A very brief description of how a database performs a join, based on material from a 2-day seminar.
Views: 77689 roughsealtd
PL-SQL tutorial 14 - HOW TO USE FOR LOOP
 
04:46
hi guys today we lean how to use FOR LOOP in plsql language Oracle database Unbeatable,Unbreakable Platform.. #FORLOOP
Views: 581 Oracle World
T-SQL - Loops
 
04:55
T-SQL - Loops Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited
Looping in Oralce PLSQL
 
09:38
This Video Explains following Loop/Iteration Concepts in Oracle PL/SQL 1. Simple Loop 2. While Loop 3. For Loop.
Views: 490 yrrhelp
Oracle PLSQL tutorial - loops
 
06:42
This video tutorial on Oracle PL/SQL shows you the power and simplicity of cursor for loops, numeric for loops and while loops. For more Oracle tutorials see our website - http://www.asktheoracle.net
Views: 8113 asktheoracle1
72. LOOP Looping Command in PL/SQL Oracle
 
02:20
In this video you will learn about LOOP Looping Command in PL/SQL Oracle. For Support =========== Email: [email protected] Contact Form: http://www.learninhindi.com/home/contact Our Social Media ================ Facebook: https://www.facebook.com/LearnInHindi Twitter: https://twitter.com/LearnInHindi For Training & Videos ===================== For more videos and articles visit: http://www.learninhindi.com Free Java Programming In Hindi Course ===================================== https://www.youtube.com/playlist?list=PLOZ3jentlCDAwwhMyoLISrxkXTADGp7PH Free Oracle PL/SQL Programming In Hindi Course ============================================== https://www.youtube.com/playlist?list=PLB5DA82419C2D99B6 Free C Programming In Hindi Course ================================== https://www.youtube.com/playlist?list=PLOZ3jentlCDAxKpBLMWogxSdy6BZcsAJq Trips & Tricks Channel ====================== https://www.youtube.com/channel/UCGmLfkuCo-3lHHJXRJ9HUMw Programming in Hindi Channel ============================ https://www.youtube.com/channel/UCudElIDgwNrybeAvXIy1HZQ
Views: 3690 ITORIAN
PL-SQL tutorial 28 - Iterative Control Structure FOR LOOP
 
05:47
Hi guys today i am going to explain about Iterative Control Structure For loop in PL/SQL how to write a code in iterative looping concept. Oracle database Unbeatable,Unbreakable Platform..
Views: 299 Oracle World
71. FOR LOOP Looping Command in PL/SQL Oracle
 
09:54
In this video you will learn about FOR LOOP Looping Command in PL/SQL Oracle. For Support =========== Email: [email protected] Contact Form: http://www.learninhindi.com/home/contact Our Social Media ================ Facebook: https://www.facebook.com/LearnInHindi Twitter: https://twitter.com/LearnInHindi For Training & Videos ===================== For more videos and articles visit: http://www.learninhindi.com Free Java Programming In Hindi Course ===================================== https://www.youtube.com/playlist?list=PLOZ3jentlCDAwwhMyoLISrxkXTADGp7PH Free Oracle PL/SQL Programming In Hindi Course ============================================== https://www.youtube.com/playlist?list=PLB5DA82419C2D99B6 Free C Programming In Hindi Course ================================== https://www.youtube.com/playlist?list=PLOZ3jentlCDAxKpBLMWogxSdy6BZcsAJq Trips & Tricks Channel ====================== https://www.youtube.com/channel/UCGmLfkuCo-3lHHJXRJ9HUMw Programming in Hindi Channel ============================ https://www.youtube.com/channel/UCudElIDgwNrybeAvXIy1HZQ
Views: 5211 ITORIAN
PL-SQL Loops - For Loop, While Loop, Simple PL-SQL Loop
 
09:30
PL-SQL Loops - For Loop, While Loop, Simple PL-SQL Loop PL-SQL tutorial for Beginners in Hindi and English
Oracle PLSQL -- Loops and Cursors
 
50:48
Oracle PLSQL -- Loops and Cursors
Views: 1921 Lead Technologies
Oracle PL/SQL Tutorial -  Loops Part 1
 
05:37
Want all of our free Oracle videos? Download our free iPad app at http://itunes.apple.com/us/app/video-training-courses-from/id418130423?mt=8 http://www.infiniteskills.com/training/learning-oracle-pl-sql-programming.html This PLSQL programming tutorial introduces the use of loops. YouTube: https://www.youtube.com/user/OreillyMedia Facebook: https://www.facebook.com/OReilly/?fref=ts Twitter: https://twitter.com/OReillyMedia Website: http://www.oreilly.com/
for loop example in oracle  in PL SQL
 
02:54
For loop in oracle in PL SQL
Views: 12 EduPlus Mantras
PL/SQL Simple Loop in Oracle Database
 
05:55
This video is about pl sql basics,pl sql basic programs,basic pl sql programs,oracle pl sql basics,pl sql basics with examples,basic pl sql,basic pl sql queries,basics of pl sql,pl sql basics tutorial,pl sql basic concepts,basic pl
Views: 81 Nayabsoft
Cursor For Loop in Oracle PLSQL
 
02:46
This video shows how to fetch values in a cursor using Cursor For Loop.
Views: 807 yrrhelp
SQL Server Programming Part 6 - WHILE Loops
 
14:48
If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can click this link https://www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching! By Andrew Gould https://www.wiseowl.co.uk - In SQL Server there is only one type of loop: a WHILE loop. This video teaches you how to use them, from the basic syntax of the WHILE statement, through how to use a SELECT statement within a loop. We'll also cover how to use the BREAK command to exit from a loop, what to do when you inevitably find yourself in an endless loop and, finally, a quick introduction to using loops with cursors. You can download the script to create the Movies database used in this video at the following link: https://www.wiseowl.co.uk/files/execise-question-files/qf-898.zip You can see the range of resources and courses we offer in SQL Server here: https://www.wiseowl.co.uk/sql/ Visit www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Access, Microsoft PowerPoint, Microsoft Word, Microsoft Project, Microsoft Publisher, Microsoft Visio, SQL Server, Reporting Services, Analysis Services, Visual Studio, ASP.NET, VB.NET, C# and more!
Views: 76585 WiseOwlTutorials
73. WHILE Looping Command in PL/SQL Oracle
 
02:10
In this video you will learn about WHILE Looping Command in PL/SQL Oracle. For Support =========== Email: [email protected] Contact Form: http://www.learninhindi.com/home/contact Our Social Media ================ Facebook: https://www.facebook.com/LearnInHindi Twitter: https://twitter.com/LearnInHindi For Training & Videos ===================== For more videos and articles visit: http://www.learninhindi.com Free Java Programming In Hindi Course ===================================== https://www.youtube.com/playlist?list=PLOZ3jentlCDAwwhMyoLISrxkXTADGp7PH Free Oracle PL/SQL Programming In Hindi Course ============================================== https://www.youtube.com/playlist?list=PLB5DA82419C2D99B6 Free C Programming In Hindi Course ================================== https://www.youtube.com/playlist?list=PLOZ3jentlCDAxKpBLMWogxSdy6BZcsAJq Trips & Tricks Channel ====================== https://www.youtube.com/channel/UCGmLfkuCo-3lHHJXRJ9HUMw Programming in Hindi Channel ============================ https://www.youtube.com/channel/UCudElIDgwNrybeAvXIy1HZQ
Views: 3444 ITORIAN
The Importance of Nested Loops Joins in SQL
 
07:37
Nested Loops Joins are one of the primary physical join operators used by SQL Server. In today's episode we discuss how Nested Loops Joins work, as well as how to use that knowledge to troubleshoot a slow performing query's execution plan. Subscribe and turn on notifications to never miss a weekly video: https://www.youtube.com/c/bertwagner?sub_confirmation=1 Related blog post with code snippets: https://bertwagner.com/2018/12/11/visualizing-nested-loops-joins-and-understanding-their-implications/ Be sure to check out part 2 on merge joins: https://youtu.be/IFUB8iw46RI And part 3 on hash match joins: https://youtu.be/59C8c7p_hII Additional excellent blog posts that go further in-depth: https://blogs.msdn.microsoft.com/craigfr/2006/07/26/nested-loops-join/ https://sqlserverfast.com/epr/nested-loops/ Follow me on Twitter: https://twitter.com/bertwagner
Views: 1068 Bert Wagner
PLSQL básico - Ciclos (LOOPS)
 
17:29
Un ciclo es utilizado para hacer una acción repetida sin tener que escribir varias veces el mismo código. En PLSQL tenemos tres formas de usar ciclos: LOOP, WHILE...LOOP, FOR...LOOP Ventajas: Ahorra tiempo, código más claro y facilita su modificación en el futuro.(flexibilidad)
Views: 12953 Daniel Nieto
68 - Oracle PL/SQL Loops - Loop Statement تعليم أوراكل
 
15:04
by Mohamed El Desouki - محمد الدسوقى [email protected] Tel :00966 553450836 جامعة سلمان بن عبد العزيز - السعودية - الخرج Database 2 - PL/SQL Loop Statement in Arabic Text Book: Fundamentals of Database Systems, 5th Edition, by Elmasri/Navathe, published by Addison-W
PL-SQL tutorial 27 - Iterative Control Structure WHILE LOOP
 
04:39
Hi guys today i am going to explain about Iterative Control Structure while loop in PL/SQL how to write a code in iterative looping concept. Oracle database Unbeatable,Unbreakable Platform..
Views: 245 Oracle World
70- Oracle PL SQL Loops - For Loop تعليم أوراكل
 
08:01
by Mohamed El Desouki - محمد الدسوقى [email protected] Tel :00966 553450836 جامعة سلمان بن عبد العزيز - السعودية - الخرج Database 2 - PL/SQL - For Loop Statement in Arabic Text Book: Fundamentals of Database Systems, 5th Edition, by Elmasri/Navathe, published by Addison-W
Learn Oracle | PL SQL Loops
 
02:17
Pebbles present, Learn Oracle 10g with Step By Step Video Tutorials. Learn Oracle 10g Tutorial series contains the following videos : Learn Oracle - History of Oracle Learn Oracle - What is Oracle - Why do we need Oracle Learn Oracle - What is a Database Learn Oracle - What is Grid Computing Learn Oracle - What is Normalization Learn Oracle - What is ORDBMS Learn Oracle - What is RDBMS Learn Oracle - Alias Names, Concatenation, Distinct Keyword Learn Oracle - Controlling and Managing User Access (Data Control Language) Learn Oracle - Introduction to SQL Learn Oracle - Oracle 10g New Data Types Learn Oracle - How to Alter a Table using SQL Learn Oracle - How to Create a Package in PL SQL Learn Oracle - How to Create a Report in SQL Plus Learn Oracle - How to Create a Table using SQL - Not Null, Unique Key, Primary Key Learn Oracle - How to Create a Table using SQL Learn Oracle - How to Create a Trigger in PL SQL Learn Oracle - How to Delete Data from a Table using SQL Learn Oracle - How to Drop and Truncate a Table using SQL Learn Oracle - How to Insert Data in a Table using SQL Learn Oracle - How to open ISQL Plus for the first time Learn Oracle - How to Open SQL Plus for the First Time Learn Oracle - How to Update a Table using SQL Learn Oracle - How to use Aggregate Functions in SQL Learn Oracle - How to use Functions in PL SQL Learn Oracle - How to use Group By, Having Clause in SQL Learn Oracle - How to Use Joins, Cross Join, Cartesian Product in SQL Learn Oracle - How to use Outer Joins (Left, Right, Full) in SQL Learn Oracle - How to use the Character Functions, Date Functions in SQL Learn Oracle - How to use the Merge Statement in SQL Learn Oracle - How to use the ORDER BY Clause with the Select Statement Learn Oracle - How to use the SELECT Statement Learn Oracle - How to use the Transactional Control Statements in SQL Learn Oracle - How to use PL SQL Learn Oracle - Data Types in PL SQL Learn Oracle - Exception Handling in PL SQL Learn Oracle - PL SQL Conditional Logics Learn Oracle - PL SQL Cursor Types - Explicit Cursor, Implicit Cursor Learn Oracle - PL SQL Loops Learn Oracle - Procedure Creation in PL SQL Learn Oracle - Select Statement with WHERE Cause Learn Oracle - SQL Operators and their Precedence Learn Oracle - Using Case Function, Decode Function in SQL Learn Oracle - Using Logical Operators in the WHERE Clause of the Select Statement Learn Oracle - Using Rollup Function, Cube Function Learn Oracle - Using Set Operators in SQL Learn Oracle - What are the Different SQL Data Types Learn Oracle - What are the different types of Databases Visit Pebbles Official Website - http://www.pebbles.in Subscribe to our Channel – https://www.youtube.com/channel/UCNNjWVsQqaMYccY044vtHJw?sub_confirmation=1 Engage with us on Facebook at https://www.facebook.com/PebblesChennai Please Like, Share, Comment & Subscribe
Views: 170 Pebbles Tutorials
IF,While Loop in SQL Server
 
57:10
Website:https://www.eclasess.com loops in sql server If loop While Loop
T-SQL: JOIN OPERATORS - NESTED LOOP JOIN, MERGE JOIN AND HASH JOIN
 
07:04
In this video, I will describe the 3 Join Operators SQL Server uses and the reason why it comes to the individual selections by the Optimizer. Please check my blog azizsharif.blogspot.com for more videos!
2MTT: The Cursor FOR Loop | Steven Feuerstein
 
03:15
Oracle Architect and "Oracle PL/SQL Programming" author Steven Feuerstein maxes out his time in this 2 Minute Tech Tip devoted to using the PL/SQL cursor FOR loop.
Views: 733 ArchBeat Archive
SQL Server Quickie #12 - Nested Loop Operator
 
12:27
In this SQL Server Quickie I'm talking about the Nested Loop operator in SQL Server. You can find the scripts that were used for the demonstration here: http://www.sqlpassion.at/archive/2014/03/31/sql-server-quickie-12-nested-loop-operator
Views: 7680 SQLpassion
PL SQL For Loop - PL SQL While Loop Example - Loops in Oracle PL SQL - PL SQL Loop
 
18:19
Oracle PL/SQL has 3 forms of looping statements or looping structures. PL/SQL simple loop, PL/SQLFor Loop and PL/SQL While Loop. All the three have been explained here with nice examples. The code of the example programs has been given below - #OraclePLSQL #LearnPLSQL #Crazy4DB #MunshiSir #LearnOracle Interview Question : What is Anchored data type in PL/SQL, why is it required to be used? [For answer refer to the list of following videos] Videos to visit : PL/SQL conditional Statements : https://youtu.be/5e6eqYtgJAc PL/SQL Basic : https://youtu.be/5fXsfOTRSHc PL/SQL Exception : https://youtu.be/tahOBL8Ogss PL/SQL %TYPE Anchored type : https://youtu.be/tbKvzhdLmMU PL/SQL Record Data type : https://youtu.be/Ev7uriDI96A complete SQL tutorial : https://www.youtube.com/playlist?list=PLdNnjIwbbBta7tveno_un-C7VVFY-F24Z My web site : http://www.oracletrainingnagpur.com My blog : https://crazy4db.blogspot.in My facebook page : https://www.facebook.com/crazy4db/ Code for programs : Example simple loop ===================== declare num1 number; num2 number; sqr number; begin num1 := '&LowerNumber'; num2 := '&HigherNumber'; loop exit when num1 [greater than] num2; if mod(num1, 2) = 0 then sqr := num1 * num1; dbms_output.put_line ('square of '||num1||' is '||sqr); end if; num1 := num1 + 1; end loop; exception When value_error then dbms_output.put_line ('input must be a number'); end; Example While Loop ========================== declare num1 number; num2 number; sqr number; begin num1 := '&LowerNumber'; num2 := '&HigherNumber'; While num1 [less than] num2 loop if mod(num1, 2) = 0 then sqr := num1 * num1; dbms_output.put_line ('square of '||num1||' is '||sqr); end if; num1 := num1 + 1; end loop; exception When value_error then dbms_output.put_line ('input must be a number'); end; Example For Loop ========================= declare num1 number; num2 number; sqr number; begin num1 := '&LowerNumber'; num2 := '&HigherNumber'; for n in num1..num2 loop if mod(n, 2) = 0 then sqr := n * n; dbms_output.put_line ('square of '||n||' is '||sqr); end if; end loop; exception When value_error then dbms_output.put_line ('input must be a number'); end; Example Reverse For Loop ============================= declare num1 number; num2 number; sqr number; begin num1 := '&LowerNumber'; num2 := '&HigherNumber'; for n in reverse num1..num2 loop if mod(n, 2) = 0 then sqr := n * n; dbms_output.put_line ('square of '||n||' is '||sqr); end if; end loop; exception When value_error then dbms_output.put_line ('input must be a number'); end;
Views: 47 Crazy4 DB
71- Oracle PL SQL  For Loop, While Loop, Loop End Loop Statements تعليم أوراكل
 
32:05
by Mohamed El Desouki - محمد الدسوقى [email protected] Tel :00966 553450836 جامعة سلمان بن عبد العزيز - السعودية - الخرج Database 2 - PL/SQL Loops in Arabic Text Book: Fundamentals of Database Systems, 5th Edition, by Elmasri/Navathe, published by Addison-W
Dynamic SQL in Stored Procedure
 
09:32
In this video we will discuss, using dynamic sql in a stored procedure and it's implications from sql injection perspective. We will discuss performance implications of using dynamic sql in a stored procedure in a later video. Text version of the video http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-in-stored-procedure.html Slides http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-in-stored-procedure_11.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 SQL Server Tutorial Videos https://www.youtube.com/playlist?list=PL08903FB7ACA1C2FB 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 Consider the following stored procedure "spSearchEmployees". We implemented this procedure in Part 139 of SQL Server tutorial. This stored procedure does not have any dynamic sql in it. It is all static sql and is immune to sql injection. Create Procedure spSearchEmployees @FirstName nvarchar(100) = NULL, @LastName nvarchar(100) = NULL, @Gender nvarchar(50) = NULL, @Salary int = NULL As Begin Select * from Employees where (FirstName = @FirstName OR @FirstName IS NULL) AND (LastName = @LastName OR @LastName IS NULL) AND (Gender = @Gender OR @Gender IS NULL) AND (Salary = @Salary OR @Salary IS NULL) End Go Whether you are creating your dynamic sql queries in a client application like ASP.NET web application or in a stored procedure, you should never ever concatenate user input values. Instead you should be using parameters. Notice in the following example, we are creating dynamic sql queries by concatenating parameter values, instead of using parameterized queries. This stored procedure is prone to SQL injection. Let's prove this by creating a "Search Page" that calls this procedure. Create Procedure spSearchEmployeesBadDynamicSQL @FirstName nvarchar(100) = NULL, @LastName nvarchar(100) = NULL, @Gender nvarchar(50) = NULL, @Salary int = NULL As Begin Declare @sql nvarchar(max) Set @sql = 'Select * from Employees where 1 = 1' if(@FirstName is not null) Set @sql = @sql + ' and FirstName=''' + @FirstName + '''' if(@LastName is not null) Set @sql = @sql + ' and LastName=''' + @LastName + '''' if(@Gender is not null) Set @sql = @sql + ' and Gender=''' + @Gender + '''' if(@Salary is not null) Set @sql = @sql + ' and Salary=''' + @Salary + '''' Execute sp_executesql @sql End Go Add a Web Page to the project that we have been working with in our previous video. Name it "DynamicSQLInStoredProcedure.aspx". Copy and paste the HTML and code available on my blog at the following link http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-in-stored-procedure.html At this point, run the application and type the following text in the "Firsname" text and click "Search" button. Notice "SalesDB" database is dropped. Our application is prone to SQL injection as we have implemented dynamic sql in our stored procedure by concatenating strings instead of using parameters. ' Drop database SalesDB -- In the following stored procedure we have implemented dynamic sql by using parameters, so this is not prone to sql injecttion. This is an example for good dynamic sql implementation. Create Procedure spSearchEmployeesGoodDynamicSQL @FirstName nvarchar(100) = NULL, @LastName nvarchar(100) = NULL, @Gender nvarchar(50) = NULL, @Salary int = NULL As Begin Declare @sql nvarchar(max) Declare @sqlParams nvarchar(max) Set @sql = 'Select * from Employees where 1 = 1' if(@FirstName is not null) Set @sql = @sql + ' and [email protected]' if(@LastName is not null) Set @sql = @sql + ' and [email protected]' if(@Gender is not null) Set @sql = @sql + ' and [email protected]' if(@Salary is not null) Set @sql = @sql + ' and [email protected]' Execute sp_executesql @sql, N'@FN nvarchar(50), @LN nvarchar(50), @Gen nvarchar(50), @sal int', @[email protected], @[email protected], @[email protected], @[email protected] End Go On the code-behind page, use stored procedure spSearchEmployeesGoodDynamicSQL instead of spSearchEmployeesBadDynamicSQL. We do not have to change any other code. At this point run the application one more time and type the following text in the "Firstname" textbox and click the "Search" button. ' Drop database SalesDB -- Notice "SalesDB" database is not dropped, So in this case our application is not succeptible to SQL injection attack. Summary : Whether you are creating dynamic sql in a client application (like a web application) or in a stored procedure always use parameters instead of concatnating strings. Using parameters to create dynamic sql statements prevents sql injection.
Views: 36737 kudvenkat
21/125 Oracle PLSQL: Nested Loops & Labels
 
09:01
تعلم اوراكل دورات اوراكل learn Oracle
Views: 1425 khaled alkhudari
PL/SQL Tutorial 14- PL_SQL ITERATIVE/LOOPS  in Oracle Database By JavaInHand (in Hindi)
 
06:10
ITERATIVE/LOOPS IN PL/SQL? TYPES OF LOOPS IN PL/SQL -------------------------------------------------- WWW.JAVAINHAND.COM -------------------------------------------------- LIKE SHARE AND SUBSCRIBE
Views: 1315 JavaInHand
Performance Anti-Patterns: Non-query DML inside loops
 
14:03
Lots of code follows patterns. Some of the patterns are good ones, some them are bad - and these we call "anti-patterns." In this video, Steven identifies a common and, for many, surprising anti-pattern - and then shows how to turn it into a design pattern worthy of use. The anti-pattern is the execution on non-query DML (inserts, updates, deletes) inside a loop. The refactored positive design is based on bulk processing in PL/SQL. Along the way, Steven shows how this involves moving from row-by-row to phased processing. ================================================== Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. 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 or merchantability, fitness for a particular purpose, and non-infringement.
Cursors in sql server   Part 63
 
13:58
Text version of the video http://csharp-video-tutorials.blogspot.com/2013/01/cursors-in-sql-server-part-63.html Slides http://csharp-video-tutorials.blogspot.com/2013/09/part-63-cursors-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 Relational Database Management Systems, including sql server are very good at handling data in SETS. For example, the following "UPDATE" query, updates a set of rows that matches the condition in the "WHERE" clause at the same time. Update tblProductSales Set UnitPrice = 50 where ProductId = 101 However, if there is ever a need to process the rows, on a row-by-row basis, then cursors are your choice. Cursors are very bad for performance, and should be avoided always. Most of the time, cursors can be very easily replaced using joins. There are different types of cursors in sql server as listed below. We will talk about the differences between these cursor types in a later video session. 1. Forward-Only 2. Static 3. Keyset 4. Dynamic Let us now look at a simple example of using sql server cursor to process one row at time. We will be using tblProducts and tblProductSales tables, for this example. On my machine, there are 400,000 records in tblProducts and 600,000 records in tblProductSales tables. If you want to learn about generating huge amounts of random test data, please watch Part - 61 in sql server video tutorial. The link is below. http://www.youtube.com/user/kudvenkat/videos?flow=grid&view=1 Cursor Example: Let us say, I want to update the UNITPRICE column in tblProductSales table, based on the following criteria 1. If the ProductName = 'Product - 55', Set Unit Price to 55 2. If the ProductName = 'Product - 65', Set Unit Price to 65 3. If the ProductName is like 'Product - 100%', Set Unit Price to 1000 For the SQL code samples used in the demo please visit my blog at the following link http://csharp-video-tutorials.blogspot.com/2013/01/cursors-in-sql-server-part-63.html The cursor will loop thru each row in tblProductSales table. As there are 600,000 rows, to be processed on a row-by-row basis, it takes around 40 to 45 seconds on my machine. We can achieve this very easily using a join, and this will significantly increase the performance. We will discuss about this in our next video session. To check if the rows have been correctly updated, please use the following query. Select Name, UnitPrice from tblProducts join tblProductSales on tblProducts.Id = tblProductSales.ProductId where (Name='Product - 55' or Name='Product - 65' or Name like 'Product - 100%')
Views: 220645 kudvenkat
Introduction to Oracle: PL-SQL - LOOP Statement
 
04:36
Introduction to Oracle: PL-SQL - LOOP Statement
Views: 241 David Hays
Tutorial 11 : WHILE Loop in Oracle
 
08:10
Hi Friends! Here we are learning about WHILE Loop in Oracle. Hope the concept and example would be clear to you. For any confusion or doubt, let me know in comment box. Link where Simple Loop Explained : https://youtu.be/BJZf-RMwutM Thanks! Happy Coding :)
Views: 81 YourSmartCode
Loops in SQL Part - 1
 
25:45
A loop that executes an unlimited number of times. It encloses a sequence of statements between the keywords LOOP and END LOOP . ... If and only if the value of this expression is TRUE , the statements after LOOP execute. cursor_for_loop_statement. Issues a SQL query and loops through the rows in the result set. Writing Loops in SQL. In programming, a loop allows you to write a set of code that will run repeatedly within the same program. Many programming languages have several different types of loop to choose from, but in SQL Server there is only one: the WHILE loop TYPES OF LOOPS 1 SIMPLE LOOPS 2 CURSOR FOR LOOPS 3 WHILE LOOPS 4 NUMARIC FOR LOOPS A loop that executes an unlimited number of times. It encloses a sequence of statements between the keywords LOOP and END LOOP . With each iteration, the sequence of statements is executed, then control resumes at the top of the loop. An EXIT , GOTO , or RAISE statement branches out of the loop. At each iteration, the sequence of statements is executed and then control resumes at the top of the loop. 2. PL/SQL WHILE LOOP. Repeats a statement or group of statements while a given condition is true. It tests the condition before executing the loop body. Variables in SQL procedures (DECLARE, SET statements) ... Values can be assigned to variables using the SET statement or the SELECT INTO statement or as a default value when the variable is declared. Literals, expressions, the result of a query, and special register values can be assigned to variables. The WHILE loop test at the start of the loop and it the condition is false, the loop code is never executed. ... This is referred to as a REPEAT-UNTIL or DO-WHILE loop. PL/SQL does not directly implement a REPEAT-UNTIL loop however it is easy to construct one using an endless loop. The init step is executed first, and only once. This step allows you to declare and initialize any loop control variables. ... If it is true, the loop executes and the process repeats itself (body of loop, then increment step, and then again condition). After the condition becomes false, the 'for' loop terminates.
Views: 181 Technology mart
14.410 Applications of Join Algorithms, Nested-Loop Join, Index Nested-Loop Join
 
12:04
My book "Patterns in Data Management" is now available both as an ebook or a print book (with color graphics!). See: http://amzn.to/1Ts3rwx This book is not a standard textbook on database techniques. This book was written extending and complementing preexisting educational videos (including this one). Video for my inverted classroom "Database Systems". The complete list of videos, slides, and additional material is (will be) available at http://datenbankenlernen.de Computer Science, Saarland University: Bachelor (in German): http://www.cs.uni-saarland.de/index.p... Master (in English): http://www.cs.uni-saarland.de/index.p... Ph.D./Grad School: http://gradschool.cs.uni-saarland.de/

Sridevi top songs list
Recette opera mercotte video search
Potato video disney
Moneda en el aire vagon chicano karaoke music
Arvika nyheter arkivmusic classical music