Home
Search results “Fetch exit when oracle”
PL/SQL tutorial 74: PL/SQL Bulk Collect Clause with FETCH-INTO statement of an explicit cursor
 
09:49
RebellionRider.com presents a PL/SQL tutorial on how to use PL/SQL Bulk Collect with Fetch-Into statement of an explicit cursor in Oracle Database. Watch and learn how to enhance query performance with Bulk Collect in Oracle Database by Manish Sharma. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/bulk-collect-3 Previous Tutorial ► Introduction to Bulk Collect: https://youtu.be/HPVzFBluM_Q ► Explicit Cursor: https://youtu.be/3q7dW_d2KVc ► Simple Loop: https://youtu.be/AFx6QYcY1CU ► The script on GIT: https://github.com/RebellionRider/pl-sql-tut-74.git ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ------------------------------------------------------------------------- ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ ___Facebook Official Page of Manish Sharma___ https://www.facebook.com/TheRebellionRider/ ___Facebook Official Page of RebellionRider.com___ https://www.facebook.com/RebellionRider.official/ For E-mail address please check the About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 12449 Manish Sharma
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: 5019 Kishan Mashru
Oracle tutorial : sys_refcursor  in oracle pl sql (sys_refcursor)
 
09:53
Oracle tutorial : sys_refcursor in oracle pl sql oracle tutorial for beginners cursor in pl sql we can use sys_refcursor as OUT parameter. A cursor is a pointer to a result set for a query. By returning a sys_refcursor you allow the client to fetch many rows from the query as it requires. basically we use sys ref cursor to return set of rows to client. so client can use this result set. u can fetch multiple rows. lets see example.. CREATE OR REPLACE PROCEDURE get_my_list (list OUT SYS_REFCURSOR) AS BEGIN OPEN list FOR SELECT ALTID, FNAME, LNAME FROM EMPLOYEE; END get_my_list; / DECLARE l_cursor SYS_REFCURSOR; ID VARCHAR2(20); FNAME VARCHAR2(20); LNAME VARCHAR2(20); BEGIN get_my_list (list = l_cursor); LOOP FETCH l_cursor INTO ID, FNAME, LNAME; EXIT WHEN l_cursor%NOTFOUND; DBMS_OUTPUT.PUT_LINE(ID || ' | ' || FNAME || ' | ' || LNAME); END LOOP; CLOSE l_cursor; END; / Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.wordpress.com https://twitter.com/techquerypond database cursor example database cursor sql server cursor
Views: 2378 Tech Query Pond
11-Oracle PL-SQL Arabic Course   Explicit Cursors اوراكل ديفلوبر
 
15:45
أهلا بكم فى درس جديد من سلسلة دروس أوراكل ديفلوبر شرح SQL فى درس اليوم نجيب على السؤال ماهو الكيرسور(CURSOR)؟ كما نتحدث عن الفرق بين: Implicit cursor – Explicit cursor وكذلك خطوات انشاء Explicit cursor و هى: Declare cursor – Open cursor – fetch cursor - close cursor. كما نتناول بالشرح : Explicit cursor attributes: %isopen %found %notfound %rowcount SYNTAX: CURSOR cursor_name IS select_statement; DECLARE CURSOR c_emp_cursor IS SELECT employee_id, last_name FROM employees WHERE department_id =30; v_emp_record c_emp_cursor%ROWTYPE; BEGIN OPEN c_emp_cursor; LOOP FETCH c_emp_cursor INTO v_emp_record; EXIT WHEN c_emp_cursor%NOTFOUND; DBMS_OUTPUT.PUT_LINE( v_emp_record.employee_id ||' '||v_emp_record.last_name); END LOOP; CLOSE c_emp_cursor; END; ......................................­.................... تواصل معانا علي الفيس بوك من هنا : https://www.facebook.com/askgad .......................................­.................... تواصل معانا علي موقعنا من هنا : https://www.askgad.com
Views: 6506 Ask Gad
Oracle - PL/SQL - Exception Handling
 
08:58
Oracle - PL/SQL - Exception Handling https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited.
Database Cursors using while loop and repeat until loop
 
03:46
Database Cursors using while loop and repeat until loop using stored procedure.
Views: 1262 Professor Saad
PL/pgSQL con PostgreSQL 9.5 - Cursores (Cursors, Fetch, Open, Close)
 
13:27
- Cursores - Declaracion de cursores - Abrir y cerrar cursores - Uso de Cursores - Usando Fetch Todo esta basado en la documentación oficial que se encuentra para esta versión 9.5 . http://www.postgresql.org/docs/9.5/static/index.html
Views: 2819 SYSGAP
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: 66537 Manish Sharma
Advantages of using cursor for loop in Oracle pl sql.
 
10:54
In this oracle tutorial I have compared cursor for loop with a simple loop and end loop cursor. In a simple loop end loop you need to do a lot of stuff like opening the cursor, fetching the record into variable which you need to declare in declaration section, set the condition to exit from the loop and close the cursor, you don't need to do any this in cursor for loop.
Views: 1368 Subhroneel Ganguly
Cursor For Loop in PL/SQL - Explicit Cursor - Parameterized Cursors - Explicit Cursor Orcle
 
