Home
Search results “Catching sql exception oracle”
PL/SQL tutorial 46: Introduction to PL/SQL exception Handling in Oracle Database By Manish Sharma
 
03:41
Check out the latest tutorial on Introduction to PL/SQL exception Handling in Oracle Database by Manish Sharma from RebellionRider.com ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/exception-handling Previous Tutorial ► ------------------------------------------------------------------------- ►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___ 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: 23588 Manish Sharma
Oracle || PL/SQL Exceptions  Part - 1 by dinesh
 
42:24
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 Exception Handling - How to Raise Exception in PLSQL
 
09:25
PL SQL Exception Handling - How to Raise Exception in PLSQL PL-SQL tutorial for Beginners in Hindi and English
Exception Handling in Oracle PL SQL
 
13:46
Exception Handling in Oracle PL SQL By Dr. RD Balaji Help us caption & translate this video! http://amara.org/v/DWUx/
PL/SQL:Exceptions
 
12:09
In this tutorial, you'll learn the difference between compile & run time error and how to handle the exceptions..
Views: 15097 radhikaravikumar
T-SQL - Exception Handling
 
05:10
T-SQL - Exception Handling Watch more videos at https://www.tutorialspoint.com/tsql_online_training/index.asp Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited
Exception Handling in Oracle PLSQL
 
07:46
An exception is an error condition during a program execution. PL/SQL supports programmers to catch such conditions using EXCEPTION block in the program and an appropriate action is taken against the error condition For more information on this course, please visit https://www.koenig-solutions.com/oracle-training-certification-courses.aspx
Views: 434 Koenig Solutions
13- Oracle PL/ SQL Arabic Course  Exception Handling – System Defined Exceptions اوراكل  ديفلوبر
 
15:42
أهلا بكم فى درس جديد من سلسلة دروس أوراكل ديفلوبر شرح PLSQL فى درس اليوم نتحدث عن عن كيفية معالجة الاخطاء (Exception Handling) فى أوراكل داخل بلوك PL/SQL. و تنقسم الاخطاء(Exception) الى نوعين رئيسيين: 1- System defined Exceptions (Implicitly Raised). 2- User defined Exceptions (Explicitly raised). نتناول اليوم بالشرح النوع الاول (System Defined Exceptions) والتى تنقسم الى : 1-Predefined Exceptions. 2-Nonpredefined Exceptions. فى هذا الرابط سوف تجد كل أنواع (Named exceptions) أو (Predefined Exceptions.) https://docs.oracle.com/cd/B10501_01/appdev.920/a96624/07_errs.htm و فى هذا الرابط تجد كل أرقام أخطاء أوراكل (Oracle Errors) https://docs.oracle.com/cd/B28359_01/server.111/b28278/toc.htm ......................................­.................... لو عندك اى سؤال خش على الجروب : https://www.facebook.com/groups/oracle.askgad ......................................­.................... لمتابعة كل ماهو جديد من خلال صفحتنا https://www.facebook.com/askgad
Views: 2972 Ask Gad
PL/SQL Tutorial : FORALL with SAVE EXCEPTION
 
09:02
PL/SQL Tutorial : FORALL with SAVE EXCEPTION SQL Tutorial SQL Tutorial for beginners PLSQL Tutorial PLSQL Tutorial for beginners PL/SQL Tutorial PL SQL Tutorial PL SQL Tutorial for beginners PL/SQL Tutorial for beginners Oracle SQL Tutorial
Views: 1947 TechLake
PL/SQL tutorial 49: Declare user define exception using PRAGMA EXCEPTION_INIT in Oracle Database
 
08:24
RebellionRider.com presents PL/SQL Tutorial on How to declare user define exception using PRAGMA EXCEPTION_INIT in Oracle Database by Manish Sharma ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/user-define-exception-3 Previous Tutorial ► User-Define Exception using RAISE_APPLICATION_ERROR https://youtu.be/k3xCWONvRxY ------------------------------------------------------------------------- ►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___ 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: 16861 Manish Sharma
38/125 Oracle PLSQL: Handling Exceptions/Non- Predefined Practice
 
09:26
تعلم اوراكل حتى الاحتراف Learn Oracle PLSQL EXAM 1Z0-144
Views: 659 khaled alkhudari
P7 - Exceptions Handling
 
