Home
Search results “Go to oracle sql”
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: 796 Oracle World
Using the database/sql Package (Episode 13)
 
05:34
This screencast talks about how to use the database/sql (https://godoc.org/database/sql) package to do the basic CRUD interactions against a supported database. In the example code, we present a structured approach to best organize your code, access rows in the database, and store your data while it's in memory. Code and outlines are available on Github at: https://github.com/arschles/go-in-5-minutes/tree/master/episode13 Sign up for our newsletter to get new screencast notifications by email: http://www.goin5minutes.com/subscribe/index.html.
Views: 7042 Go In 5 Minutes
Oracle SQL Tutorial 1 - Intro to Oracle Database
 
10:18
As illustrated in the video, Oracle Database is a program designed to hold lots of information, or data. There are all kinds of different databases and they all have their uses. Some of the most common ones are MySQL, SQL Server, Sybase, and MongoDB. All of these have different uses. The differences will be easier to understand after you learn more about each kind of database. We did not discuss it much in the video, but if you are wondering what “SQL” means in the title, it stands for structured query language. Structured query language is a human readable computer language that is used to tell databases to do things. We will discuss SQL and Oracle SQL Developer more in future videos. Databases are better than spreadsheets because they allow multiple users at one time, different levels of access given to users, recovery options and transactions, and it is more protected from hacking and malicious destruction. Programming languages often have very useful functions or methods that can be used to communicate to a database and therefore they are a naturally good option for the back end of programs. This course will go over all of the major parts of database programming using Oracle SQL. We will be using Oracle 11g, but these videos should still work with other versions, including the most recent 12c. Q and A ~~~~~~ How much does Oracle cost? The full enterprise edition costs thousands. They have other versions for less and they even have a FREE VERSION! This is known as the XE version (eXpress Edition). That is the one we will be using. How long does it take to learn SQL? You can learn all of the basics and be an efficient beginner database developer in only about a month of practice. To become an intermediate it can take anywhere from an additional 3 - 6 months with a only a few hours of studying and practicing each day. How can I learn SQL faster? Take notes and actually mess around with making your own database. Watch these videos until you understand the concepts within them, read articles and books that teach in more depth. Donate!: http://bit.ly/DonateCTVM2. HELP ME! http://www.patreon.com/calebcurry. Subscribe to my newsletter: http://eepurl.com/-8qtH ~~~~~~~~~~~~~~~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 - https://www.dreamhost.com/r.cgi?1487063 (The best web hosting for a cheap price!)
Views: 257063 Caleb Curry
Oracle SQL Developer: Online Migration 3.1
 
10:01
Using Oracle SQL Developer 3.1 to migrate a Sybase database to Oracle.
Views: 60720 oraclesqldev
PLS-21: PL/SQL Stored Procedure
 
19:25
Oracle PL/SQL Stored Procedure 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: 87246 Oresoft LWC
Oracle SQL Join Tutorials
 
19:48
Oracle SQL Join Tutorials. Different types of joins and examples. For Full Course Experience Please Go To http://mentorsnet.org/course_preview?course_id=4 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: 100608 Oresoft LWC
Oracle SQL Tutorial 20 - How to Create Composite Primary Keys
 
07:02
This video is going to be a tutorial on how to create composite and compound keys. The difference between a composite and compound key is that a composite key can consist of any columns while a compound key has to consist of columns that are all keys themselves. We will be working with a compound key because we are going to be using the an intermediary table that has two foreign keys. The combination of both of the keys have to be unique. First, if we have any other CREATE TABLE commands, we are going to comment those out. We will space out the CREATE TABLE to have each column on a line, then we will add constraints as needed. CREATE TABLE project_users( project_id, user_id ) Now, let's add the data types: CREATE TABLE project_users( project_id NUMBER, user_id NUMBER } Now, what about some column attributes? I'm going to make both of the columns NOT NULL because we always want the rows to have a user and a project: CREATE TABLE project_users( project_id NUMBER NOT NULL, user_id NUMBER NOT NULL } Now, let's add the foreign key constraints. Now, what do we name these? We are going to add a primary key that covers both of these columns, so I'm going to be a sinner and not give these constraints names: CREATE TABLE project_users( project_id NUMBER NOT NULL REFERENCES projects (project_id), user_id NUMBER NOT NULL REFFERENCES users (user_id) ) Now, the way we have it now is that if we delete a project in the project table, and there are any rows in the project_users table, it will throw an error and prevent deletion. I would prefer for it to also delete any project members. That would make sense because if you delete a project we want it to delete the associate between that project and certain users. The same goes for if we delete a user, we want their association with a certain project to be deleted. To do this, we need to add the ON DELETE command: CREATE TABLE project_users( project_id NUMBER NOT NULL REFERENCES projects (project_id) ON DELETE CASCADE, user_id NUMBER NOT NULL REFERENCES users (user_id) ON DELETE CASCADE, ) Finally, let's learn how to create a compound or composite key. literally, the only difference is that you put a comma and add the second table inside of the parenthesis. CREATE TABLE project_users( project_id NUMBER NOT NULL REFERENCES projects (project_id) ON DELETE CASCADE, user_id NUMBER NOT NULL REFERENCES users (user_id) ON DELETE CASCADE, CONSTRAINT project_users_pk PRIMARY KEY (project_id, user_id) ) Now, the combination of project_id and user_id cannot be null, is always unique, and has an index. The only thing we should do now is add a few indexes. We aren't done yet...In the next video we are going to figure out what columns would benefit from indexes and we'll add them to it. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HELP ME! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://eepurl.com/-8qtH 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 - https://www.dreamhost.com/r.cgi?1487063 (The best web hosting for a cheap price!)
Views: 7849 Caleb Curry
PLS-2: My First PL/SQL Program
 
11:34
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 Goal is to write your first PL/SQL program. The basic program unit in PL/SQL is the block. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords partition the block into a declarative part, an executable part, and an exception-handling part. Example of a Block DECLARE bonus NUMBER(8,2); emp_id NUMBER(6) := 100; BEGIN SELECT salary * 0.10 INTO bonus FROM employees WHERE employee_id = emp_id; Exception When NO_DATA_FOUND THEN null ; END; This is a typical PL/SQL block where 10% of salary is selected and stored on a temp variables bonus. If for some reason there is no employee with empid = 100 then the control will come to exception area and the code in the exception area will be executed. These blocks can be entirely separate or nested one within another. The basic units (procedures and functions, also known as subprograms, and anonymous blocks) that make up a PL/SQL program are logical blocks, which can contain any number of nested sub blocks. Therefore, one block can represent a small part of another block, which in turn can be part of the whole unit of code. Anonymous Blocks Anonymous blocks are unnamed blocks. They are declared at the point in an application where they are to be executed and are passed to the PL/SQL engine for execution at run time. You can embed an anonymous block within a pre-compiler program and within iSQL*Plus or Server Manager. Triggers in Oracle Developer components consist of such blocks. Subprograms Subprograms are named PL/SQL blocks that can accept parameters and can be invoked. You can declare them either as procedures or as functions. Generally use a procedure to perform an action and a function to compute a value. You can store subprograms at the server or application level. Using Oracle Developer components (Forms, Reports, and Graphics), you can declare procedures and functions as part of the application (a form or report) and call them from other procedures, functions, and triggers (see next page) within the same application whenever necessary. Note: A function is similar to a procedure, except that a function must return a value.
Views: 62446 Oresoft LWC
Oracle SQL User-Defined Types
 
13:59
This lecture is part of a free, online course entitled "Oracle SQL - From Beginner to Pro." To check out the entire course plese go to www.digitalmiddleage.com
Views: 118 Rick Phillips
Part I Oracle 11g Database SQL Programming with PL/SQL in 2016 Beginners How To Express Version
 
24:00
Part I Oracle 11g Database SQL Programming with PL/SQL in 2016 Beginners How To Express Version For Notepad text files used in the video go to this link: http://www.ijav.com/oracle/ Oracle: http://www.oracle.com Oracle link to download the database: http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html Hi All! Welcome to my "Computer Programming and Music education channel." Check out my playlists for your specific topic. I have been training people since I was 20 years old. Every job I had, once they found out I was in college, they had me train other employees. In 1989 I opened a "MUSIC INSTRUCTION STUDIO." I taught music round the clock for 8 years, mainly rock guitar, but also taught classical guitar, bass guitar, drums, some piano and keyboard. I did a little sales, just stuff I thought students needed, like strings, picks, music stands, etc. Then one day, while cutting the plastic off of a guitar stand, I stuck a buck knife into my left hand ring finger knuckle. My knuckle swelled up like a grape. I taught guitar for months with my left arm down to the side. So, I wanted to stay in music, so I got into recording, music electronics, songwriting, etc. I ended up buying about $50,000 of mostly used equipment. And studied songwriting with Molly at www.songmd.com. Then, one day Molly said to me, "Jim, you need email." I still remember replying to her, "What's that?" That was about 1995, and Windows 95 had just come out! That lead to computers. I bought a used Mac for $60.00 and a $1000.00 monitor. It was a great set-up, but that monitor...yikes! It broke after about a year, and Apple sent me a new one. Then one day I called to local community college, asking about computer courses. The phone operator just happen to transfer me to the computer programming teacher. He told ne to sign up for the C Programming course. I started taking one course a semester, just for fun to get out of the house. It was Lots more to come! Jim
Views: 433 Jim Vincitore
Oracle Database 11g XE (Express Edition) Install guide and connect with SQL Developer
 
18:16
Welcome to MyOnlineEdu.com's video tutorial. In this video you will learn how to install Oracle Database 11g XE (Express Edition) and then connect the database using Oracle SQL Developer IDE tool. You can avail an instructor based live class from MyOnlineEdu.com. To enroll click the lick: https://www.myonlineedu.com/course/view/6/oracle-sql-and-plsql-11g-fundamentals
Views: 300363 MyOnlineEdu.com
Oracle SQL Tutorials for beginners | Oracle Database tutorial | Unanth.com
 
02:02
In this online video-based Oracle SQL database course, you will learn how to use Oracle SQL from scratch, to improve your developer skills or to access an Oracle SQL database at work. After completing this course here you will get your training completion certificate also - http://bit.ly/2zxp2fB This course will teach you the basics of the SQL language on an Oracle database. It uses video lectures to teach you Oracle SQL, covering database topics such as: Basic terminology Reading data using a SELECT statement What can be done using a SELECT statement Functions Data types Joins, set operators, subqueries Why should you take this course? You can go from absolute beginner to capable of writing Oracle SQL statements in a matter of hours. You can also study in your own time! Learn from someone who actually has Oracle SQL experience (and runs a website teaching others how to use and optimise their Oracle SQL) If you want to learn Oracle SQL from someone who has experience, then take this course.
Views: 114 Unanth
Introducing Oracle SQL Developer Data Modeller
 
03:27
Introduction to Information Management System and Oracle SQL For Full Course Experience Please Go To http://mentorsnet.org/course_preview?course_id=4 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: 5558 Oresoft LWC
PLS-24: PL/SQL Package Introduction
 
19:17
PL/SQL Tutorials 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: 41379 Oresoft LWC
PLS-9: Oracle PL/SQL Cursor
 
23:59
Oracle 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: 123988 Oresoft LWC
SQL with Oracle 10g XE - Getting Started
 
06:11
In this video I take a look at getting the Oracle 10g Express Edition Database and installing it on a Windows operating system. This is the first video in a series of videos with the purpose of learning the SQL language. The Express Edition of Oracle is a free database to use and will allow you to run the SQL commands form an web based interface. The user account to use when you first setup the database is the SYSTEM user name. For more information visit Lecture Snippets at http://lecturesnippets.com
Views: 101711 Lecture Snippets
PLS-13: PL/SQL Records Data Type
 
16:15
PL/SQL, Oracle 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: 52478 Oresoft LWC
Part IV Oracle 11g Database SQL Programming with PL/SQL in 2016 Using the Query Builder
 
11:53
Part IV Oracle 11g Database SQL Programming with PL/SQL in 2016 Using the Query Builder For Beginners HOW TO For Notepad text files used in the video go to this link: http://www.ijav.com/oracle/
Views: 70 Jim Vincitore
PLS-10: Oracle Pl/SQL Cursors With Parameters
 
11:09
Oracle 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: 39501 Oresoft LWC
Oracle SQL Monitoring - Performance Analysis
 
01:30:41
SQL Monitoring is the best new feature of Oracle 11g for performance analysts, developers and support teams. Finally there is a tool that provides the most accurate, useful and interesting information when a SQL statement is running for longer than expected in a clear format with no minimal advance configuration requirements: What execution plan is really being used? What row source cardinality calculations are incorrect? What steps in the plan are taking the most time and consuming most resources? In this presentation, Doug Burns will demonstrate the various ways of accessing SQL Monitoring functionality and use example reports to show how the information can be used to analyse both currently running and completed statements. It will also describe and offer solutions to some of the minor quirks you might encounter. For our complete archive, and to sign up for upcoming webinars please go to http://www.red-gate.com/oracle-webinars
Views: 4867 Redgate Videos
Oracle - SQL - Advanced Grouping
 
07:03
Oracle - SQL - Advanced Grouping Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited.
PLS-27: PL/SQL Project Executive Summary
 
09:50
PL/SQL Tutorials 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: 20704 Oresoft LWC
What are Best Sites to learn Oracle SQL/PlSQL?
 
02:46
Hi friends,... Today I am going to show you , What are best sites to learn sql/plsql in oracle? I wanted to given these sites,in Freshers and Expeienced point of view,, so guys...Please note the below sites... https://www.oracle.com https://www.khanacademy.org https://pro.codecademy.com http://sqlzoo.net www.way2tutorial.com www.java2s.com https://shahsparx.me www.beginner-sql-tutorial.com https://www.lynda.com www.rebellionrider.com https://www.webucator.com www.plsql-tutorial.com http://www.thatjeffsmith.com https://oracle-base.com http://oraclemine.com https://www.javatpoint.com/oracle-tutorial https://www.techonthenet.com www.tutorialspoint.com www.oracle-dba-online.com www.skillbuilders.com https://intellipaat.com I gathered these sites with knowledge.. we can find these site url in below video description... thats it guys... Please subscribe n share my channel and more updates www.youtube.com/user/prasadamudalapalli/ thank u..guys.....
Views: 253 Hariprasad A
go to output in oracle  in PL SQL
 
01:50
Go to and out put in oracle in PL SQL
Views: 2 EduPlus Mantras
SQL DML Statement
 
18:03
SQL DML Statement For Full Course Experience Please Go To http://mentorsnet.org/course_preview?course_id=4 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: 7816 Oresoft LWC
PLS-16: PL/SQL Index By Table
 
29:26
PL/SQL Tutorials 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: 54721 Oresoft LWC
PLS-11: Oracle PL/SQL Reference Cursor
 
08:43
Oracle 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: 71555 Oresoft LWC
Oracle SQL Advanced Queries
 
13:59
This lecture is part of a free, online course entitled "Oracle SQL - From Beginner to Pro." To check out the entire course please go to www.digitalmiddleage.com
Views: 170 Rick Phillips
Oracle SQL: How To Modify Data With The Update Statement by AskTheOracle.net
 
06:00
How to modify data in your Oracle database by using the SQL UPDATE statement. For more Oracle tutorials go to http://www.asktheoracle.net
Views: 2579 asktheoracle1
Oracle SQL Tutorial 29 - NCHAR Part 1
 
04:58
NCHAR is another data type available in Oracle database. This data type is very similar to the char data type with some key differences. NCHAR is also known as the national character set. This is a data type that allows us to store Unicode characters. It is really recommended that you watch the two videos over Unicode and UTF-8 because this video is going to talk a lot about it. Why is it that we have an entire data type dedicated to storing Unicode? That will be easily understood once we understand how character sets and encodings are applied to Oracle. They are applied at the database level. That means that you have a character set that applies to the entire database. This is in contrast to some database management systems that allow you to apply a data type at the table and column level. For example, in MySQL you can make a table have a character set, and make a specific column in that table a different character set. That means we can customize everything at the expense of adding potential complexity and confusion. Oracle does not work that way. In Oracle, we define one character set for the entire database. The problem with defining a character set for the entire database is that it may not be the character set we want to use for everything. That is where the NCHAR column comes in. The NCHAR column allows us to have a Unicode column inside of a database that does not use Unicode as the default character set. That is important because it is very often that we want to use Unicode but we may not need to use it for everything, for example if that application is working with ASCII nearly all of the time. If you are using Unicode for the database, then NCHAR is not going to be needed and should not be used. This data type is not as widely accepted, so only use it if you absolutely need to, specifically when you need to store Unicode in a non-Unicode database. Additionally, there is some controversy when it comes to whether or not you should use the CHAR and NCHAR data types in Oracle at all. We will discuss why in an upcoming video. In the next video we are going to go over some specific character sets that Oracle can use. See you then! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Suppor me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://eepurl.com/-8qtH 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 - https://www.dreamhost.com/r.cgi?1487063 (The best web hosting for a cheap price!)
Views: 2916 Caleb Curry
PLS-22: Using Parameters in PL/SQL Procedure
 
17:43
Parameters in PL/SQL Procedure 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: 36729 Oresoft LWC
How to Solve Error : Windows Can't find 127.0.0.1 | Oracle SQL DataBase Error | TechBot Inc.
 
01:50
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: 27830 TechBot Inc.
Custom date time format in Oracle SQL Developer?
 
01:03
From Oracle SQL Developer's menu go to Tools -- Preferences. From the Preferences dialog, select Database -- NLS from the left panel. From the list of NLS parameters, enter DD-MON-RR HH24:MI:SS or for 24-Hour, DD-MON-YY HH24:MI:SS Or just for an active session use below instead. alter SESSION set NLS_DATE_FORMAT = 'required_date_format' i.e. alter SESSION set NLS_DATE_FORMAT = 'DD-MM-YYYY HH24:MI:SS' into the Date Format field. Save and close the dialog.
Views: 105 Maruti AIR Tech
Oracle SQL Tutorial 30 - UTF-8 and UTF-16 Character Sets
 
04:01
A few videos ago we discussed UTF-8 and UTF-16 encoding, but when we are working with a database we do not worry about encodings as much as we do character sets. That's because a specific character set is going to have a specific encoding. The reason I am making this video is to introduce you to the most common character sets and to teach you the differences. That’s because as we go into the national character sets we need to understand the information taught in this video. So the first character set I am going to teach you about is AL32UTF8. AL32UTF8 is a character set that uses the uff-8 encoding and each character can take up to 4 bytes with the utf-8 encoding. There is another character set (not encoding) called utf8 (no hyphen) which is also encoded with UTF-8. This can be a little confusing because UTF8 is the name of an encoding and a character set, but bear with me. Both of these character sets are UTF-8 encoded, but UTF8 uses an older version of UTF-8 encoding. Generally, they work about the same, but the way certain characters are stored is slightly different, specifically way certain characters are stored is slightly different, specifically what are known as supplementary characters, which take up 4 bytes. The max size for a UTF8 character set is 3 bytes, as they do not directly support the supplementary characters as 4 bytes but instead store them across 2 groups of 3 bytes each. Oracle recommends that you use AL32UTF8 for all future development instead of the archaic UTF8 character set. There is another character set that you should know about, and that is AL16UTF16, which uses the UTF-16 encoding. Watch my video over UTF-8 and UTF-16 to learn more about UTF-16. Lastly, there is a character set known as UTFE, which uses an encoding known as UTF-EBCDIC. This is like a super archaic character set, and I'm not even going to talk about it. I thought I would at least mention it as it is going to come up a bit in the next video's topic. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://eepurl.com/-8qtH 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 - https://www.dreamhost.com/r.cgi?1487063 (The best web hosting for a cheap price!)
Views: 4934 Caleb Curry
Why I go with SQL Server over Oracle as a backend data for Windows
 
05:26
I made this video to explain it faster forcing you to read bad typing http://quantlabs.net/blog/2014/11/why-i-go-with-sql-server-over-oracle-as-a-backend-data-for-windows-where-does-mongodb-nosql-for-linux-fit/
Views: 79 Bryan Downing
PLS-6: Using SQL Functions in PL/SQL
 
06:26
Oracle 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 ++++++++++++++++++++++++++++++++++++++++++++ SQL functions are built into Oracle Database and are available for use in various appropriate SQL statements. Do not confuse SQL functions with user-defined functions written in PL/SQL. If you call a SQL function with an argument of a datatype other than the datatype expected by the SQL function, then Oracle attempts to convert the argument to the expected datatype before performing the SQL function. If you call a SQL function with a null argument, then the SQL function automatically returns null. The only SQL functions that do not necessarily follow this behavior are CONCAT, NVL, REPLACE, and REGEXP_REPLACE.
Views: 28145 Oresoft LWC
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.
PLS-23: PL/SQL Stored Functions
 
14:38
PL/SQL Stored Functions 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: 26779 Oresoft LWC
Oracle SQL Tutorial 19 - ON DELETE (SET NULL and CASCADE)
 
05:59
Welcome everyone! Something you need to consider when you are creating foreign keys is what happens if you delete the parent? As a reminder, the parent is the row that has the value you are referencing in the row that has a foreign key. Why is this something important to consider? It's important because foreign keys need to protect us from two primary things, unacceptable INSERT statements, and unacceptable DELETE statements. Let's see what happens when we try to insert incorrect data into the table with the foreign key: INSERT INTO projects VALUES (1, 'Update website homepage', 'CalebCurry') The response tells us plainly that there is no such user in the users table. So this works correctly. Deleting data on the other hand works a bit differently because the database does not know what you want to do with the child row when you delete the parent from the parent table. By default, we will get an error message that prevents the parent from being deleted, but there are some other options. How do we configure this? This is where the ON DELETE statement comes in. We add the keywords ON DELETE right after the foreign key and then we can give it the option of CASCADE or SET NULL. CASCADE means that if we delete the parent, we are also going to delete the child. In our situation what that means is that if somebody creates a project in our project table and then that persons account gets deleted, all of the projects he owns will also be deleted. CASCADE: 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) ON DELETE CASCADE ) SET NULL will take the value in the child table and get rid of it. What you are left with is NULL. This means that we have an orphaned child. The first thought you might have is that it is a bad thing to have an orphaned child, but in databases that is not always so. In our application if we had it set to SET NULL, when a user account gets deleted the projects would remain in existence they would just lack a creator. This might be a good thing if you are concerned about the long term survival of a project, this might be the route you want to go. It ultimately depends on the application purpose. If you don't like CASCADE or SET NULL, you can leave the entire ON DELETE statement and just have Oracle throw an error when a parent is deleted. As for us, we are going to use ON DELETE CASCADE. We need to use this with extreme caution. If you are not careful, someday you will run a delete a row and that will cascade through you database deleting a bunch of stuff you didn't want to delete. Stuff happens, so make sure you back up your database every once in eternity. Now, in the last video we started with a database design that had three tables. We've only created two in this video. In the next video we are going to create the next one, which is a little special. Then we'll finish things up by adding some indexes. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me on Patreon! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://eepurl.com/-8qtH 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 - https://www.dreamhost.com/r.cgi?1487063 (The best web hosting for a cheap price!)
Views: 10762 Caleb Curry
PLS-12: PL/SQL Bulk Collect and Bulk Bind
 
