How to use Tab View (Data Dictionary) of Oracle Database to solve the SQL Error ORA-00942 Table or View Does Not Exist error in Oracle Database ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/ora-00942 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 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: 8709 Manish Sharma
if you have any problem just ask me on my Facebook page (Pak Programmers) click link below https://www.facebook.com/pakprogrammers11266 and please subscribe my channel on youtube for more videos link below https://www.youtube.com/channel/UCcqaC_KMjrPCTUZWC5BJRsw
Views: 21859 Pak Programmers
For Download OracleXE 11g - https://goo.gl/4nG1YN For Error Go to Step 10 in - https://goo.gl/4nG1YN Visit as on::::::::::::::::::: Website: http://techbotinc.com/ Facebook: https://www.fb.com/techbotinc/ Instagram: @techbotinc Twitter: https://twitter.com/techbot_inc Intro Music::::: DEAF KEV - Invincible https://www.youtube.com/watch?v=J2X5m... RetroVision - Puzzle [NCS Release] - YouTube https://www.youtube.com/watch?v=TN_8D-79BZg
Views: 40666 TechBot Inc.
Video 37 - How to connect to a Oracle Database? - Database Tutorial 37 This video explains how to connection to an oracle database. The database, which is Oracle 11g has been installed in a Windows 7 computer.
Views: 126252 Sam Dhanasekaran
PL/SQL Tutorial: What is Mutating Table Error in Triggers What is Mutating Table Error? OR What is Mutating Trigger Error? 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: 4333 TechLake
In this tutorial, you'll learn...how to overcome the oracle error to unlock the account.. SQL (pronounced "ess-que-el") stands for Structured Query Language. SQL is used to communicate with a database. According to ANSI (American National Standards Institute), it is the standard language for relational database management systems.
Views: 4067 radhikaravikumar
تعلم اوراكل حتى الاحتراف تعلم اوراكل من الصفر
Views: 2296 khaled alkhudari
the network adapter could not establish the connection oracle sql developer, éste es el error que nos aparece a algunos al momento de conectarnos a nuestra base de datos desde sqldeveloper. La version de Oracle que se uso en este video fue Oracle Database 11g
Views: 39663 Eloy Nuñez
Things related to programming (SQL) structures have a big impact on SQL response time. Obvious example: missing join condition. There are dozens of Free Oracle Database tutorials at https://www.skillbuilders.com/free-oracle-database-tutorials.
Views: 243 SkillBuilders
the network adapter could not establish the connection sql developer Error Code 20 How To Solve Oracle Error - the network adapter could not establish the connection sql developer
Views: 28433 Watermelon Jam
How to connect SQL DEVELOPER ORACLE 12C: ORA-01017: invalid user name/password; logon denied
Views: 8868 Data Science Center
go to this path on your computer where oracle is installled. F:\app\SVS\product\12.1.0\dbhome_1\NETWORK\ADMIN 1.check listener.ora and tnsnames.ora to verify portnumber and hostname 2.check whether lsnrctl is sleeping. if so, make it start. 3.if you are fine with above steps and even showing the errors. finally check your input for user and password is valid. select service name & type orcl and press connect button. successfully connected thanks for watching.
Views: 14128 srikanth
How to fix unable to launch the java virtual machine for sql developer on Windows 10 pro 64 bit. Subscribe for more: ---------------------------------- https://goo.gl/oL45FT SWE.Safaa Al-Hayali - saf3al2a TAGS: # ----------------------------------------------------------------------------------------------------
Views: 42963 Safaa Al-Hayali
ORA-12560: TNS:Protocol Adapter Error | Oracle | Oracle Sql Developer | Oracle 12c | Oracle 18c ----------------------------------------------------------------------------------------------- protocol adapter error, ora-12560, error ora-12560, error 12560, oracle error, tns protocol error, how to solve tns protocol adapter error of oracle database, database error tns, oracle 10g adapter error, oracle10g, oracle11g, protocol error, adapter error, sql developer, tns protocol adapter error of oracle database, oracle 10g protocol adapter error, oracle oracle arena my oracle support oracle virtualbox oracle stock yes no oracle oracle sql developer oracle definition oracle meaning oracle careers oracle apex oracle jdk oracle 11g oracle vm virtualbox extension pack oracle linux oracle jobs oracle vm oracle reading oracle client oracle download oracle to_date oracle certification lbcc oracle oracle erp oracle ebs oracal 651 oracle decode oracle substr oracle sql developer download oracle 12c oracle university oracle metalink oracle nvl oracle ceo oracle open world oracle of delphi oracle rac create table oracle oracle database download oracle login oracle case alter table add column oracle oracle date format oracle netsuite oracle layoffs oracle instr insert into oracle oracle listagg oracle merge oracle rownum oracle trunc Please Subscribe My Channel
Views: 327 Learning With Mahamud
In this video, we’ll explain what the ORA-02291 “parent key not found” error is, see an example, and look at how to resolve it. This error usually happens when we try to insert data into a table. It looks like this: Error is: ORA-02291: integrity constraint (constraint_name) violated - parent key not found So what does this error mean? It means we’re trying to insert data into a child table, and there is no related record in the parent table. If a foreign key has been set up to enforce this relationship, there needs to be a parent to insert a child that refers to it. Watch the video to see an example of this error as well as how to resolve it. For more information on Oracle SQL, refer to the Database Star website here: https://www.databasestar.com/
Views: 4798 Database Star
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......
Views: 4582 Durga Software Solutions
User Defined Exceptions:- 1. raise statement 2. raise_application_error
Views: 16051 Naresh i Technologies
How to Connect SQL in Oracle | Listener does not know of SID given in connect descriptor | ORA-12505 ---------------------------------------------------------------------------------------------------- In this tutorial i'm going to demonstrate you how to configure oracle network environment step by step. Database Configuration Assistant,DBCA Oracle 12c,DBCA Command Line,DBCA-Silent 12c,Oracle 12c,database configuration assistant, database, oracle database (software), sql, sql developer, sql tutorials, dbca, how to create database using dbca, how to create database in oracle, how to create schema in oracle, how to create oracle database, how to create database, silent mode database, database tutorial, create new database, create database, silent, mode, creation, in oracle, oracle tutorial, steps by steps, oracle in easy mode, oracle 12c (windows 10),database connection, how to configure oracle listener,oracle cloud, database 12c, dba genesis,database services, database, create, 11g, dba, db, beginner,ORA-12505: TNS:listener does not currently know of SID given in connect descriptor, The program can't start because MSVCR100.dll is missing from your computer, The program can't start because MSVCR100.dll is missing, msvcr100.dll is missing wamp server error, msvcr100.dll is missing wamp server download, msvcr100.dll is missing apache, apache exe msvcr100 dll missing, msvcr100.dll is missing while installing php, easyphp msvcr100.dll missing, oracle, sql, database, installation, TNS Please Subscribe My Channel
Views: 2676 Learning With Mahamud
In our March 2018 session, we explored error management, from raising to handling exceptions. We took a look at SAVE EXCEPTION with FORALL, LOG ERRORS, when it makes sense to "swallow up" an exception - though preferably not with WHEN OTHERS THEN NULL. AskTOM Office Hours offers free, monthly training and tips on how to make the most of Oracle Database, from Oracle product managers, developers and evangelists. https://asktom.oracle.com/ Oracle Developers portal: https://developer.oracle.com/ Sign up for an Oracle Cloud trial: https://cloud.oracle.com/en_US/tryit music: bensound.com
Views: 428 Oracle Developers
Oracle PL SQL interview question What is raise application error Click here to subscribe to my youtube channel http://www.youtube.com/channel/UCBt6VrxAIb5jLh9HLDcdwtQ?sub_confirmation=1 Oracle Interview questions and Answers at https://www.youtube.com/playlist?list=PLb1qVSx1k1Vr0v4wVyvT3GEuA0J0M4xBm Oracle 18C New features at https://www.youtube.com/playlist?list=PLb1qVSx1k1Vqe06V1tIBcvnslMPWX69bW Oracle 12C New features at https://www.youtube.com/playlist?list=PLb1qVSx1k1VqM1u2IHWzZIgziqejl6wx- Oracle PLSQL records and collections at https://www.youtube.com/playlist?list=PLb1qVSx1k1VpAFTXopXvAh_D3PLcTntdm
Views: 861 Siva Academy
The impact of a non-query DML statement is usually "all or nothing". If my update statement identifies 100 rows to change, then either all 100 rows are changed or none are. And none might be the outcome if, say, an error occurs on just one of the rows (value too large to fit in column, NULL value for non-NULL column, etc.). But if you have a situation in which you would really like to "preserve" as many of those row-level changes as possible, you can add the LOG ERRORS clause to your DML statement. Then, if any row changes raise an error, that information is written to your error log table, and processing continues. IMPORTANT: if you use LOG ERRORS, you must must must check that error log table immediately after the DML statement completes. You should also enhance the default error log table. 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.
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: 22790 Manish Sharma
In this tutorial, you'll learn... 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). 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, 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. 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, 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, CEITON MSSQL/Oracle Compiler  and SwisSQL. 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: 25299 radhikaravikumar
There is nothing worse than spending hours trying to load data into a table, only to have that load fail and you end up with nothing to show for your efforts. DML error logging will solve that problem for you. This quick tip shows you how easy it is ====================================================== 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.
Views: 2409 Connor McDonald
After installing the SQL Developer When starting the SQL Developer in Windows 7 or 10, I meet the this message "Unable to launch the Java Virtual Machine Located at path: C:\sqldeveloper\jdk\jre\bin\server\jvm.dll"
Views: 2011 Kyo
how to solve Cannot create save file "afiedt.buf"
Views: 14814 www.itsoftpoint.com
Oracle sql developer could not start Warning - Could not install missing modules
Views: 3169 Moumie
To fix this error simply we need to run below command from sql plus cmd prompt: alter pluggable database all open; Whenever we start our machine or computer, the pluggable data is closed hence we faced this error. To fix it we have to open it. -Ashutosh
Views: 251 Ashutosh Tiwari
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: 28611 Manish Sharma
Install SQL : Installing & Setting Oracle 11G || Oracle 11G error solution || Anstron Tech Hey guys! Welcome to Anstron Tech. Here in this video, we will see that how to install SQl Oracle 11 G and set it for work. We will solve an error also which is "Windows cannot find 'http://127.0.0.1:%HTTPPORT%/apex/f?p=4950'. Make sure you typed the name correctly and then try again'". Link :- Oracle 11G :- http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html JDK 9.0.1 64bit:- http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html JDK 8u152 32bit:- http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Please subscribe to our channel and like the video if you found this video useful. If you found something wrong in this video then let us know in the comments so we can improve our upcoming video. *We have used a background sound by NCS Sounds in this video. Checkout there channel. NCS ? Twitch http://twitch.tv/nocopyrightsounds ? Spotify http://bit.ly/SpotifyNCS ? SoundCloud http://soundcloud.com/nocopyrightsounds ? Facebook http://facebook.com/NoCopyrightSounds ? Twitter http://twitter.com/NCSounds ? Google+ http://google.com/+nocopyrightsounds ? Instagram http://instagram.com/nocopyrightsounds_ Electro-Light ? Facebook https://www.facebook.com/ElectroLight... ? Twitter https://twitter.com/ElectroLightEDM ? SoundCloud https://soundcloud.com/maskedacoustic Distrion ? SoundCloud https://soundcloud.com/distrion ? Facebook https://www.facebook.com/distrionmusic ? Twitter https://twitter.com/Distrionoficial NCS Playlists: http://bit.ly/NCSdrumstep http://bit.ly/MelodicDubstepNCS http://bit.ly/NCShouse http://bit.ly/NCSdubstep http://bit.ly/NCSdrumandbass http://bit.ly/NCStrap http://bit.ly/NCShardstyle Original Audio Link:- https://www.youtube.com/watch?v=A2Ayd...
Views: 519 Anstron Tech
Lesson 4: Improve SQL response time by NOT suppressing index usage. All lessons and many more tutorials are FREE at https://www.skillbuilders.com/free-oracle-database-tutorials/common-oracle-sql-tuning-errors/. Don't Code Filters (aka conditions, predicates, where clauses) that prevent or suppress index use! Attend an online hands-on class with Oracle Certified Master John Watson. Learn more : https://www.skillbuilders.com/course/oracle-12c-sql-tuning-for-developers-and-dbas/.
Views: 155 SkillBuilders
Using SQL Developer to reset EXPIRED password, event the password was expired already !
Views: 8375 1Click2beDBA
Lesson 1: Before tuning SQL it is important to look at the data design. For example, is the design under or over-normalized? Are the correct data types used? Are the keys indexed? What constraints are declared? All of these and more have an impact on SQL response time. Watch all free lessons in this tutorial at http://www.skillbuilders.com/free-oracle-database-tutorials/common-oracle-sql-tuning-errors.
Views: 394 SkillBuilders
Oracle SQL - the Password has expired error
Views: 175 Data Disc
Lesson 5: Learn about NULLs and a problem or two it can cause. All lessons are free at https://www.skillbuilders.com/free-oracle-database-tutorials/common-oracle-sql-tuning-errors/ Learn about our classes (online an on-premise). SQL Tuning for Beginners: https://www.skillbuilders.com/course/oracle-sql-tuning-core-skills-for-beginners/ SQL Tuning for Developers and DBAs: https://www.skillbuilders.com/course/oracle-12c-sql-tuning-for-developers-and-dbas/
Views: 125 SkillBuilders
#oracleshooter Full Blogs Link :- https://oracleshooter.blogspot.com/2019/03/ora-01722-invalid-number-with-sqlloader.html Contact Info :- Instagram:- https://www.instagram.com/oracleshooter Facebook :- https://www.facebook.com/oracleshooter Twitter :- https://twitter.com/oracleshooter Blogger :- https://oracleshooter.blogspot.com/ Email Id :- [email protected]
Views: 165 Oracle Shooter
Blog Link: http://bit.ly/how-to-create-new-connection-in-sql-developer Wishlist: http://bit.ly/wishlist-amazon This SQL tutorial and Oracle database 11g tutorial for beginners will show how to connect to database either on a local machine or on a machine in your LAN using ip address. Tool used in this tutorial is SQL developer & command prompt. This tutorial series is part of SQL expert exam certification training. If you are preparing for SQL certification you can use my tutorials. This SQL Tutorial is a part of free training. Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=j7eYO7 Contacts Email [email protected] Twitter https://twitter.com/rebellionrider Instagram http://instagram.com/RebellionRider Facebook. https://www.facebook.com/imthebhardwaj Linkedin. in.linkedin.com/in/mannbhardwaj/ Thanks for linking, commenting, sharing and watching more of our videos The Code makers
Views: 287898 Manish Sharma
Here are the CTS interview questions on SQL and PLSQL. PL/SQL: What are the activities are you doing daily in your project? Tell me ratio's of sql, pl/sql & Unix? Diff b/w primary key & unique key + not null? What is the use of views? If table dropped, then what happen view? What is index? types of indexes? Which functions are not supported to index? What is save point? What is ora-1555? What are the data types available in pl/sql, not in sql? What is the main use of %type,%rowtype? What is cursor? Types of cursors? Diff b/w explicit cursor & for loop cursor? What is exception? Types of exceptions? What is raise_application_error? How many LONG columns are allowed in a table? What cursor type do you use to retrieve multiple record sets? What is normalization ? What is an index and types of indexes. How many number of indexes can be used per table ? how can we find the select statement is indexed or not? What are wait events. Describe the wait event tables. How do u count no of rows in a table? When do we create bitmap indexes sql query to get zero records from a table having n no of records function can return multiple value? how give give sample coding Difference between NVL, NVL2 and NULLIF Name Salary Abc 50000 Abc 50000 xyz 20000, find the max salary using aggregate function? What are the Diff B/W Cursor and REF Cursor What is pragma_exception_init? Diff b/w triggers & procedures? Can you call procedure in select statement? Restrictions in functions? What is the use of packages? How to drop package body only? Can use pragma_autonamous_tranctions in packages? 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 bulk collect? And any restrictions in bulk collect? What is the use of limit clause in bulk collect? How to debug 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? In my next video i will be providing you the answers for each on of this questions. For HCL interview question : https://youtu.be/Pf0lRerwF5U For Global Analytics interview questions : https://youtu.be/joRTF8ZhVwg Please subscribe to my channel here for more videos on recent interview questions of MNC companies. https://www.youtube.com/channel/UCofhGV_j_4cVGa9R08MsuXQ thanks to my subscribers !!
Views: 15978 Oracle PL/SQL
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: 1264 Specialize Automation
In this video we are going to be creating foreign keys. I highly recommend watching the previous video before you watch this one. Essentially, we are creating a very simple database for a system where we can create projects and add people to those projects. We started with the users table: --Delete the table if needed: --DROP TABLE users; CREATE TABLE users( user_id NUMBER, username VARCHAR2(50 CHAR) UNIQUE, CONSTRAINT users_pk PRIMARY KEY (user_id) ); Now we are going to create a table for projects with a column that is a foreign key to the username. We're going to want to make this match data types: CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) ) Next, we need to add the column attributes we decided on last video: CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) NOT NULL ) NOT NULL because we want every project to have a creator, but we are not labeling UNIQUE because that means we could only have a specific username once in the table. We want to allow a user to create multiple projects. We also need to add a primary key: CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) NOT NULL, CONSTRAINT projects_pk PRIMARY KEY (username) ) Now, the question that remains is, how can I tell Oracle that I want the username to reference the username column of the other table? We have to make a foreign key constraint. As you've learned from the previous videos, there are about three ways to create constraints. You can do it inline at the column level, unnamed. You can do it at the column level, named, and you can do it at the Table level, named. Usually the table-level is preferred, but I will quickly remind you how to do all three again. CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) NOT NULL REFERENCES users (username), CONSTRAINT projects_pk PRIMARY KEY (project_id) ) This works, but if we want to name it, we should do this: CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) NOT NULL CONSTRAINT projects_users_fk REFERENCES users (username), CONSTRAINT projects_pk PRIMARY KEY (project_id) ) This works, but the preferred method is to do it at the table level: CREATE TABLE projects( project_id NUMBER, project_name VARCHAR2(50 CHAR) UNIQUE, creator VARCHAR2(50 CHAR) NOT NULL, CONSTRAINT projects_pk PRIMARY KEY (project_id), CONSTRAINT projects_users_fk FOREIGN KEY (creator) REFERENCES users (username) ) Great! So you've learned how to create a foreign key, now we can see it inside of Oracle SQL Developer. One important thing when it comes to foreign keys is what happens when have data in your database and you try to delete the parent row that a row in the child table references? In the next video we are going to configure that using ON DELETE. See you all then and if you enjoy this series, please do me a huge favor by liking the video and subscribing to my YouTube channel. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HELP ME! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://bit.ly/JoinCCNewsletter Donate!: http://bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: http://CalebCurry.com Facebook: http://www.facebook.com/CalebTheVideoMaker Google+: https://plus.google.com/+CalebTheVideoMaker2 Twitter: http://twitter.com/calebCurry Amazing Web Hosting - http://bit.ly/ccbluehost (The best web hosting for a cheap price!)
Views: 26736 Caleb Curry