11:11
Praktikum 7 - Exception Handling
Oracle tutorial : Exception Handling In Oracle PL SQL
 
13:21
Oracle tutorial : Exception Handling In Oracle PL SQL pl sql exception no data found pl sql select no data found oracle trigger exception pl sql exception handling best practice CREATE OR REPLACE PROCEDURE ORA_EXCE_HANDLING IS MYQUERY VARCHAR2(100); STR_ID VARCHAR2(10); BEGIN MYQUERY:='SELECT ID FROM MYDEV.EMPLOYEE111 WHERE ID=''1'''; DBMS_OUTPUT.PUT_LINE('QUERY '||MYQUERY); BEGIN EXECUTE IMMEDIATE MYQUERY INTO STR_ID; EXCEPTION WHEN NO_DATA_FOUND THEN DBMS_OUTPUT.PUT_LINE('EXCEPTION CAPTURE.'); WHEN OTHERS THEN DBMS_OUTPUT.PUT_LINE('OTHER EXCEPTION IS CAPTURE HERE :'||SQLERRM); END; DBMS_OUTPUT.PUT_LINE('EMPLOYEE ID '||STR_ID); END; #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 880 Tech Query Pond
How to Handle PL SQL Exceptions in Oracle.
 
21:29
How to Handle PL SQL Exceptions in Oracle. Handle PL SQL Errors thorugh Oracle PL SQL Exceptions. Here are the list of PL SQL exceptions I have described in this video. 1. no_data_found 2. too_many_rows 3. zero_divide 4. invalid_number 5. rowtype_mismatch 6. cursor_already_open 7. case_not_found 8. invalid_cursor 9. others
Views: 965 Subhroneel Ganguly
PL/SQL Tutorial | User Defined Exception | Pragma Exception_INIT in Oracle Database 11g
 
23:33
Learn in depth with example about creating user defined exception using Pragma Exception_INIT and Raise_application_error following handling of different types of system named and unnamed exception in details. How to handle exception in oracle database, How to handle user defined exception in oracle database, What is Pragma in Exception Handling, What is Pragma Exception_INIT in oracle, Types of exception available in oracle, How to use Raise_application_error in oracle, How to use custom exception in oracle, How to use pragma autonomous transaction, SQLERRM, SQLCODE, Raise_application_error, In Oracle PL/SQL, PRAGMA refers to a compiler directive or "hint" it is used to provide an instruction to the compiler. The 5 types of Pragma directives available in Oracle are listed below: * PRAGMA AUTONOMOUS_TRANSACTION * PRAGMA SERIALLY_REUSABLE * PRAGMA RESTRICT_REFRENCES * PRAGMA EXCEPTION_INIT * PRAGMA INLINE Details of System Exception: DUP_VAL_ON_INDEX ORA-00001 You tried to execute an INSERT or UPDATE statement that has created a duplicate value in a field restricted by a unique index. TIMEOUT_ON_RESOURCE ORA-00051 You were waiting for a resource and you timed out. TRANSACTION_BACKED_OUT ORA-00061 The remote portion of a transaction has rolled back. INVALID_CURSOR ORA-01001 You tried to reference a cursor that does not yet exist. This may have happened because you've executed a FETCH cursor or CLOSE cursor before OPENing the cursor. NOT_LOGGED_ON ORA-01012 You tried to execute a call to Oracle before logging in. LOGIN_DENIED ORA-01017 You tried to log into Oracle with an invalid username/password combination. NO_DATA_FOUND ORA-01403 You tried one of the following: You executed a SELECT INTO statement and no rows were returned. You referenced an uninitialized row in a table. You read past the end of file with the UTL_FILE package. TOO_MANY_ROWS ORA-01422 You tried to execute a SELECT INTO statement and more than one row was returned. ZERO_DIVIDE ORA-01476 You tried to divide a number by zero. INVALID_NUMBER ORA-01722 You tried to execute a SQL statement that tried to convert a string to a number, but it was unsuccessful. STORAGE_ERROR ORA-06500 You ran out of memory or memory was corrupted. PROGRAM_ERROR ORA-06501 This is a generic "Contact Oracle support" message because an internal problem was encountered. VALUE_ERROR ORA-06502 You tried to perform an operation and there was a error on a conversion, truncation, or invalid constraining of numeric or character data. CURSOR_ALREADY_OPEN ORA-06511 You tried to open a cursor that is already open. Linkedin: https://www.linkedin.com/in/aditya-kumar-roy-b3673368/ Facebook: https://www.facebook.com/SpecializeAutomation/
C Simplify IT: Error Handling using Stored procedure in Mysql 8
 