48:00
Cursor for loop is a very powerful looping structure for Oracle explicit cursor. Parameterized cursors help to make the program more efficient. Cursor for loop when used for explicit cursor makes the program compact and easy to read and write. #Crazy4DB #OraclePLSQL #LearnPLSQL #Crazy4DB #MunshiSir #LearnOracle Other PL/SQL videos : PL/SQL cursors : https://youtu.be/pZQMjWYpWSs 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 PL/SQL Loops : https://youtu.be/IVmbdR2Dbz4 SQL Transaction : https://youtu.be/ZjK31EuWFsY PL/SQL Loops : https://youtu.be/IVmbdR2Dbz4 Video Index : What is explicit cursor : 2.00 Why use explicit cursor : 3:39 Step of Explicit Cursor : 7:43 Explicit Cursor attributes : 14:06 Explicit cursor example : 19:40 Cursor For loop : 27:00 Parameterized cursor : 34:52 Cursor for locking for update nowait : 38:49 Program code : Use of explicit cursor with simple loop ==================================== declare n number; s number; e emp.ename%type; cursor c1 is select distinct sal from emp where sal is not null order by sal desc; cursor c2 is select ename from emp where sal = s; begin n := '&EnterRank'; open c1; fetch c1 into s; while c1%found loop if c1%rowcount = n then open c2; loop fetch c2 into e; if c2%found then dbms_output.put_line(e||' '||s); else exit; end if; end loop; exit; end if; fetch c1 into s; end loop; dbms_output.put_line('no more emp'); exception when value_error then dbms_output.put_line('value must be numeric'); end; Using Cursor for loop ================================== declare n number; s number; cursor c1 is select distinct sal from emp where sal is not null order by sal desc; cursor c2 is select ename from emp where sal = s; begin n := '&EnterRank'; for vsal in c1 loop if c1%rowcount = n then s := vsal.sal; for vname in c2 loop dbms_output.put_line(vname.ename||' '||s); end loop; end if; end loop; dbms_output.put_line('no more emp'); exception when value_error then dbms_output.put_line('value must be numeric'); end; Parameterized cursor example ==================================== declare n number; cursor c1 is select distinct sal from emp where sal is not null order by sal desc; cursor c2 (s emp.sal%type) is select ename from emp where sal = s; begin n := '&EnterRank'; for vsal in c1 loop if c1%rowcount = n then for vname in c2(vsal.sal) loop dbms_output.put_line(vname.ename||' '||vsal.sal); end loop; end if; end loop; dbms_output.put_line('no more emp'); exception when value_error then dbms_output.put_line('value must be numeric'); end; Locking for Transaction by explicit cursor ====================================== declare vdno emp.deptno%type; incr number; lck exception; pragma exception_init(lck, -00054); cursor c1 (pdno emp.deptno%type) is select * from emp where deptno = pdno for update nowait; begin vdno := '&DeptNo'; incr := '&Increment'; open c1(vdno); update emp set sal = sal + incr where deptno = vdno; if sql%rowcount [greater than] 0 then dbms_output.put_line(sql%rowcount||' rows updated'); else dbms_output.put_line('department does not exist'); end if; close c1; exception when value_error then dbms_output.put_line('check input values'); when lck then dbms_output.put_line('rows locked - try later'); end;
Views: 118 Crazy4 DB
PL-SQL tutorial 29 - GOTO statement in PL/SQL
 
06:30
Hi guys today i am going to explain about Control Structure --Goto statement in PL/SQL how to write a code in switch case concept. Oracle database Unbeatable,Unbreakable Platform..
Views: 1285 Oracle World
Oracle  || goto statement in PL/SQL  by Siva
 
07:10
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............
Deadlock transaction in a database with one table - Oracle
 
01:06
No sound was recorded. Oracle 12.1. For PostgreSQL see https://youtu.be/En8EFv90yCc To avoid inconsistency, type "SET AUTOCOMMIT OFF" and "WHENEVER SQLERROR EXIT ROLLBACK" at the top. Otherwise only a part of the transaction will be commited. === A select * from t; update t set n=n+1 where i=1; B update t set n=n+1 where i=2; update t set n=n+1 where i=1; A update t set n=n+1 where i=2; B commit; A commit; select * from t;
Views: 52 chlordk
PL/SQL tutorial 76: Introduction to FORALL statement in Oracle Database
 
04:51
RebellionRider.com presents Introduction to bulk Data processing using FORALL statement in Oracle Database by Manish Sharma ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/forall-01 Previous Tutorial ► PL/SQL Bulk Collect with LIMIT clause ►SQL Error ORA-00942 Table or View Does Not Exist in Oracle Database http://bit.ly/ora-00942 ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ------------------------------------------------------------------------- ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ ___Facebook Official Page of Manish Sharma___ https://www.facebook.com/TheRebellionRider/ ___Facebook Official Page of RebellionRider.com___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check the About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 8928 Manish Sharma
41. Ed or Edit Buffer Command in Oracle
 
02:12
In this video you will learn about Ed or Edit command which is also known as buffer command. I will show you a really quick example to show it. I will also show you how to fix SP2-0110: Cannot create save file "afiedt.buf" error. 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: 20760 ITORIAN
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
VB.NET And SQL - How To Insert Update Delete From DataBase Using Visual Basic .Net  [ with code ]
 