24:51
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: 90994 Oresoft LWC
Oracle 12c PL/SQL Security Features - Lesson 4 of 8 - Roles and PLSQL
 
06:21
Learn how Roles really work with Oracle PL/SQL and why a privilege granted via a role can't be used in PL/SQL. Demonstrations, examples. See all lessons and many more free Oracle Database tutorials at https://www.skillbuilders.com/free-oracle-database-tutorials John Watson: We have the business of roles - roles and PL/SQL. The point here is that roles are invisible to PL/SQL. When you compile your code, only direct privileges are available. When you run your code, only direct privileges are available. This is for definer's rights, I should say. When you run the code, only direct privileges are available to grant to the definer. In effect, the definer's rights code, all roles are disabled within the stored procedure. And certainly roles are disabled when compiling the code. Functionally, it's equivalent to having issued the command SET ROLE NONE. Why is this? Why is it you can't use your privileges? It's perfectly straightforward. It's a technology limitation. Quickly to see what's going on. If I go in and say - let me connect or create a clear schema. I'll create myself, grant dba to jw identified by jw. I've created a user and given him ridiculously high privileges. Connect.... What can you do? You can do pretty much anything. If he wants to delete from scott.emp, he can do it. Let's roll back, because along with his dba role, he has the ability to pretty much anything to use the data. Now we'll create a procedure. If I create a procedure, create delemp as begin, and in there I delete from scott.emp, end, compilation errors. What are they? Show error. At line 2 table of view doesn't exist. That's line 2 delete from scott.emp. I remember way back in version 7, this cause so much confusion before we realized what was going on. It's quite simple that when we are within the code, as the definer or the invoker, because this is definer's rights code, when we are within the definer's rights code block or indeed when we are compiling a definer's rights code block, the roles are disabled and that's why we cannot see it. But why is this and why do I say it's a technology limitation? It's because roles can be enabled and disabled. They can be enabled or disabled. That makes it logically impossible to consider a role when executing a stored procedure because I might have the role enabled while I compile it, but how do I know that it's going to be enabled when I run it? If I grant execute on the code to a third party, he doesn't have the role at all and that he must not even be logged on. So it becomes a logical impossibility because of the way roles are used because roles are enabled or disabled. You can dynamically switch them on and off. It's a logical impossibility to use role within definer's rights program module. Invoker's rights code, however, is very different. That infuses some interesting issues. Invoker's rights code can use any roles that happen to be enabled for the user at the time that he invokes it in exactly the same way that an anonymous PL/SQL can use any enabled roles. In the security point of view, the definer can in effect grab any roles within his code that the invoker happens to have. Dave: [Question], John, pardon. How do you enable or disable a role? John: Right now there's several techniques. I won't spend too much time demonstrating. The easiest technique will be alter - I can set role none. And that will have disabled all my roles. Now if you look at this, I've got nothing. If I try to run my code and query - let's see. Yes. If I try to delete from scott.emp I can't see it. So I'll set role dba and now of course I can. That's the easiest way. In fact, there are much more [05:07 inaudible] ways to switch roles on and off. We can do it with operating system authentication and I can do it with proxy authentication. We have a persistent session through application server as well as a user when we pass that session out to many of the users that can switch roles on and off. That's the persistent session switch identities. Perhaps, best of all, I can create what I call secure application roles well it protect the role with a package and that can contest any number of issues - environment variables, maybe the time, maybe your IP address, perhaps the program you're using and switch roles on and off accordingly. So there are many ways for controlling roles and you should do it. Blindly granting roles and letting them be enabled all the time is not good security. The end result for this, however, you can get some pretty unexpected results within your code. I've tried to run through in our first half hour some of the issues that we see with PL/SQL in release 11g and earlier. After a short break, we'll move on to the 12c features.
Views: 250 SkillBuilders
Oracle SQL Tutorial 14 - Column-Level and Table-Level Constraints
 