07:02
Exception handling in my sql using input parameters
Views: 1599 Vikrant Singh
Error Handling in SQL Server | Sql Server Exception Handling
 
13:18
This video talks about Error Handling in SQL Server Sql Server Exception Handling SQL Server Error Handling Sql Server Exception Handling SQL Error Handling Sql Exception Handling sql exceptions sql errors How to handle errors in sql server how to handle exceptions in sql server raiserror in sql sql raiserror try block in sql sql try catch block catch block in sql sql catch block sql throw user defined exceptions in sql server sql server interview questions and answers
Views: 821 Training2SQL MSBI
PL/SQL Tutorial | Exception Handling in Oracle Database
 
08:58
Learn exception handling in oracle, understanding different types of exceptions and trapping exception with SQLERRM and SQLCODE. How to handle exception in oracle database, How to handle user defined exception in oracle database, What is Pragma in Exception Handling, What is Pragma Exception_INIT in oracle, Difference between named and unnamed exception in oracle, Types of exception available in oracle, How to use Raise_application_error in oracle, How to use custom exception in oracle, Details of System Exception: DUP_VAL_ON_INDEX ORA-00001 You tried to execute an INSERT or UPDATE statement that has created a duplicate value in a field restricted by a unique index. TIMEOUT_ON_RESOURCE ORA-00051 You were waiting for a resource and you timed out. TRANSACTION_BACKED_OUT ORA-00061 The remote portion of a transaction has rolled back. INVALID_CURSOR ORA-01001 You tried to reference a cursor that does not yet exist. This may have happened because you've executed a FETCH cursor or CLOSE cursor before OPENing the cursor. NOT_LOGGED_ON ORA-01012 You tried to execute a call to Oracle before logging in. LOGIN_DENIED ORA-01017 You tried to log into Oracle with an invalid username/password combination. NO_DATA_FOUND ORA-01403 You tried one of the following: You executed a SELECT INTO statement and no rows were returned. You referenced an uninitialized row in a table. You read past the end of file with the UTL_FILE package. TOO_MANY_ROWS ORA-01422 You tried to execute a SELECT INTO statement and more than one row was returned. ZERO_DIVIDE ORA-01476 You tried to divide a number by zero. INVALID_NUMBER ORA-01722 You tried to execute a SQL statement that tried to convert a string to a number, but it was unsuccessful. STORAGE_ERROR ORA-06500 You ran out of memory or memory was corrupted. PROGRAM_ERROR ORA-06501 This is a generic "Contact Oracle support" message because an internal problem was encountered. VALUE_ERROR ORA-06502 You tried to perform an operation and there was a error on a conversion, truncation, or invalid constraining of numeric or character data. CURSOR_ALREADY_OPEN ORA-06511 You tried to open a cursor that is already open. Linkedin: https://www.linkedin.com/in/aditya-kumar-roy-b3673368/ Facebook: https://www.facebook.com/SpecializeAutomation/
Views: 1004 Specialize Automation
Exception handling in oracle pl/sql with example
 
14:01
An error condition during a program execution is called an exception in Oracle PL/SQL. This is a free video tutorial on Oracle PL/SQL Exceptions. The video demonstrates examples on how to perform exception handling in oracle PL.SQL.
Views: 1047 Kishan Mashru
How NOT to Handle Exceptions - Part 1
 
06:43
In which Steven Feuerstein takes a look at several ways you should never handle an exception in your PL/SQL block. To summarize: 1. Don't swallow up or hide errors. 2. Don't simply display error information on the screen through a call to DBMS_OUTPUT.PUT_LINE. 3. Don't handle and re-raise without adding value (logging or doing *something*). Related blog post: http://stevenfeuersteinonplsql.blogspot.com/2017/02/now-not-to-handle-exceptions.html Related LiveSQL script: https://livesql.oracle.com/apex/livesql/file/content_EHHFC36YW2834RB7Z9OE846C6.html ======================================== Practically Perfect PL/SQL with Steven Feuerstein Copyright © 2016 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.
Bulk Exceptions in Oracle  | Oracle Tutorial | Mr. Murali
 