15:00
Visual Basic .Net INSERT, UPDATE, DELETE Into SQL DataBase Source Code: http://1bestcsharp.blogspot.com/2016/09/vb.net-database-insert-update-delete.html ------------------ Check out my VB.Net Projects! -------------------- ▶ Inventory Management System - http://bit.ly/Vbnet_Inventory_System ▶ Students Information System - http://bit.ly/VbnetStudent_System ▶ Contacts Management System - http://bit.ly/Vbnet_Contacts ▶ All My Programming Projects Here - http://bit.ly/2HrU8hK ▶ My Source Code Store Here - http://bit.ly/2OsC0TU -------------------------- VB.NET COURSE ----------------------------- ▶ Learning Visual Basic .NET - http://bit.ly/2wnNiVt -------------------------------------------------------------------- Programming Projects: http://1bestcsharp.blogspot.com/p/programming-projects.html visit our blog https://1bestcsharp.blogspot.com/ facebook: https://www.facebook.com/1BestCsharp twitter: https://www.twitter.com/1BestCsharp_ subscribe: http://goo.gl/nRjPKk C# And Java Programming Books http://1bestcsharp.blogspot.com/2015/04/c-and-java-programming-books.html In This VB.NET Tutorial We Will See How To Create Buttons To Insert Data Into SqLServer, Update SqLServer Data, Delete Records From SQLServer Using Visual Basic .NET Programming Language And Microsoft SQL DataBase. subscribe for more tutorials VB.NET And SQL Server Database Tutorials: Connect SqlServer Database With Vb.net https://www.youtube.com/watch?v=098akejVsG8 Select And Display Data From SQL Server Database Using Vbnet https://www.youtube.com/watch?v=z3NpONNl2Qk Insert Data Into SQLServer Database Using VB NET https://www.youtube.com/watch?v=MWP8geR76kI Update Data In Database Using Vbnet https://www.youtube.com/watch?v=VC2XRfxmNBM Delete Data From SQL Server Database Using Visual Basic .NET https://www.youtube.com/watch?v=NSRDbI4Jra0 Search Values From SQL Server Database And Set It Into TextBox In Visual Basic .NET https://www.youtube.com/watch?v=CarCQoqDCGM Populate ComboBox From SQL Values In VbNet https://www.youtube.com/watch?v=3LIOcTLPh80 SQL Server Records Navigation Using Visual Basic.Net https://www.youtube.com/watch?v=DnAYjApOEtI Datagridview Search Data Using VB.Net https://www.youtube.com/watch?v=zn4zgBeUwnA Insert Update Delete https://www.youtube.com/watch?v=u9DqI0oAzmk Login Form With SQL Database https://www.youtube.com/watch?v=a9wloibYVNI VB NET Using SQL Stored Procedures https://www.youtube.com/watch?v=O_olT5FnqOg Insert Image Into SQL DataBase Part 1: https://www.youtube.com/watch?v=3ZjsimNLdLY Part 2: https://www.youtube.com/watch?v=u1vpYKkPquI Retrieve Image From SQL DataBase In Visual Basic.net https://www.youtube.com/watch?v=GUNZ1hfCsHc Retrieve Images From SQL DataBase Into DataGridView In VB.net https://www.youtube.com/watch?v=F72XSYlOwxk Inventory Management System in Visual Basic.Net: https://www.youtube.com/watch?v=qjHx7Rf5QIk YouTube Channel ▶ https://www.youtube.com/c/1bestcsharpblog #vb #vbnet #visualbasic #visualbasicdatabase #Programming #Insert #Update #Delete #SQLServer #1BestCsharp
Views: 220695 1BestCsharp blog
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: 91 YourSmartCode
Debugging PL/SQL with Oracle SQL Developer
 
02:37
Quick 2 minute video showing how to open a PL/SQL program in Oracle SQL Developer and debug it, line by line.
Views: 44584 Jeff Smith
PL/SQL tutorial 27: How To Create An Explicit Cursor In Oracle Database By Manish Sharma
 
05:03
Learn How To Create An Explicit Database Cursor In Oracle with easy to understand example by Manish Sharma RebellionRider.com ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/create-explicit-cursor Previous Tutorial ► Introduction To Database Cursor - https://youtu.be/_snAMqCBitg ► 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/ ___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: 62382 Manish Sharma
PL/SQL tutorial 28: Cursor Parameter In Oracle Database By Manish Sharma
 
04:54
Learn How To Create Parameterized cursor in Oracle Database with easy to understand example by Manish Sharma ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/cursor-parameter Previous Tutorial ► Create Explicit Cursor: https://youtu.be/3q7dW_d2KVc ►Cursors : https://youtu.be/_snAMqCBitg ------------------------------------------------------------------------- ►►►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: 47616 Manish Sharma
Tutorial 25 : IMPLICIT CURSOR IN PL SQL || %ROWCOUNT || %FOUND || %NOTFOUND
 
06:19
Hi Friends, Here we are learning about IMPLICIT CURSOR in Pl SQL. We are getting to know about CURSOR attributes such as %ROWCOUNT, %FOUND, %NOTFOUND. Hope the concept and example would be clear to you. For any confusion or doubt let me know in comment box. Link for CURSOR Introduction : https://youtu.be/XlunuLQZUmw Link where Anchor Datatype Explained : https://youtu.be/zPD2rnr-34Q Link from where you can get the notes : https://apex.oracle.com/pls/apex/f?p=ysc About Me : https://about.me/saurabhsagarsinha Thanks. Happy Coding :)
Views: 408 YourSmartCode
Insert Update Delete View and search data from database in C#.net
 
13:47
Need Help Or Need code? Feel Free To Contact Us Here http://www.noblecomputer.co.in/support.php using this tutorial you can easily understand that how you can do Insert Update Delete and View data from database in C#.net | insert update delete in c#.net | Insert Update Delete View and search data from database in C#.net,Legen Ansicht aktualisieren und Suchdaten aus der Datenbank in C # .net Löschen,Insérez Update Supprimer Afficher et recherche les données de base de données en C # .net, database connectivity in c#, c# connection to sql server.
Views: 408100 Amit Andipara
Tutorial 49 - For Loop in PostgreSQL
 
08:36
Learn about For Loops in PostgreSQL
Views: 8694 Programming Guru
PL-SQL 5   Cursors
 