04:15
In the previous video we talked about adding constraints at the column-level. We made it nice and simple by only requiring a few keywords, but the problem we were having is that we could not assign a name to the constraint, which many people like to do so we can reference easily if we need to at a later time. To do this, it requires a little bit more typing, but it will give us extra flexibility and many consider it to be the higher quality approach to adding constraints. Let's go though a simple example. Let's say we have a users table with a user_id column that we want to make a primary key. We will create the table like this: CREATE TABLE( user_ id NUMBER PRIMARY KEY ) Instead of adding the PRIMARY KEY keywords after the data type, we add: CONSTRAINT user_pk PRIMARY KEY Now, we have assigned the name user_pk to this constraint. You can do the same with other constraints, such as UNIQUE. The syntax would be CONSTRAINT username_un UNIQUE. The other way to create constraints requires to put all of our constraints at the bottom of our table creation rather than inline with the column. This type of constraint is known as a table-level constraints. To make a column a primary key using table-level constraints, we add it to the CREATE TABLE command as if it is another row and use the CONSTRAINT keyword to tell Oracle that what is coming is a constraint, not a column in our table. CREATE TABLE users( user_id NUMBER, username VARCHAR2(50 CHAR), CONSTRAINT username_un UNIQUE (username), CONSTRAINT users_pk PRIMARY KEY (user_id) ) The primary differences here is that you have to put the column you are talking about in parenthesis after the PRIMARY KEY keyword. That's because it's at the end of the table and you need a way to tell it what column you are talking about. The option of putting it at the end of the table has the added benefit in this situation because if we needed to have a primary key that is the combination of multiple columns, we can do that by just adding the other column in the PRIMARY KEY parenthesis right after a comma. In summary, there are three ways to make constraints. The first is at the column level, unnamed. The second is at the column level, named. The third is at the table level, also named. In the next video we are going to create a named constraint in Oracle SQL Developer, so stay tuned and be sure to subscribe! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://eepurl.com/-8qtH 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 - https://www.dreamhost.com/r.cgi?1487063 (The best web hosting for a cheap price!)
Views: 10626 Caleb Curry
Oracle PL/SQL Training | Youtube
 