19:14
Bulk Exceptions in Oracle ►For Registration : https://goo.gl/r6kJbB ►Call: +91-8179191999 ► Visit Our Website: http://nareshit.in/ http://nareshit.com/ ► About NareshIT: "Naresh IT is the Best Software Training Institute for Hadoop, Salesforce, AWS, DevOps, Sprak, Data Science, Python, Tableau, RPA ,Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in Hyderabad, Chennai and Vijayawada, India which provides online and classroom training classes" ►For Registration : https://goo.gl/r6kJbB ►Call: India- 8179191999, USA- 404-232-9879 Email: [email protected] ►Our Online Training Features: 1.Training with Real-Time Experts 2.Industry Specific Scenario’s 3.Flexible Timings 4.Soft Copy of Material 5.Share Video's of each and every session. Check The Below Links: ►For Course Reg : https://goo.gl/r6kJbB ► Subscribe to Our Channel: https://goo.gl/q9ozyG ► Circle us on G+: https://plus.google.com/NareshIT ► Like us on Facebook: https://www.facebook.com/NareshIT ► Follow us on Twitter: https://twitter.com/nareshitech ► Visit Our Website: http://nareshit.in/ http://nareshit.com/
Views: 3176 Naresh i Technologies
PL/SQL tutorial 47: How to declare user-define exception using a EXCEPTION variable
 
05:53
How to declare user-define exception using a variable of EXCEPTION datatype in Oracle Database By Manish Sharma from RebellionRider.com ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/user-define-exception-1 Previous Tutorial ► Introduction to Exception Handling: https://youtu.be/jBzhLOCBuuA ------------------------------------------------------------------------- ►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___ 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: 18386 Manish Sharma
SQL: WITH Clause
 
06:11
In this tutorial, you'll learn will learn how to use with clause PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's procedural extension for SQL and the Oracle relational database. PL/SQL is available in Oracle Database (since version 7), TimesTen in-memory database (since version 11.2.1), and IBM DB2 (since version 9.7).[1] Oracle Corporation usually extends PL/SQL functionality with each successive release of the Oracle Database. PL/SQL includes procedural language elements such as conditions and loops. It allows declaration of constants and variables, procedures and functions, types and variables of those types, and triggers. It can handle exceptions (runtime errors). Arrays are supported involving the use of PL/SQL collections. Implementations from version 8 of Oracle Database onwards have included features associated with object-orientation. One can create PL/SQL units such as procedures, functions, packages, types, and triggers, which are stored in the database for reuse by applications that use any of the Oracle Database programmatic interfaces. PL/SQL works analogously to the embedded procedural languages associated with other relational databases. For example, Sybase ASE and Microsoft SQL Server have Transact-SQL, PostgreSQL has PL/pgSQL (which emulates PL/SQL to an extent), and IBM DB2 includes SQL Procedural Language,[2] which conforms to the ISO SQL’s SQL/PSM standard. The designers of PL/SQL modeled its syntax on that of Ada. Both Ada and PL/SQL have Pascal as a common ancestor, and so PL/SQL also resembles Pascal in several aspects. However, the structure of a PL/SQL package does not resemble the basic Object Pascal program structure as implemented by a Borland Delphi or Free Pascal unit. Programmers can define public and private global data-types, constants and static variables in a PL/SQL package.[3] PL/SQL also allows for the definition of classes and instantiating these as objects in PL/SQL code. This resembles usage in object-oriented programming languages like Object Pascal, C++ and Java. PL/SQL refers to a class as an "Abstract Data Type" (ADT) or "User Defined Type" (UDT), and defines it as an Oracle SQL data-type as opposed to a PL/SQL user-defined type, allowing its use in both the Oracle SQL Engine and the Oracle PL/SQL engine. The constructor and methods of an Abstract Data Type are written in PL/SQL. The resulting Abstract Data Type can operate as an object class in PL/SQL. Such objects can also persist as column values in Oracle database tables. PL/SQL is fundamentally distinct from Transact-SQL, despite superficial similarities. Porting code from one to the other usually involves non-trivial work, not only due to the differences in the feature sets of the two languages,[4] but also due to the very significant differences in the way Oracle and SQL Server deal with concurrency and locking. There are software tools available that claim to facilitate porting including Oracle Translation Scratch Editor,[5] CEITON MSSQL/Oracle Compiler [6] and SwisSQL.[7] The StepSqlite product is a PL/SQL compiler for the popular small database SQLite. PL/SQL Program Unit A PL/SQL program unit is one of the following: PL/SQL anonymous block, procedure, function, package specification, package body, trigger, type specification, type body, library. Program units are the PL/SQL source code that is compiled, developed and ultimately executed on the database. The basic unit of a PL/SQL source program is the block, which groups together related declarations and statements. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords divide the block into a declarative part, an executable part, and an exception-handling part. The declaration section is optional and may be used to define and initialize constants and variables. If a variable is not initialized then it defaults to NULL value. The optional exception-handling part is used to handle run time errors. Only the executable part is required. A block can have a label. Package Packages are groups of conceptually linked functions, procedures, variables, PL/SQL table and record TYPE statements, constants, cursors etc. The use of packages promotes re-use of code. Packages are composed of the package specification and an optional package body. The specification is the interface to the application; it declares the types, variables, constants, exceptions, cursors, and subprograms available. The body fully defines cursors and subprograms, and so implements the specification. Two advantages of packages are: Modular approach, encapsulation/hiding of business logic, security, performance improvement, re-usability. They support object-oriented programming features like function overloading and encapsulation. Using package variables one can declare session level (scoped) variables, since variables declared in the package specification have a session scope.
Views: 12229 radhikaravikumar
User defined Exception in Oracle PL/SQL
 