07:17
https://drive.google.com/file/d/0BxYoN5rLDBaRWGRBLWg3RnhXM0E/edit?usp=sharing Course Objectives cursors ---------------------------- Example SET SERVEROUTPUT ON DECLARE vr_zip ZIPCODE%ROWTYPE; BEGIN SELECT * INTO vr_zip FROM zipcode WHERE rownum menor 2; DBMS_OUTPUT.PUT_LINE('City: '||vr_zip.city); DBMS_OUTPUT.PUT_LINE('State: '||vr_zip.state); DBMS_OUTPUT.PUT_LINE('Zip: '||vr_zip.zip); END; ---------------------------- Example SET SERVEROUTPUT ON DECLARE CURSOR c_zip IS SELECT * FROM zipcode; vr_zip c_zip%ROWTYPE; BEGIN OPEN c_zip; LOOP FETCH c_zip INTO vr_zip; EXIT WHEN c_zip%NOTFOUND; DBMS_OUTPUT.PUT_LINE(vr_zip.zip|| ' '||vr_zip.city||' '||vr_zip.state); END LOOP; CLOSE c_zip; END; ---------------------------- Example DECLARE CURSOR c_group_discount IS SELECT DISTINCT s.course_no FROM section s, enrollment e WHERE s.section_id = e.section_id GROUP BY s.course_no, e.section_id, s.section_id HAVING COUNT(*)mayor=8; BEGIN FOR r_group_discount IN c_group_discount LOOP UPDATE course SET cost = cost * .95 WHERE course_no = r_group_discount.course_no; END LOOP; COMMIT; END; ---------------------------- Example DECLARE CURSOR c_grade( i_student_id IN enrollment.student_id%TYPE, i_section_id IN enrollment.section_id%TYPE) IS SELECT final_grade FROM enrollment WHERE student_id = i_student_id AND section_id = i_section_id; CURSOR c_enrollment IS SELECT e.student_id, e.section_id FROM enrollment e, section s WHERE s.course_no = 135 AND e.section_id = s.section_id; BEGIN FOR r_enroll IN c_enrollment LOOP FOR r_grade IN c_grade(r_enroll.student_id, r_enroll.section_id) LOOP UPDATE enrollment SET final_grade = 90 WHERE student_id = r_enroll.student_id AND section_id = r_enroll.section_id; END LOOP; END LOOP; END;
Views: 573 Fdo Luis
What is Hard-Coding in PL/SQL?
 
08:14
Practically Perfect PL/SQL with Steven Feuerstein See the first in a multi-video series that describes the nuances of hard-coding in PL/SQL. See the Practically Perfect PL/SQL YouTube channel for related videos. https://www.youtube.com/channel/UCpJpLMRm452kVcie3RpINPw 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.
Cursor PLSQL
 
08:23
Criando Cursor PLSQL - Oracle SQL Developer DECLARE -- Declaração do cursor CURSOR cursor_emp IS SELECT name, salary FROM employee; -- Declaração da variavel para trabalhar com o cursor var_simples cursor_emp%ROWTYPE; BEGIN -- Se o cursor nao estiver aberto, abre ele IF NOT cursor_emp%ISOPEN THEN OPEN cursor_emp; END IF; -- Executa o Loop até que nao encontre mais registros no cursor LOOP FETCH cursor_emp INTO var_simples; -- Sai do Loop quando nao houver mais registros para processar EXIT WHEN cursor_emp%NOTFOUND; dbms_output.put_line('NOME: [ ' || var_simples.name || ' ] SALARIO: [ ' || var_simples.salary || ' ]'); END LOOP; CLOSE cursor_emp; END; /
Views: 40 Cida Luna
Unix tutorial : Unix Shell Script to connect Oracle database
 
05:00
Unix tutorial : Unix Shell Script to connect Oracle database This tutorial will show you how to connect oracle database using the command line in Unix. Here Unix shell scripting is used to connect the database using the sqlplus command. And you can see how to retrieve data from database using the shell script 1)Oracle tutorial : How to connect oracle database using sqlplus command line https://www.youtube.com/watch?v=N2DAK2ty8Gc 2)Job In Oracle : pl sql create job in Oracle Scheduler https://www.youtube.com/watch?v=Nwmt5S4Mod8&t=248s You can learn useful shell scripts for oracle dba oracle scripts for dba in unix oracle dba scripts 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 sqlplus connect to databaseoracle database monitoring shell scripts
Views: 27385 Tech Query Pond
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: 316 Technology mart
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: 80393 WiseOwlTutorials
PL/pgSQL con PostgreSQL 9.5 - Cursores (Cursors, Fetch, Open, Close) Práctica
 
05:00
Ejemplo: Práctica ejercicio con cursores. Todo esta basado en la documentación oficial que se encuentra para esta versión 9.5 . http://www.postgresql.org/docs/9.5/static/index.html
Views: 4402 SYSGAP
aula 2463   PL SQL CURSOR com loop NOTFOUND
 
06:22
Bem vindos a mais um curso de Oracle. Meu nome é Neri Neitzke, sou autor de 6.500 videoaulas. Já ministrei mais de 160 palestras em 8 países (Estados Unidos, Colômbia, Portugal, Angola, Moçambique, Cabo Verde, Guiné-Bissau e por todo o Brasi), entrem em contato para ter uma palestra pelo email [email protected] ou pelo fone 54 3329 5400
Views: 541 Neri Neitzke
MySQL VB.NET Tutorial 18 : Checkbox , radiobutton and groupbox with Database
 
09:46
GroupBox How to auto create radiobutton and groupbox VB.NET C sharp tutorial How to build two radio button groups in Visual VB.NET 2010 I need to build two groups of radio buttons, so that client can put an answer in ... your radio boxes will be grouped by which group box they are in. ... Defining environment variables for visual studio 2010 to use during build? Radio buttons and check boxes to display selected in textbox Getting User Choices: Using Check Boxes and Radio Buttons Check box, Radio button, and Group box in Visual . Let's now use the check box, radio button, and group box in a single application Radio Buttons - Visual VB.NET
Views: 60554 ProgrammingKnowledge
Tutorial 47 - LOOP in PLPGSQL
 
07:58
Learns about loop in PLPGSQL
Views: 6387 Programming Guru
PostgreSQL Fetch Query
 
03:47
Learn how to FETCH Query in PostgreSQL Shell Windows.
Views: 234 Helpfolder
Oracle 11g Online Training: Free Demo on Oracle 11g Training - Oracle 11g Job Oriented Training
 