38:45
https://intellipaat.com/pl-sql-training/ This is a Database training video for both beginners and advanced learning that includes the aspects of database architecture, design, management, connectivity and testing. You will be proficient in writing data-centric programs using PL/SQL for working with databases. Go through the Intellipaat Database online training, tutorials and interview questions for more.
Views: 328 Intellipaat
How an intense and diverse SQL statement workload can cause Oracle parsing problems
 
09:19
Make your library cache angry! This video is about how an intense and diverse SQL statement workload can cause Oracle parsing problems. There are many reasons for Oracle parsing related performance issues and many ways to identify them. So, I am narrowing the scope by focusing on one possible cause, that is, an intense and diverse SQL statement workload. I will use Oracle's wait interface to identify the root cause. Sound dry and boring? To make this a little more interesting and a whole lot more fun, I'm going to approach this from a non-traditional, almost backward perspective. After explaining some of the Oracle internals, I'm going to create a parsing intensive workload and then watch what happens... in real time. The educational impact is so powerful, I recorded a video This is video is part of Craig's blog post: http://blog.orapub.com/20170126/how-an-intense-and-diverse-sql-workload-causes-oracle-parsing-problems.html For more information go to www.orapub.com
Views: 247 OraPub, Inc.
Install Oracle SQL Developer
 