21:35
This is a video tutorial on userdefined exceptions in oracle pl/sql. The video demonstrates use of declare - raise -handle way of exception handling, use of pragma exception_init,and raise_application_error way of user defined exception handling.
Views: 1011 Kishan Mashru
Service | Handling Exceptions in the Oracle Service Cloud REST API
 
03:27
This tutorial applies to Rel 15.8, 15.11 and 16.2. It shows you how to code for error and exception handling in the OSvC REST API.
Oracle Listener how to handle error message ORA 12541 TNS no listener
 
07:41
Step to handle the error message ORA-12541: TNS:no listener Right Click on Command Prompt, and click on Run as Administrator, then write following command: lsnrctl start lsnrctl services lsnrctl status lsnrctl start lsnrctl services lsnrctl status
Views: 8754 Data Science Center
How NOT to Handle Exceptions Part 2
 
07:53
In this second video, Steven warns against converting exceptions into status codes and placing INSERTs into your error log table directly into your exception section. Related LiveSQL script: https://livesql.oracle.com/apex/livesql/file/content_EHHFC36YW2834RB7Z9OE846C6.html Related blog post: http://stevenfeuersteinonplsql.blogspot.com/2017/02/now-not-to-handle-exceptions.html ======================================== Practically Perfect PL/SQL with Steven Feuerstein Copyright © 2016 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.
PL/SQL tutorial 48: Declare User-Define Exception using RAISE_APPLICATION_ERROR
 
06:39
Manish Sharma from RebellionRider.com presents PL/SQL Tutorial on How To Declare User-Define Exception using RAISE_APPLICATION_ERROR in Oracle Database ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/user-define-exception-2 Previous Tutorial ► ------------------------------------------------------------------------- ►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___ 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: 18772 Manish Sharma
Oracle tutorial : User Defined Exception in Oracle PL SQL
 
05:59
Oracle tutorial: User Defined Exception in Oracle PL SQL pl sql exception handling pl sql exception handling examples This video will show you how to raise user defined exceptions in oracle. Example: BEGIN IF condition THEN RAISE exception_name; END IF; EXCEPTION WHEN exception_name THEN statement; END; 1)We can defined exception to make your own exception. 2)This exception must be declare yourself and RAISE statement to raise explicitly. Declare exception : user_define_exception_name EXCEPTION; RAISE exception : RAISE user_define_exception_name; How to use : WHEN user_define_exception_name THEN //User Action lets see an example DECLARE exception1 EXCEPTION; g NUMBER; BEGIN FOR g IN (SELECT * FROM EMPLOYEE) LOOP IF g.ID = 7 THEN RAISE exception1; END IF; END LOOP; EXCEPTION WHEN exception1 THEN dbms_output.put_line(‘WE HAVE FOUND EMPLOYEE NUMBER 7’); END; / Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 182 Tech Query Pond
How to Handle Exceptions Properly - Part 3
 