26:14
Oracle 11g Online Training: Free Demo on Oracle 11g Training - Oracle 11g Job Oriented Training Subscribe to OPTGHAR Online IT Training and Placements at: https://www.youtube.com/channel/UCBGjmPr7EXF0GZmhw4isicA?sub_confirmation=1 Watch more demo videos at: https://www.youtube.com/channel/UCBGjmPr7EXF0GZmhw4isicA Apply for Oracle 11g DBA online training at: http://www.optghar.com/it-training-courses/oracle-11g-online-training-placement-opt-cpt-students/43/20 For more information contact OPTGHAR.com at: 844-678-4427 (844-OPTGHAR) | [email protected] | http://www.optghar.com Oracle 11g – SQL & PL/SQL The Oracle database environment 1.Reviewing basic architecture concepts 2.Oracle 10g Architecture 3.Main features of 9i and 10g Basic SQL*PLUS commands 1.Using script files, START, @, GET, SAVE, LIST, PROMPT, PAUSE, ACCEPT, DEFINE, SPOOL Basic SELECT Statement 1.Writing the statement in sql plus, Running the SELECT statement Ordering the output 1.Single Column, Descending order, multiple column sorts Conditional retrieval of data 1.Working with complex conditions, AND OR NOT LIKE BETWEEN Working with variables 1.Creating and using variables, Command substitution Pseudo columns and functions 1.Pseudo Columns, Row num, Sys date, User & UID, the Dual Table 2.Working with character functions 3.UPPER, LOWER, INITCAP, RPAD(), RTRIM(), SUBSTR(), INSTR(), 4.TRANSLATE(), REPLACE(), GREATEST(), LEAST(), DECODE 5.Working with date functions 6.TO_CHAR(), TO_DATE(), MONTHS_BETWEEN(), ADD_MONTHS(), LAST_DAY(), NEXT_DAY() Using non-character function 1.ROUND (), TRUNC (), SIGN (), Working with multiple tables, Different type of Joins, Writing Outer Joins Using the SET operators 1.Union, Intersect, minus Aggregating data using group functions 1.GROUP BY, HAVING Creating Sub queries 1.Single Row sub queries, Multiple row Sub queries Enhancing groups function 1.ROLLUP, CUBE Transaction Control Language 1.Rollback, Commit, save point Processing hierarchies 1.creating the Tree structure, LEVEL, CONNECT BY Data Manipulation Language 1.INSERT, UPDATE, DELETE Data Definition Language 1.CREATE, TRUNCATE, ALTER, DROP, RENAME, DESCRIBE Using Declarative Constraints 1.Views, Sequences, Synonyms, Indexes, USER_TABLES, USER_TAB_COLUMNS, USER_OBJECTS, USER_IND_COLUMNS, USER_UPDATEABLE_COLUMNS, Materialized Views, Other Data dictionary views Database Security 1.Object Privileges, Granting access to objects Improving query performance 1.Planning and managing the tuning process, Employing tuning tools, Running EXPLAIN PLAN and auto trace, SQL Trace and TKPROF output, Optimizer concepts, Fundamentals of access paths, Gathering object and system statistics with DBMS_STATS, Utilizing hints and optimizer mode, Specifying first-rows optimization, Determining the driving table Other Concepts 1.The Relational Database Model, The system Development Lifecycle, Overview of normalization PL/SQL Blocks 1.Structure, Writing Anonymous Blocks Variables 1.Oracle Data types, TYPE and ROWTYPE declarations, Value assignments Control structures 1.IF ELSE ENDIF statement, IF ELSIF ELSE ENDIF statement, 2.LOOP END , LOOP statement, WHILE condition, FOR condition Cursors 1.Implicit and Explicit Cursors, Cursor Manipulation statements, 2.OPEN FETCH CLOSE EXIT WHEN Printing Values to Screen Procedures 1.Creating and Calling Procedures Functions 1.Creating and Calling Functions Packages 1.Package Header, Package Body Design Tips and Techniques 1.Format of standard packages in an application, Spec and Body, NOCOPY hint Triggers 1.Database triggers, calling procedures from triggers Dynamic SQL 1.EXECUTE IMMEDIATE, DBMS_SQL package Oracle Supplied packages 1.DBMS_OUTPUT, UTL_FILE Collection data types 1.Associative Arrays, Nested tables, VARRAYs Oracle 11g Online Training: Free Demo on Oracle 11g Training - Oracle 11g Job Oriented Training Subscribe to OPTGHAR Online IT Training and Placements at: https://www.youtube.com/channel/UCBGjmPr7EXF0GZmhw4isicA?sub_confirmation=1 Watch more demo videos at: https://www.youtube.com/channel/UCBGjmPr7EXF0GZmhw4isicA Apply for Oracle 11g DBA online training at: http://www.optghar.com/it-training-courses/oracle-11g-online-training-placement-opt-cpt-students/43/20 For more information contact OPTGHAR.com at: 844-678-4427 (844-OPTGHAR) | [email protected] | http://www.optghar.com
MySQL VB.NET Tutorial 16 : How to Link Chart /Graph with Database
 
19:00
Creating graph in Windows Forms Application Mysql vb.net Data Binding a Chart to a Database visual basic Line chart in c# using data from database - Graph database for vb.NET How to Create Excel graphs using vb Program Creating graphs using visual studio Graph And Sql Data - C# Programming Using Chart Control in Visual Studio 2010 C beginners Creating graph in Windows Forms Application Charts in SQL Server Reporting Mysql Threaded plotting in Visual Studio visual basic with Windows Forms vb.net Windows Forms application How to reload a fastline chart using Windows.Forms Windows Charting Application Learn the Windows Forms Chart Control How do I plot data on a Chart in a CLR Form in C#?‎ Mysql how to draw line graph in .net?‎ Mysql Plot with visual studio C# express‎ Mysql
Views: 80676 ProgrammingKnowledge
Podcast Episode #18: Understanding the Fetch Block in Scribe Online
 
11:25
The fetch block in Scribe Online IS advanced maps allows an integration the ability to process records from an additional data set—conceptually, this is similar to a sub query. The fetch block is available for any Connector for any entity that supports reads. In this podcast, we will discuss use-cases around the fetch block, including the ability to build ad-hoc relationships when a relationship is not exposed through a Scribe Online Connector. Additionally, you’ll learn how to use the fetch block to process all of your data sets that are in scope of the map. In the sample ADV map blocks to the left, you'll see a map in Scribe Online that will query "sales order" headers from a source, processing each header record from the result set one-at-a-time. For each header, it will upsert a record to the target application, and then process each of the "sales order line item(s)" from a result set returned by the fetch block. After all of the fetched line items have been processed, the map will exit the fetch block and continue through the rest of the map—which has currently been left empty. For users already familiar with Scribe Online Advanced Maps, you can think of the fetch block as a combination of the query and lookup operation blocks. http://blog.scribesoft.com/s01e18-understanding_the_fetch_block_in_scribe_online/
Views: 852 Scribe Software
PLSQL Packages
 