12:58
To take my SQL In-Depth Course- go to https://www.udemy.com/oracle-sql-in-depth/
Views: 34 James Riggs
PL/SQL tutorial 62: PL/SQL Collection Method LIMIT in Oracle Database
 
07:38
In this PL/SQL tutorial we will explore the concepts of collection method LIMIT and learn: - What is collection method Limit - How to use this collection method - What are the differences between collection method LIMIT & Collection Method COUNT - What happens when function LIMIT is used with Nested table and Associative array Go ahead and enjoy. Also do not forget to LIKE, SHARE & Subscribe. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/limit-function Previous Tutorial ► Associative Array: https://youtu.be/wGXeD_oWxUk ------------------------------------------------------------------------- ►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: 4245 Manish Sharma
PL/SQL Triggers and Packages
 
15:10
This lecture is part of a free, online course entitled "Oracle SQL - From Beginner to Pro." To check out the entire course please go to www.digitalmiddleage.com
Views: 20 Rick Phillips
Oracle SQL and Large Objects
 
12:02
This lecture is part of a free, online course entitled "Oracle SQL - From Beginner to Pro." To check out the entire course please go to www.digitalmiddleage.com
Views: 28 Rick Phillips
Migrate from Oracle to Microsoft SQL Server
 
01:17:14
Customers are moving from Oracle to Microsoft SQL Server to get better value for their license investment. Hear about the best practices and tools for a migration project. Learn how to use SQL Server Migration Assistant and how to solve some of the more complex migration scenarios. https://ignite.microsoft.com/
Views: 6733 Microsoft Ignite