07:21
In this third video in the series, Steven switches gears to talk about to properly handle exceptions: build or find a single reusable logging procedure and call that. Only pass it variables from your current application state that cannot be obtained via built-in calls, like DBMS_UTILITY.FORMAT_ERROR_BACKTRACE. Related LiveSQL Script: https://livesql.oracle.com/apex/livesql/file/content_EHHFC36YW2834RB7Z9OE846C6.html Related blog post: http://stevenfeuersteinonplsql.blogspot.com/2017/02/now-not-to-handle-exceptions.html To download the Logger utility, visit github.com/oraopensource/logger ======================================== Practically Perfect PL/SQL with Steven Feuerstein Copyright © 2016 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.
How to use type 4 jdbc driver in eclipse(oracle 11g or 10g)
 
03:06
This Video shows you "How to use type 4 jdbc driver in eclipse(oracle 11g or 10g)" ---------------------------------------------------------------------------------- Before you do this you should have ------------------------------------------------------ (1) Oracle 11g or 10g installed in your pc (2) Eclipse installed in your pc (3) Write the jdbc program (4) Execute the query in SQL Prompt that you are used in your jdbc program --------------------------------------------------------------------------- STEPS 1. Before running the jdbc program, just in case make sure the query executes correctly 2. write the program( i will provide the jdbc program code below) 3. go to Eclipse 4. 'Right Click' on JRE System Library(Build path --~ Configure Build path--~ Add External Jars--~ *choose ojdbc 6 jar -----C:\oraclexe\app\oracle\product\11.2.0\server\jdbc\lib---- (just search for ojdbc6 jar in oracle path or (oraclexe) path) 5. click open 6. click Apply 7. click Apply and close --------------------------------------------- sample jdbc type 4 driver program to execute --------------------------------------------- package com.nt.jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Scanner; public class FourthDriver { public static void main(String[] args) { Scanner sc=null; String user=null,pass=null; Connection con=null; ResultSet rs=null; Statement st=null; String query=null; int count=0; try { sc=new Scanner(System.in); if(sc!=null) { System.out.println("Enter Username: "); user=sc.nextLine(); System.out.println("Enter password: "); pass=sc.nextLine(); } user="'"+user+"'"; pass="'"+pass+"'"; Class.forName("oracle.jdbc.driver.OracleDriver"); con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","system","manager"); if(con!=null) st=con.createStatement(); /*SELECT COUNT(*) FROM USERLIST WHERE UNAME='jaya' AND PWD='123';*/ query="SELECT COUNT(*) FROM USERLIST WHERE UNAME="+user+" AND PWD="+pass; System.out.println(query); if(st!=null) rs=st.executeQuery(query); if(rs!=null) { if(rs.next()) count=rs.getInt(1); System.out.println(count); } if(count==0) System.out.println("Invalid Credentials"); else System.out.println("Valid Credentials"); }//try catch(SQLException se){ se.printStackTrace(); System.out.println("Record insertion failed"); } // catch(ClassNotFoundException cnf){ // System.out.println("Record insertion failed"); // cnf.printStackTrace(); // // } catch(Exception e){ System.out.println("Record insertion failed"); e.printStackTrace(); } finally { try { if(rs!=null) rs.close(); }catch(SQLException se) { se.printStackTrace(); } try { if(st!=null) st.close(); }catch(SQLException se) { se.printStackTrace(); } try { if(con!=null) con.close(); }catch(SQLException se) { se.printStackTrace(); } try { if(sc!=null) sc.close(); }catch(Exception se) { se.printStackTrace(); } }//finally }//method }//class ---------------------------------------------------------------------- ask in comments if you have any doubts ---------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------- Visit www.99techbuzz.com for more Articles like this Video :) ________________________________________________________________ Subscribe to the Channel http://www.youtube.com/channel/UCndUIPHik4T497b2sC_A6sw?sub_confirmation=1 ---------------------------------------------------------------------------------------------------------- For more tips and tricks like The Facebook Page https://www.facebook.com/99techbuzz/ ----------------------------------------------------------------------------------------------------------
Views: 449 99TechBuzz
Oracle PL/SQL Tutorial -  Suggestions for Exception Handling
 
06:14
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 Oracle training clip from InfiniteSkills offers advice on working with exceptions. 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/
TRY CATCH OR ERROR HANDLING IN SQL SERVER (URDU / HINDI)
 
18:49
SUBSCRIBE FOR MORE AND PRESS BELL ICON TO GET LATEST VIDEO UPDATES...
Views: 537 Learning Never Ends
Learn Oracle | Exception Handling in PL SQL
 
06:32
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: 217 Pebbles Tutorials
1. Exceptions raised in declaration section not handled in exception section.
 
03:31
This sometimes surprises a developer new to PL/SQL. The exception section of a PL/SQL block can only possibly handle an exception raised in the executable section. An exception raised in the declaration section (in an attempt to assign a default value to a variable or constant) always propagates out unhandled to the enclosing block. Related blog post: http://stevenfeuersteinonplsql.blogspot.com/2016/03/nine-good-to-knows-about-plsql-error.html ======================================== Practically Perfect PL/SQL with Steven Feuerstein 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.
How to handle errors with PRAGMA EXCEPTION_INIT in Oracle plsql developer.
 
09:02
How to handle errors with PRAGMA EXCEPTION_INIT in plsql. Handling plsql exception with compiler directive. This is a simple sql tutorial which set pl sql developer free to write their customized exception, to control their program structure at their own will. Source Code link: https://drive.google.com/file/d/0BznrW3lgX0ozdko4dFd0ZmlVRzA/view?usp=sharing
Views: 3025 Subhroneel Ganguly
6. Always log error (and backtrace) before re-raising the exception.
 
02:28
When you re-raise an exception, you will reset the backtrace (the track back to the line on which the error was raised) and might change the error code (if you raise a different exception to propagate the exception "upwards"). So it is extremely important to call you error logging subprogram (see previous Good to Know) before you re-raise an exception. Related blog post: http://stevenfeuersteinonplsql.blogspot.com/2016/03/nine-good-to-knows-about-plsql-error.html ======================================== Practically Perfect PL/SQL with Steven Feuerstein 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.
PLS-18: Non Predefined Exceptions in PL/SQL
 
11:25
PL/SQL For Full Course Experience Please Go To http://mentorsnet.org/course_preview?course_id=5 Full Course Experience Includes 1. Access to course videos and exercises 2. View & manage your progress/pace 3. In-class projects and code reviews 4. Personal guidance from your Mentors
Views: 18209 Oresoft LWC
PL/SQL: Stored Procedure Part-2
 
04:38
In this tutorial, you'll learn what is stored procedure. PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's procedural extension for SQL and the Oracle relational database. PL/SQL is available in Oracle Database (since version 7), TimesTen in-memory database (since version 11.2.1), and IBM DB2 (since version 9.7).[1] Oracle Corporation usually extends PL/SQL functionality with each successive release of the Oracle Database. PL/SQL includes procedural language elements such as conditions and loops. It allows declaration of constants and variables, procedures and functions, types and variables of those types, and triggers. It can handle exceptions (runtime errors). Arrays are supported involving the use of PL/SQL collections. Implementations from version 8 of Oracle Database onwards have included features associated with object-orientation. One can create PL/SQL units such as procedures, functions, packages, types, and triggers, which are stored in the database for reuse by applications that use any of the Oracle Database programmatic interfaces. PL/SQL works analogously to the embedded procedural languages associated with other relational databases. For example, Sybase ASE and Microsoft SQL Server have Transact-SQL, PostgreSQL has PL/pgSQL (which emulates PL/SQL to an extent), and IBM DB2 includes SQL Procedural Language,[2] which conforms to the ISO SQL’s SQL/PSM standard. The designers of PL/SQL modeled its syntax on that of Ada. Both Ada and PL/SQL have Pascal as a common ancestor, and so PL/SQL also resembles Pascal in several aspects. However, the structure of a PL/SQL package does not resemble the basic Object Pascal program structure as implemented by a Borland Delphi or Free Pascal unit. Programmers can define public and private global data-types, constants and static variables in a PL/SQL package.[3] PL/SQL also allows for the definition of classes and instantiating these as objects in PL/SQL code. This resembles usage in object-oriented programming languages like Object Pascal, C++ and Java. PL/SQL refers to a class as an "Abstract Data Type" (ADT) or "User Defined Type" (UDT), and defines it as an Oracle SQL data-type as opposed to a PL/SQL user-defined type, allowing its use in both the Oracle SQL Engine and the Oracle PL/SQL engine. The constructor and methods of an Abstract Data Type are written in PL/SQL. The resulting Abstract Data Type can operate as an object class in PL/SQL. Such objects can also persist as column values in Oracle database tables. PL/SQL is fundamentally distinct from Transact-SQL, despite superficial similarities. Porting code from one to the other usually involves non-trivial work, not only due to the differences in the feature sets of the two languages,[4] but also due to the very significant differences in the way Oracle and SQL Server deal with concurrency and locking. There are software tools available that claim to facilitate porting including Oracle Translation Scratch Editor,[5] CEITON MSSQL/Oracle Compiler [6] and SwisSQL.[7] The StepSqlite product is a PL/SQL compiler for the popular small database SQLite. PL/SQL Program Unit A PL/SQL program unit is one of the following: PL/SQL anonymous block, procedure, function, package specification, package body, trigger, type specification, type body, library. Program units are the PL/SQL source code that is compiled, developed and ultimately executed on the database. The basic unit of a PL/SQL source program is the block, which groups together related declarations and statements. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords divide the block into a declarative part, an executable part, and an exception-handling part. The declaration section is optional and may be used to define and initialize constants and variables. If a variable is not initialized then it defaults to NULL value. The optional exception-handling part is used to handle run time errors. Only the executable part is required. A block can have a label. Package Packages are groups of conceptually linked functions, procedures, variables, PL/SQL table and record TYPE statements, constants, cursors etc. The use of packages promotes re-use of code. Packages are composed of the package specification and an optional package body. The specification is the interface to the application; it declares the types, variables, constants, exceptions, cursors, and subprograms available. The body fully defines cursors and subprograms, and so implements the specification. Two advantages of packages are: Modular approach, encapsulation/hiding of business logic, security, performance improvement, re-usability. They support object-oriented programming features like function overloading and encapsulation. Using package variables one can declare session level (scoped) variables, since variables declared in the package specification have a session scope.
Views: 5699 radhikaravikumar
T-SQL - Exception Handling
 
05:10
T-SQL - Exception Handling Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited
Named and Unnamed Exceptions in Oracle using PL/SQL
 
10:10
In this video demonstration, expert instructor Rafiq Wayani will show you how to write named and unnamed exceptions in Oracle PL/SQL
Views: 225 Rafiq Wayani
PHP 10 ERROR HANDLING IN HINDI
 
23:42
Buy PHP books (affiliate): Cracking the Coding Interview https://amzn.to/2PXZ26B PHP: The Complete Reference https://amzn.to/2NhOKjr PHP and MySQL Web Development https://amzn.to/2LU1pnE Learning PHP, MySQL & JavaScript with j Query, CSS & HTML5 https://amzn.to/2Px3UP4 PHP and MySQL for Dynamic Web Sites https://amzn.to/2Q4WQdI PHP for the Web https://amzn.to/2Puns6u Learning PHP Design Patterns https://amzn.to/2wybd1S Beginning PHP6, Apache, MySQL Web Development https://amzn.to/2NcbkK1 Php 6 and MYSQL 5 for Dynamic Web Sites https://amzn.to/2LRSUJQ Learning PHP 7 https://amzn.to/2wAGS2G ----------------------------------------------------- PHP notes-https://viden.io/knowledge/php-introduction?utm_campaign=creator_campaign&utm_medium=referral&utm_source=youtube&utm_term=ajaze-khan-1
Views: 5014 LearnEveryone

irish times dating app
dating fsm
dating 5001
speed dating berlin english
number 1 dating app for android