03:26
Demonstration of working of PL/SQL Packages: Aim: To create PL/SQL Package with following procedures and functions 1. Procedures: a. Print Total Quantity Sales Summary Report(SalesId, Date, Quantity and Total Quantity) b. Print Total Quantity Sales Summary Report by Date wise 2. Functions: a. Return employee name who made maximum sales till date b. Return product name soled maximum quantity till date Procedure : STEP-1: Create the package named as ‘Sales package’ consisting of two procedures and two functions as follows: create or replace package sales_pkg as PROCEDURE sales_sid_proc; PROCEDURE sales_date_proc; FUNCTION max_emp_func RETURN char; FUNCTION max_prod_func RETURN char; end sales_pkg; / create or replace package body sales_pkg as procedure sales_sid_proc is s_sid sales.sid%type; s_date sales."date"%type; s_qty sales.qty%type; tqty sales.qty%type; CURSOR salescur IS select sid, "date", qty from sales order by sid, "date"; BEGIN tqty:=0; dbms_output.put_line('SID' || ' '|| 'DATE' || ' ' || 'QTY' || ' ' || 'TOTAL QTY'); dbms_output.put_line('---------' || ' '|| '--------' || ' ' || '-------' || ' ' || '---------'); OPEN salescur; LOOP FETCH salescur into s_sid, s_date, s_qty; tqty:=tqty+s_qty; EXIT WHEN salescur%notfound; dbms_output.put_line(s_sid || ' '|| s_date || ' ' || s_qty || ' ' || tqty); END LOOP; CLOSE salescur; end sales_sid_proc; procedure sales_date_proc is s_sid sales.sid%type; s_date sales."date"%type; s_qty sales.qty%type; tqty sales.qty%type; temp1 sales.sid%type; temp2 sales.sid%type; CURSOR salescur IS select sid, "date", qty from sales order by "date"; BEGIN tqty:=0; dbms_output.put_line('SID' || ' '|| 'DATE' || ' ' || 'QTY' || ' ' || 'TOTAL QTY'); dbms_output.put_line('---------' || ' '|| '--------' || ' ' || '-------' || ' ' || '---------'); OPEN salescur; LOOP FETCH salescur into s_sid, s_date, s_qty; tqty:=tqty+s_qty; EXIT WHEN salescur%notfound; dbms_output.put_line(s_sid || ' '|| s_date || ' ' || s_qty || ' ' || tqty); END LOOP; CLOSE salescur; end sales_date_proc; function max_emp_func return char is max_emp varchar(20); BEGIN Select ename into max_emp from emp inner join sales on emp.eid=sales.eid where sales.qty=(select max(qty) from sales); RETURN max_emp; end max_emp_func; FUNCTION max_prod_func RETURN char iS max_prod varchar(20); BEGIN Select pname into max_prod from prod inner join sales on prod.pid=sales.pid where sales.qty=(select max(qty) from sales); RETURN max_prod; END max_prod_func; END sales_pkg; / STEP-2: Call the procedures and functions from the above created package as follows: set serveroutput on; begin dbms_output.put_line('Sales Summary Report'); sales_pkg.sales_sid_proc; dbms_output.put_line('Sales Summary Report Date wise'); sales_pkg.sales_date_proc; dbms_output.put_line('Employee who made highest sales: '||sales_pkg.max_emp_func); dbms_output.put_line('The highest sold product is: '||sales_pkg.max_prod_func); end; /
Views: 22 Hassle free Labs
SEARCHING/SHOWING RECORD FROM DATABASE USING RESULT SET & PREPARED STATEMENT IN JAVA IN HINDI
 
15:09
SEARCHING RECORD FROM DATABASE USING RESULT SET & PREPARED STATEMENT IN JAVA IN HINDI SHOWING RECORD IN DATABASE USING RESULT SET & PREPARED STATEMENT IN JAVA IN HINDI HOW TO INSERT, UPDATE , DELETE , SEARCH RECORD IN JAVA HOW TO SEARCH RECORD ON CLICK IN JAVA USRE FORM EASY TO MAKE SEARCH BUTTON IN JAVA DESKTOP APPLICATION 2017 how to make java application how to use insert button in java how to insert record in java how to connect java with sql server how to make desktop application in java how to make school management system in java how to use java netbeans to make desktop application desktop application in java how to make jframe in java how to search record in jframe how to update record in jframe how to delete record in jframe ===================== CODE ===================== public void ShowRecord(){ try { String sql = "select EmpName,EmpDepartment,EmpSalary,Doj,Email,Gender,[status],Dol from empinfo where empid='" + txtempid.getText() + "' "; pst = con.prepareStatement(sql); rs = pst.executeQuery(); if (rs.next()) { txtempname.setText(rs.getString(1)); ComboDep.setSelectedItem(rs.getString(2)); txtempsalary.setText(rs.getString(3)); txtempdoj.setText(rs.getString(4)); txtemail.setText(rs.getString(5)); String gender = rs.getString(6); if (gender.equalsIgnoreCase("male")) { malebtn.setSelected(true); } if (gender.equalsIgnoreCase("female")) { femalebtn.setSelected(true); } String state = rs.getString(7); if (state.equalsIgnoreCase("working")) { status.setSelected(false); } if (state.equalsIgnoreCase("left")) { status.setSelected(true); } txtdol.setText(rs.getString(8)); } } catch (Exception e) { JOptionPane.showMessageDialog(this, e); } } HOW TO MAKE EMPLOYEE MANAGEMENT SYSTEM ON JAVA More Relevant videos (Desktop application) • How to make Java Desktop Application how to make user form more attractive using mouseEnter event https://www.youtube.com/watch?v=1uRbKtNi3sA • How to make Desktop Application how to add Items in Combobox and add Column in jtable https://www.youtube.com/watch?v=IVjUQe_OWwo • How to make java Desktop Application how to use jTable , Radio button & Group button https://www.youtube.com/watch?v=8zSLJfta-dM • How to make Desktop Application - How to make GUI on java in Urdu/hindi https://www.youtube.com/watch?v=buGArtryr_U • How to make Java Desktop Application How to use jpanel in Java Desktop Application (2) https://www.youtube.com/watch?v=Npvw9wP3Cfo • How to make Java Desktop Application How to use jpanel in Java Desktop Application (1) https://www.youtube.com/watch?v=33_u6UaZzQM • How to make Java Desktop Application - How to login on Enter key pressed in Java in Urdu/Hindi https://www.youtube.com/watch?v=eCHb_VUkIcE • Java Desktop Application - How to show and hide password in java in Urdu/Hindi https://www.youtube.com/watch?v=jJtVgxcrHe8 • Java Desktop Application - How to make Login Form in java in Urdu/Hindi https://www.youtube.com/watch?v=zi7LfGq00oo • Java Desktop Application - How to make Exit Button & Minimize Button in java https://www.youtube.com/watch?v=ms0BoZkVS5k • Java Desktop Application - How to make Splash screen in java in urdu & hindi https://www.youtube.com/watch?v=ZHpXkeBAsP0 • HOW TO MAKE DESKTOP JAVA APPLICATION SUCH AS SCHOOL MANAGEMENT SYSTEM https://www.youtube.com/watch?v=bS5sTT9-yB0 • HOW TO UPDATE RECORD IN JAVA USER FORM AND HOW TO MAKE UPDATE BUTTON IN JAVA https://youtu.be/1vXjP1PIUOo
How to Display Selected Database Columns in JTable in Java Swing
 
03:27
Get Source Code/Read : http://intactabode.com/ For Developing support email your Details at : [email protected] Install Free Trail GST Ready Accounting Package Send your Contact information Name, Email, Contact Number to watch demo in English : https://www.youtube.com/watch?v=a4sFNtZuYzs&ab_channel=IntactAbode watch demo in Hindi : https://www.youtube.com/watch?v=I3eCieDpG3o&ab_channel=IntactAbode For Source Code Visit : http://corneey.com/wJ6X2K Subscribe to YouTube channel http://corneey.com/wJ6VoC Like us on Facebook http://corneey.com/wJ6C2l Follow us on Twitter http://corneey.com/wJ6C7x Follow me on Google+ http://corneey.com/wJ6Vhc linkedin http://corneey.com/wJ6V5g Watch More Java Swing(Windows Builder) GUI Tips ans FAQS Here: https://www.youtube.com/playlist?list=PLErD1cRL87W-NzXGuV1tAGO8kf2zrqU0k IN this video i shown How to Display Selected Column in JTable in Java Swing, How to fetch the data and add display them in your prefered jtable __________________________________________________________________ Also Watch More Java Swing Tutorials How to Display Time and Date In java Swing https://youtu.be/i-M08_hATzM How to Set Password Limit Attempts in Java Swing https://youtu.be/6SxzUHHRnsA How to Print JTable Without any Jar in Java Swing https://youtu.be/0Z9IfjIAMo8 How to Increase Font Size in Eclipse IDE https://youtu.be/dcevO7XNjB8 How to Generate Random Numbers in Java Swng https://youtu.be/qvaXkqt9OSU How to Fetch Database Selected Row in JTextField Java Swing https://youtu.be/xm1ovgF9FNA How to Fetch Database Selected Row in JTextField Java Swing https://youtu.be/1QiWXpqT28s How to Fetch Database Column in JComboBox Java Swing https://youtu.be/V_KkRr0DJ4c Java swing close window on button Clicked https://youtu.be/mblB8eG2mjA How to Display Selected Database Columns in JTable in Java Swing https://youtu.be/oz4iD_lidHg How to Delete Row From JTable in Java Swing https://youtu.be/accjKR4fxUM How to Convert String to Integer and Vice Versa https://youtu.be/MsfpBRZbkxA How to Close Current Frame When Clicked on Exit Java Swing https://youtu.be/PLrnvBIO-lA How to Calculate JTable Column Values in Java Swing https://youtu.be/zu57Gdg5TDY How to Add JTextField Values in Jtable DefaultTableModel in Java Swing https://youtu.be/Wl5guY77TUc How to Add Image to JButton in Java Swing https://youtu.be/jGYqtIWn5OY How to Print Jtable Data in Java Swing https://youtu.be/zaMhFY1-0eI How to Add or Remove Values in Database in Java Swing https://youtu.be/ARQ0UHukZzI How to Generate Random Numbers in Java https://youtu.be/p0psde93IBg How to Show Selected Colomn in JLable From Database in Java https://youtu.be/ydjouDv8tzQ How to Display Message in JLable in Java Swing https://youtu.be/L8xs35wX1QY Validations for JTextField in Java Swing Application https://youtu.be/MxEvihnQOD0 How to Open Two JFrames on One Button Click in Java https://youtu.be/zW9jn8e2lnc
Views: 18637 Intact Abode
Stored Procedure Programming Concepts  -  While Loops
 
02:41
Stored Procedures Unpacked: https://www.udemy.com/stored-procedures-unpacked-learn-to-code-t-sql-stored-procs/?couponCode=YOUTUBE-VDESC-V1. Access the FULL course and downloadable PSDs/practice code/supplemental materials now. In this lesson, we're going to learn about While Loops. So, what is a While Loop? Well, While Loop is set up using a While statement. While statements are used to repeatedly execute a block of SQL statements. That's where the Loop phrase comes from because we're kind of going around and around in a loop as we execute the statements. The block is repeatedly executed while the statement's condition is true. That's kind of how the semantics works. While the condition of the While statement is true we will execute a block of code. Here's an example of a While Loop where we're counting to 10. In this example we have a variable where we're declaring it as an integer. We're starting at a one. We have a While statement and it's saying WHILE, our variable I is less than or equal to 10. So that's where we're counting the 10. We get to 10, we're going to stop. In the meantime we have a loop and we're going to execute this block of code within the begin and end statement. First of all we're going to print the code. Then we're going to increment our variable by one. So we're going to get, if I is one we're going to add one to it and it's going to become two. And then we're going to go back to the top. We're going to test I. Is I less than 10? Sure is. Print out the value, increment the value. Keep going around and around. Before you know it we've added one to I enough times that I is going to be 11 and 11 is greater than 10. We will not execute any more code within the beginning and end code block here and we will exit the loop. If you find yourself repeating statements, especially those that fall into a pattern, then there's a possibility you can use a WHILE statement to save some typing and make your programming more fun to write. To go back and look at our example here, you can imagine having to type out this set equals I equals I plus one, 10 different times, it would be become kind of boring. You wouldn't do that probably but you get the point that if you have a lot of code that's repeating, there's a pattern to it, you're probably going to start going, "I bet you I can do a loop and this will be a little more fun to write than just typing all this stuff out." So when you start seeing a pattern to your code, start thinking about loops especially WHILE loops. So let's go look at some examples of how we can use WHILE loops.
Views: 188 Kris Wenzel
Top 30 PLSQL interview questions and answers
 
10:08
Most frequently asked questions: How to get distinct entries from the database? How to get results of any query which is sorted in any order? What is a mutating table error and how can you get around it? Describe the use of %ROWTYPE and %TYPE in PL/SQL What packages (if any) has Oracle provided for use by developers?Describe the use of PL/SQL tables When is a declare statement needed ? In what order should a open/fetch/loop set of commands in a PL/SQL block be implemented if you use the %NOTFOUND cursor variable in the exit when statement? Why? What are SQLCODE and SQLERRM and why are they important for PL/SQL developers? How can you find within a PL/SQL block, if a cursor is open? How can you generate debugging output from PL/SQL? What are the types of triggers? What are two parts of package ? what is the difference between to_char and to_date functions? How do you optimize SQL queries ? What are nested triggers ? What is a bitmap index? What is the usage of NVL? write a query for finding the length of the sting. please explain database architecture. How to get employee name from employee table which is the fifth highest salary of the table? Write a query to generate target column. Can we use out parameter in function? What will be the output for the below Query Select 'High' from dual where null = null; what is the difference between stored procedure and packaged procedure What are the steps you take to tune(performance tuning) the code in plsql? what is self join and how it works?? Can you alter procedure with in package? What is substr()&instr()? Difference between case and decode? Can you use sysdate in check constraints? If no, why? Difference between column level constraints & table level constraints? What is optimizer? What is nested_loop join? What is pivot operator? Tell me some oracle 10g features? What is m_view? What is master & detail tables? What is sqlcode and sqlerrm? Diff b/w procedure & packages? What are the dis_adv of packages? How to retrieve top 3 salaries from each departments? Can you update complex view? If no, why? When should rebuild one an index? Tell me some errors? Tell me some restrictions on cursor variables? What is context switching? What is bulk collect? What is nullif()? What is mutating error? What are the module's , you are working? Which will fire default first statement level or row level trigger? What is bulkcollect? And any restrictions in bulkcollect? What is the use of limit clause in bulkcollect? How to debugg your code? How to trace error handling? How to find which line error was raised? What are the methods there in save exceptions? What is functional based index? Write syntax? How to update complex view? Subscribe here : https://www.youtube.com/channel/UCofhGV_j_4cVGa9R08MsuXQ
Views: 9839 Oracle PL/SQL
How to configure Microsoft Excel to connect to an Oracle Database
 
11:52
Mike van der Velden, Product Manager at Simba Technologies, provides a step-by-step guide for configuring Microsoft Excel to connect with Oracle Database OLAP Option. Mike walks through the one-time set-up of Oracle's Transparent Networking Substrate (TNS), followed by the Data Source Name (DSN) and Office Data Connection (.odc). Once configured, Microsoft Excel connects easily to Oracle Database OLAP Option for ad hoc data query, data analysis and BI reporting.
69- Oracle PL SQL Loops - While Loop تعليم أوراكل
 
09:01
by Mohamed El Desouki - محمد الدسوقى [email protected] Tel :00966 553450836 جامعة سلمان بن عبد العزيز - السعودية - الخرج Database 2 - PL/SQL - While Loop Statement in Arabic Text Book: Fundamentals of Database Systems, 5th Edition, by Elmasri/Navathe, published by Addison-W
how to fetch or populate data from database to jframe or jtable [SOLVED]- java tutorial #14
 
08:06
Bring the data from back end to front end in java netbeans.... or want to see or bring the database's data to your jframe in java or jtable here i will show you how to do that.... ============================================== IMPORTANT LINKS: -- rs2xml ( JAR FILE) https://drive.google.com/file/d/0BwUVtTEFk6GAVzItTzV1ZnlPVE0/view?usp=sharing -- SQLITE JDBC (JAR FILE) https://drive.google.com/file/d/0BwUVtTEFk6GAMmc0WmF0SUl2d3c/view?usp=sharing for any query drop your comments below this video please rate comment and subscribe for more videos..
Views: 82117 GSoft Knowledge
Chapter 6 : PL/SQL Control Structure (Conditional Statement - If-Else, Case & Loops)
 
27:29
This chapter shows you how to structure the flow of control through a PL/SQL program. You learn how statements are connected by simple but powerful control structures that have a single entry and exit point. Collectively, these structures can handle any situation. Their proper use leads naturally to a well-structured program. This chapter discusses the following topics: Overview of PL/SQL Control Structures Conditional Control: IF and CASE Statements Iterative Control: LOOP and EXIT Statements Sequential Control: GOTO and NULL Statements
Loops in SQL Part - 2
 
10:27
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: 31 Technology mart