Home
Search results “Type of function in oracle”
Types of SQL Function
 
13:09
Different Types of SQL Functions 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: 30633 Oresoft LWC
Analytical Functions in oracle explained with real examples
 
25:24
This video explains analytical functions and how they are implemented in real projects. Analytical functions are somewhat similar to aggregate functions,but they offer much more. Why use analytical function ? They allow you to write fast and concise queries which otherwise will involve self join and long processing times They allow you to perform aggregate functions independently on sets of partitions. You can access values from previous rows in current row and you can restrict the window on which you want to apply this analytical function. I have given additional practice exercises along with the dataset so that you can comfortably work with analytical functions. You can find the sample problems along with dataset in the below link. http://www.internshipsfromhome.com/oracle-analytical-functions-ddl-and-dml/
Views: 24944 Tech Coach
Oracle LTRIM Function
 
03:06
https://www.databasestar.com/oracle-trim/ The Oracle LTRIM function allows you to remove a specific character from the left side of a string. It’s one of the most commonly used string manipulation functions in SQL, in my experience. The “L” in “LTRIM” stands for “left”. It’s often used to remove spaces from the left of a string. However it can be used to remove other characters, such as leading characters from URLs. The syntax for the LTRIM function is: LTRIM(input_string, [trim_character]) The input_string is the text you want to remove characters from. It can be any kind of expression, such as a specific text value or a column. The trim_character is the character you want to remove from the left of the string. It’s an optional parameter, and if you don’t specify it, then a space character is used by the function. The parameters can be any type of string. The function will return either a VARCHAR2 or a LOB data type, depending on the type of data you specify in the parameters. You can specify more than one value for the trim_character, and the LTRIM function will remove both characters from the left of the string. The function is similar to the RTRIM value, where RTRIM removes characters from the right of the string. For more information on the LTRIM function, including the SQL used in this video, read the related article here: https://www.databasestar.com/oracle-trim/
Views: 128 Database Star
How To Create Function in Oracle
 
06:30
oracle function example return varchar2 user defined functions in oracle how to execute function in oracle with parameters
Views: 22 Adam Tech
PART-2 (Oracle Functions) Oracle PL SQL Training - Fast Track Series
 
26:20
Topic 2: Functions in PL SQL. In oracle there are two types of functions available. 1. Oracle Supplied Function (Built in Functions) Scaler Functions a) String Functions Length, instr, substr, rtrim, ltrim, lower, upper, concat, replace sqlplus sanket/patel SQL*Plus: Release 11.2.0.2.0 Production on Tue Feb 14 11:38:56 2017 Copyright (c) 1982, 2010, Oracle. All rights reserved. Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production SQL# SQL# select length('sanket') from dual; LENGTH('SANKET') ---------------- 6 SQL# select instr('sanket','n') from dual; INSTR('SANKET','N') ------------------- 3 SQL# select substr('sanket',1,3) from dual; SUB --- san SQL# select ltrim(' sanket ') from dual; LTRIM('S -------- sanket SQL# select rtrim(' sanket ') from dual; RTRIM('S -------- sanket SQL# select trim(' sanket ') from dual; TRIM(' ------ sanket SQL# select lower('SanKet') from dual; LOWER( ------ sanket SQL# select upper('SanKet') from dual; UPPER( ------ SANKET SQL# select concat('sanket','patel') from dual; CONCAT('SAN ----------- sanketpatel SQL# SQL# select replace('patel','e','i') from dual; REPLA ----- patil SQL# b) Date Functions Sysdate, add_months, extract, last_day, next_day, months_between c) Numeric Functions Trunc, ceil, round d) Oracle Type Cast or Conversion Functions To_char, to_date, to_number e) Null functions Nvl, Nvl2 Aggregate Functions Count,min,max,sum 2. User Defined Functions (PL SQL) CREATE [OR REPLACE] FUNCTION function_name [ (parameter [,parameter]) ] RETURN return_datatype IS | AS [declaration_section] BEGIN executable_section [EXCEPTION exception_section] END [function_name]; Characteristics of Functions • Function must returns some value • Function can be called from select statement • Function support all three types of parameters available in oracle like IN, OUT and IN OUT parameters. Types of Parameters: IN Parameter: We can’t overwrite value of such kind of parameters. It is used to pass reference values to program and utilized it within the programs or sub-programs or other standalone programs. OUT Parameter: We can overwrite value of such kind of parameters. It is not useful to pass reference values to program and utilized it within the programs or sub-programs or other standalone programs but output value must need to be hold by calling program. IN OUT Parameter: We can overwrite value as well as pass reference value to program or sub-programs or other standalone programs but output value must need to be hold by calling program. EXAMPLES: --FUNCTION WITH OUT PARAMETER CREATE OR REPLACE FUNCTION GET_DATE_HH24TIME RETURN VARCHAR2 IS HH24DATE_TIME VARCHAR2(20); BEGIN HH24DATE_TIME := TO_CHAR(SYSDATE,'DD/MM/YYYY HH24:MI:SS'); RETURN HH24DATE_TIME; END; / --FUNCTION WITH PARAMETER CREATE OR REPLACE FUNCTION GET_P_DATE_HH24TIME (P_HH24DATE_TIME IN DATE) RETURN VARCHAR2 IS HH24DATE_TIME VARCHAR2(20); BEGIN HH24DATE_TIME := TO_CHAR(P_HH24DATE_TIME,'DD/MM/YYYY HH24:MI:SS'); RETURN HH24DATE_TIME; END; / SELECT GET_P_DATE_HH24TIME(SYSDATE) FROM DUAL; Drop Functions: We can drop function from the database. DROP FUNCTION GET_P_DATE_HH24TIME; SQL# SELECT OBJECT_NAME FROM USER_OBJECTS WHERE OBJECT_TYPE = 'FUNCTION'; OBJECT_NAME --------------------------------------------------------------------------GET_DATE_HH24TIME GET_P_DATE_HH24TIME DROP FUNCTION GET_DATE_HH24TIME;
Views: 4726 Sanket Patel
SQL Oracle Greatest and Least Functions
 
07:50
SQL Oracle Greatest and Least Functions You can use https://livesql.oracle.com to run you r sample queries and learn. Commands used: /*List Functions – GREATEST and LEAST*/ SELECT GREATEST(employee_id, department_id,salary), employee_id, department_id,salary from hr.employees; SELECT GREATEST(5, 18, 21, 3, 65) AS GREATEST_CHECK, LEAST(5, 18, 21, 3, 65) AS LEAST_CHECK FROM dual; SELECT GREATEST('Fred', 'Edward', 'Ruby', 'Jane') AS GREATEST_CHECK, LEAST('Fred', 'Edward', 'Ruby', 'Jane') AS LEAST_CHECK FROM dual; SELECT GREATEST('9', '12', '73', '15') AS GREATEST_CHECK, LEAST('9', '12', '73', '15') AS LEAST_CHECK FROM dual; SELECT GREATEST('45', 'apple', 'banana', 100) AS GREATEST_CHECK, LEAST('45', 'apple', 'banana', 100) AS LEAST_CHECK FROM dual; SELECT GREATEST( TO_DATE('25-MAR-2017'), TO_DATE('14-APR-2017'), TO_DATE('7-JAN-2017')) AS GREATEST_CHECK, LEAST( TO_DATE('25-MAR-2017'), TO_DATE('14-APR-2017'), TO_DATE('7-JAN-2017')) AS LEAST_CHECK FROM dual; SELECT GREATEST('Fred', 'Edward', NULL, 'Jane') AS GREATEST_CHECK, LEAST('Fred', 'Edward', NULL, 'Jane') AS LEAST_CHECK FROM dual; SELECT GREATEST('x', 'w','y', 'a', 'q', 'u', 'i', 'a', 'd', 's', 'g', 'k', 'e', 'w', 'i', 'p','a', 'z', 'b', 'c', 'm','w', 'r', 'y', 'n', 'Z') AS GREATEST_CHECK, LEAST('x', 'w','y', 'a', 'q', 'u', 'i', 'a', 'd', 's', 'g', 'k', 'e', 'w', 'i', 'p','a', 'z', 'b', 'c', 'm','w', 'r', 'y', 'n') AS LEAST_CHECK FROM dual;
Views: 48 Nids Dixit
Database Tutorial 87 - What is an Oracle Type - Oracle DBA Tutorial
 
01:54
Database Tutorial 87 - What is an Oracle Type - Oracle DBA Tutorial
Views: 914 Sam Dhanasekaran
NULL-Related Functions in Oracle
 
02:52
An overview of some of the functions Oracle provides to handle NULL values in SQL and PL/SQL. For more information see: https://oracle-base.com/articles/misc/null-related-functions Website: https://oracle-base.com Blog: https://oracle-base.com/blog Twitter: https://twitter.com/oraclebase Cameo by Bjoern Rost Blog: http://portrix-systems.de/blog/brost/ Twitter: https://twitter.com/brost Cameo appearances are for fun, not an endorsement of the content of this video.
Views: 2766 ORACLE-BASE.com
Basic aggregate functions in Oracle plsql.
 
19:22
Understanding basic aggregate functions in pl sql. A simple pl sql tutorial which demonstrate how to use basic aggregate functions like sum, avg, count, max and min.
Views: 361 Subhroneel Ganguly
Functions – date_diff()
 
06:36
This video reviews the date_diff() function available in Oracle Service Cloud Analytics. You will learn what the date_diff() function does and how to configure it for use in your reports. Also covered are subtle tips and tricks like the value formatting, nesting of the date_diff function in expressions and a couple of business use cases examples to help you think about how you might use this function in your business reporting.
Oracle PL/SQL Tutorials
 
07:01
This course introduces students to PL/SQL and helps them understand the benefits of this powerful programming language. Participants learn to create PL/SQL blocks of application code that can be shared by multiple forms, reports, and data management applications. Participants learn to create anonymous PL/SQL blocks as well as stored procedures and functions. Participants learn to develop, execute, and manage PL\SQL stored program units such as procedures, functions, packages, and database triggers. Participants also learn to manage PL/SQL subprograms, triggers, declaring identifiers and trapping exceptions. Participants are introduced to the utilization of some of the Oracle-supplied packages. https://www.educba.com/
Views: 181 eduCBA
Types Of SQL Statement
 
12:30
Types of SQL 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: 8280 Oresoft LWC
SQL Joins Tutorial for Beginners - Inner Join, Left Join, Right Join, Full Outer Join
 
18:04
Learn how to create SQL Joins. The first 10 minutes teach you the basics. Inner Join, Left Outer Join, Right Outer Join, and Full Outer Join. The second 10 minutes show you are few techniques that will help you as you start building joins. READ THE ORIGINAL ARTICLE WITH THE TABLE SCRIPS http://www.sqltrainingonline.com/sql-joins-tutorial-for-beginners/ YOUTUBE NEWS UPDATES http://www.youtube.com/user/sqltrainingonline VISIT SQLTRAININGONLINE.COM FOR TONS MORE VIDEO NEWS & TIPS http://www.sqltrainingonline.com SUBSCRIBE FOR OTHER SQL TIPS AND NEWS! http://www.youtube.com/subscription_center?add_user=sqltrainingonline SUBSCRIBE TO OUR EMAIL LIST! http://www.sqltrainingonline.com LET'S CONNECT! Facebook: http://facebook.com/SQLTrainingOnline Twitter: http://twitter.com/sql_by_joey Linkedin: http://linkedin.com/in/joeyblue SQLTrainingOnline: http://www.sqltrainingonline.com
Views: 194012 Joey Blue
Group Functions | SQL | Multiple Row Functions | Oracle Database XE Tutorial | Computer e Learning
 
04:11
Group Functions | SQL | Multiple Row Functions | Oracle Database XE Tutorial | Computer e Learning GOOGLE + https://plus.google.com/u/0/110303224474635435138 FACEBOOK https://www.facebook.com/ComputerELearning1/ TWITTER https://twitter.com/Com_e_Learning Oracle Database XE Tutorial COMPUTER E LEARNING computer e learning computer learning computerelearning
Tutorial#4 Data Types in Oracle SQL Database | best for oracle SQL database beginners - Training
 
02:10
Oracle SQL online training on what all the data types available in Oracle SQL database and in the upcoming video we will discuss about all these dataTypes in details -------------------------------------------------- Oracle SQL Practice Question: https://drive.google.com/open?id=1FfoIhRvGfgPnTfEV7ZqBjl1q4sZ2ePr_ -------------------------------------------------- Frequently asked interview question on Oracle SQL https://www.youtube.com/watch?v=f7E30fV8wJA&index=1&list=PLiLpmqwkwkCv4qmtBnz4M3zIs1_ukkboT Know about all the data types in oracle SQL database its perfect for oracle SQL beginner course In this series we cover the following topics: SQL basics, create table oracle, SQL functions, SQL queries, SQL server, SQL developer installation, Oracle database installation, SQL Statement, OCA, Data Types, Types of data types, SQL Logical Operator, SQL Function,Join- Inner Join, Outer join, right outer join, left outer join, full outer join, self-join, cross join, View, SubQuery, Set Operator. follow me on: Facebook Page: https://www.facebook.com/LrnWthr-319371861902642/?ref=bookmarks Contacts Email: [email protected] Instagram: https://www.instagram.com/lrnwthr/ Twitter: https://twitter.com/LrnWthR
Views: 358 EqualConnect Coach
bulk collect and record type in oracle example
 
03:00
DECLARE CURSOR c_cust_cur IS SELECT ENAME, EMPNO, SAL, DEPTNO FROM EMP; ---smple cursor TYPE v_cust_cur IS RECORD( ENAME VARCHAR2(60), EMPNO VARCHAR2(60), SAL VARCHAR2(60), DEPTNO VARCHAR2(60)); ---record type TYPE cust_cur_tbl IS TABLE OF v_cust_cur INDEX BY BINARY_INTEGER; v_cust_cur_tbl cust_cur_tbl; v_data_clob CLOB := EMPTY_CLOB(); v_from VARCHAR2(100); v_to VARCHAR2(32700); BEGIN OPEN c_cust_cur; FETCH c_cust_cur BULK COLLECT --Bulk collect INTO v_cust_cur_tbl; CLOSE c_cust_cur; BEGIN /* FOR i IN 1 .. v_cust_cur_tbl.COUNT LOOP or we ca write also output will be same */ FOR i IN v_cust_cur_tbl.first .. v_cust_cur_tbl.last LOOP v_data_clob := v_cust_cur_tbl(i).ENAME || '",' || '"' || v_cust_cur_tbl(i) .EMPNO || '",' || '"' || v_cust_cur_tbl(i).SAL || '",' || '"' || v_cust_cur_tbl(i) .DEPTNO; dbms_output.put_line(v_data_clob); END LOOP; END; END;
Views: 21 Young India
12a of 15 SQL Basics with Oracle - Variations for the COUNT() function
 
04:12
This video looks at three variations of the COUNT() function: COUNT(*), COUNT(field_name) and COUNT(DISTINCT field_name). The examples in the video show what the differences are in the result set for each COUNT variation. (12a of 15)
Views: 1512 Jennifer Kreie
Oracle LOWER Function
 
01:30
https://www.databasestar.com/oracle-upper-lower/ The Oracle LOWER function is used to convert a string to a lowercase value. It’s useful for comparing text or string values that may have mixed case, such as user input or data from different tables. The opposite of the LOWER function is the UPPER function (which converts to upper case). The syntax of LOWER is: LOWER(input_string) The input_string is the string value to convert to a lower case value. It can be any of CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB, or NCLOB. The return type is the same as the input type. You can use the LOWER function in a WHERE clause. However, unless you have a function-based index on the column, any indexes won’t be used. For example, if you have an index on first_name, a query that uses “WHERE LOWER(first_name)” won’t use this index. You’ll have to create an index on the LOWER(first_name) for this to be used. It’s not required, but it’s just something to keep in mind. For more information about the Oracle LOWER function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-upper-lower/
Views: 60 Database Star
PL-SQL tutorial 23 - How to perform DML via %type datatype in PLSQL
 
08:10
Hi guys this videos very helpful for everyone i am going to explain How to perform DML via %type datatype in plsql. Oracle database Unbeatable,Unbreakable Platform..
Views: 140 Oracle World
SQL Server join :- Inner join,Left join,Right join and full outer join
 
08:11
For more such videos visit http://www.questpond.com For more such videos subscribe https://www.youtube.com/questpondvideos?sub_confirmation=1 Also watch Learn Sql Queries in 1 hour :- https://www.youtube.com/watch?v=uGlfP9o7kmY See our other Step by Step video series below :- Learn Data Science in 1 hour :- https://tinyurl.com/y5o7qbau Learn angular tutorial step by step https://tinyurl.com/ycd9j895 Learn C# Step by Step https://goo.gl/FNlqn3 Learn Design Pattern Step by Step https://goo.gl/eJdn0m Learn SQL Server Step by Step http://tinyurl.com/ja4zmwu Learn Data structures & algorithm https://tinyurl.com/ybx29c5s Learn MVC Core step by step :- http://tinyurl.com/y9jt3wkv Learn MSBI Step by Step in 32 hours:- https://goo.gl/TTpFZN Learn Xamarin Mobile Programming Step by Step :- https://goo.gl/WDVFuy Learn SharePoint Step by Step in 8 hours:- https://goo.gl/XQKHeP Learn Tableau step by step :- https://tinyurl.com/kh6ojyo Preparing for C# / .NET interviews start here http://www.youtube.com/watch?v=gaDn-sVLj8Q In this video we will try to understand four important concepts Inner joins,Left join,Right join and full outer joins. We are also distributing a 100 page Ebook ".Sql Server Interview Question and Answers". If you want this ebook please share this video in your facebook/twitter/linkedin account and email us on [email protected] with the shared link and we will email you the PDF.
Views: 893882 Questpond
SQL Aggregation queries using Group By, Sum, Count and Having
 
10:01
From SQL Queries Joes 2 Pros (Vol2) ch4.1. Learn up to write aggregated queries.
Views: 181818 Joes2Pros SQL Trainings
oracle tutorial for beginners - Using aggregated functions. in Hindi.
 
05:01
Hello Friends in this video i'm going to show you how to use group functions step by step.
Views: 347 OCP Technology
Learn Oracle | What is Normalization
 
03:37
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: 309 Pebbles Tutorials
USING OF SIGN() Function  in SQL WITH EXAMPLE
 
05:23
Its all about"SIGN() Function" in SQL ,it helps to you that how can i used "SIGN() Function in SQL with example in details.....
Views: 123 Technical Aashique
SQL: Delete Vs Truncate Vs Drop
 
08:27
In this tutorial, you'll learn the difference between delete/drop and truncate. 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: 70848 radhikaravikumar
How to create execute alter drop functions in SQL?
 
12:26
How to create execute alter drop functions in SQL? ,create function in sql server ,create function in sql ,sql user defined function example ,sql scalar function example ,sql user defined functions ,sql server function return table ,sql user defined functions tutorial ,create function oracle ,types of functions in sql This video is about how to create, execute, alter, drop user-defined function in SQL.
Views: 18 How To
MySQL 33 - Datetime, Date, Time Data Types
 
06:40
Next up on our MySQL to-do list is to learn about storing dates and times. There are various data types in MySQL for storing dates and times. It seems MySQL and databases likes to break everything up into multiple data types to make things more organized at the consequence of being confusing and annoying. This video is going to be talking about the DATETIME, DATE, and TIME data types. These are all used to store, you guessed it, dates and times. The one you choose depends on your needs. If you just need dates, choose DATE. If you just need times, choose TIME, if you need both stored together, choose DATETIME. Now you set a column one of these data types whenever you want every row for this field to have some sort of date, time or both…but how exactly is the data formatted? This requires us to understand some convention. For example, in the USA at least, if you have something like 4:30AM, by convention you know the hour is 4 and the minutes are 30. But this is just an agreed upon convention. MySQL has its own convention…For example 2017-02-02. The first thing is the year, the second is the month, and the third is the day. That is for the DATE. The convention for time is 22:54:30. The first is the hour (military time), the second is the minute, and the third is the seconds. Lastly, there can actually be fractions of seconds…up to microseconds! .123456. To use fractional seconds though you must specify to MySQL the precision of the TIME or DATETIME when you create it, for example DATETIME(6) would allow microsecond precision. How do you actually give a date to MySQL? By that I mean let's say you have a table with a column of DATETIME(6), and you want to give a value for that column, how do you format it? It's quoted. For example: '2017-02-02 22:54:30.333333' MySQL interprets this as a DATETIME. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support 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: 38759 Caleb Curry
Functions in C | C Language Tutorial | Mr. Srinivas
 
16:09
C Language Tutorial Videos | Mr. Srinivas ►For Registration : https://goo.gl/r6kJbB ►Call: +91-8179191999 ► Visit Our Website: http://nareshit.in/ C-Language Tutorial: by Mr.Srinivas Topic: Two Types of Java Softwares ** For Online Training Registration: https://goo.gl/r6kJbB ► Call: +91-8179191999 ► Visit Our Website for Classroom Training: https://nareshit.in/c-language-training/ ► For Online Training: https://nareshit.com/course/c-language-online-training/ -------------------------- ► About NareshIT: "Naresh IT is having 14+ years of experince in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, 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 USA,Hyderabad, Chennai and Vijayawada,Bangalore India which provides online training acorss all the locations -------------------------- ► 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 Videos of each and every session. -------------------------- Please write back to us at [email protected] / [email protected] or Call us at USA: +1404-232-9879 or India: +918179191999 ** 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 ► Follow us on Linkedin: https://in.linkedin.com/company/naresh-i-technologies ► Follow us on Instagram: https://www.instagram.com/nareshitech/
Views: 448889 Naresh i Technologies
Learn Oracle | How to Drop and Truncate a Table using SQL
 
02:36
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: 257 Pebbles Tutorials
Oracle Records
 
06:01
This video will give basic understanding of Oracle Records, why records used, how to use, and importance of Oracle records.
Views: 243 amit wadbude
Stored procedures in sql server   Part 18
 
20:11
In this video we will learn 1. What is a stored procedure 2. Stored Procedure example 3. Creating a stored procedure with parameters 4. Altering SP 5. Viewing the text of the SP 6. Dropping the SP 7. Encrypting stored procedure Text version of the video http://csharp-video-tutorials.blogspot.com/2012/08/stored-procedures-part-18.html Slides http://csharp-video-tutorials.blogspot.com/2013/08/part-18-stored-procedures.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 771470 kudvenkat
Single Row Function Part 2
 
31:08
Oracle SQL Function Part 2 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: 4599 Oresoft LWC
oracle interview question index related questions
 
06:57
Oracle Interview Question - oracle index related questions Description: Oracle Interview Question - oracle index related questions 1. What is Index? How to create index? 2. What are the types of index? 3. How to find the list of indexes for a given table? 4. Explain B-tree index 5. Explain Bitmap index 6. Explain "Function based" index 7. Explain "Reverse Key" index 8. When to choose what type of index? 9. How to know index is being used? 10. How to monitor index usage? 11. What are the advantages/drawbacks of indexes? 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: 610 Siva Academy
SQL: Transaction Part-2
 
06:40
In this tutorial, you'll learn what are transaction and nature of transaction. 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: 1679 radhikaravikumar
SQL 064 Scalar Functions CAST or How can I convert data types
 
03:44
Explains the Scalar Function CAST for changing a value from one to another data type. From http://ComputerBasedTrainingInc.com SQL Course. Learn by doing SQL commands for ANSI Standard SQL, Access, DB2, MySQL, Oracle, PostgreSQL, and Sequel Server.
Views: 1406 cbtinc
Oracle TRUNC: Number function
 
01:23
Oracle ROUND: Number function: https://www.youtube.com/watch?v=eWm_jON6NUI&index=1&list=PLjBraywgeSpHfYFw3HbwWLdThGzwNGDSR Oracle MOD: Number function: https://www.youtube.com/watch?v=eMGgo_1y6b4&list=PLjBraywgeSpHfYFw3HbwWLdThGzwNGDSR&index=3 The usage of SELECT Playlist: https://www.youtube.com/watch?v=ZwgiIiD1dWE&list=PLjBraywgeSpEW2f7AK4Ddt6BRxW0HWN74
ASK THE ORACLE EXPERTS JSON DATATYPE AND NOSQL IN MYSQL: German Webcast
 
53:43
Mit der nativen JSON Unterstützung in MySQL Version 5.7 können Sie die Flexibilität von JSON mit der relationalen MySQL Datenbank verbinden. In dieser Präsentation wird Carsten Thalheimer den neuen JSON Datentyp, die neuen MySQL Functions (um mit JSON Dokumenten zu arbeiten) und neue Indizierungsmöglichkeiten eingehen. With the new added native JSON support in MySQL 5.7, you can combine the flexibility of JSON with the strength of a relational MySQL database. In this presentation Carsten Thalheimer will explain the new JSON data type, the new set of functions for handling JSON documents, available storage and indexing options.
How to Fix Credssp Encryption Oracle Remediation Error | Remote Desktop Connection
 
03:29
In this video we will see how to fix “An authentication error has occurred. The function requested is not supported Remote computer: bensminger This could be due to CredSSP encryption oracle remediation. For more information, see https://go.microsoft.com/fwlink/?linkid=866660” OR CredSSP Encryption Oracle Remediation error on your PC. This error appears when you try to establish rdp connection from your computer and can’t rdp through your pc(Remote desktop connection/remote desktop client from microsoft). This solution will work on Windows (Windows Vista,Windows 7, Windows 8, Windows 8.1,Windows 10(Windows 10 Home,,windows 10 1803,windows 10 enterprise,windows 10 pro), Recent Windows Server versions(Azure,server 2012 r2,server 2016,server 2008 r2,Windows Server 2016), includes all 32bit and 64bit Versions in this list). Credssp encryption oracle remediation problem also appears on some devices which are updated operating system(some windows 10 update/after update). Credssp encryption oracle remediation not available on your device if you are using older version of Microsoft Windows operating system. Sometimes credssp encryption oracle remediation error shows when you try to rdp to windows(Windows server or other OS) in vmware or Oracle VirtualBox. Credssp encryption oracle remediation patch is also available on latest windows update(may not available for all devices). In this video we are going to two methods for Oracle Remediation error resolution. Method 1 uses Group Policy Editor(gpo) if you have Encryption Oracle Remediation available in Group policy editor. Method 2 uses Reg Key/Regedit if Encryption Oracle Remediation not available available in Group policy editor. If you are getting this error using Oracle VirtualBox you may need to install oracle vm virtualbox extension pack and windows remote desktop port in your router if you are on wifi. After using one of these method on your pc hit mstsc in Run(In Windows) to start rdp(Windows Remote Desktop Connection). Follow These Simple Steps To Fix CredSSP Encryption Oracle Remediation On Your PC METHOD 1 1) Go to Windows Search 2) Search Edit Group Policy 3) Click On Edit Group Policy 4) Click On Computer Configuration 5) Expand Administrative Templates 6) Expand System 7) Click On Credentials Delegation 8) Right Click On Encryption Oracle Remediation 9) Select Edit 10) Select Enabled 11) Click On Protection Level Option 12) Select Vulnerable 13) Click Apply 14) Click OK 15) Close Local Group Policy Editor METHOD 2 1) Go to Windows Search 2) Search Regedit 3) Click On Regedit 4) Expand HKEY_LOCAL_MACHINE 5) Expand SOFTWARE 6) Expand Microsoft 7) Go To Windows 8) Expand Windows 9) Expand CurrentVersion 10) Go To Policies 11) Expand Policies 12) Expand System 13) Right Click On System 14) Select New 15) Select Key 16) Type CredSSP 17) Right Click On CredSSP 18) Select New 19) Select Key 20) Type Parameters 21) Right Click And Select New 22) Select DWORD (32 bit) Value 23) Type AllowEncryptionOracle 24) Right Click On AllowEncyptionOracle 25) Select Modify 26) Enter Value Data 2 27) Select Decimal 28) Click OK 29) Close Registry Editor Done! CredSSP Encryption Oracle Remediation On Your PC Fixed Contact Us Facebook : https://www.facebook.com/SoftTrickChannel Wikipedia : https://en.wikipedia.org/wiki/User:SoftTrick Twitter : https://twitter.com/SoftTrickChnl Instagram : https://www.instagram.com/softtrick Reddit : https://www.reddit.com/user/SoftTricks Tumblr : https://www.tumblr.com/blog/softtrickchannel Youtube : https://youtu.be/Mp9vPS4Efto Desktop Wallpaper Photo in the end of the video Miguel Á. Padriñán Link - https://www.pexels.com/photo/art-leaf-white-flower-68558/ Background Music Provided by NCS (Nocopyrightsounds) Weero & Mitte - Our Dive Link- https://www.youtube.com/watch?v=qKqSBm07KZk Follow artist Weero https://soundcloud.com/weeromusic https://www.facebook.com/weeromusic/ https://twitter.com/mezweero Mitte https://soundcloud.com/mitteofficial https://www.facebook.com/mitteofficial https://twitter.com/musicbymitte Follow NCS 24/7 Radio: http://ncs.io/Radio http://soundcloud.com/NoCopyrightSounds http://instagram.com/NoCopyrightSounds http://facebook.com/NoCopyrightSounds http://twitch.tv/NoCopyrightSounds http://twitter.com/NCSounds http://spoti.fi/NCS
Views: 2856 SoftTrick
Part 2   SQL query to get organization hierarchy
 
10:14
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2014/05/part-2-sql-query-to-get-organization.html To get the best out of this video, the following concepts need to be understood first. These are already discussed in SQL Server Tutorial. 1. Self-Join - http://www.youtube.com/watch?v=qnYSN_7qwgg 2. CTE - http://www.youtube.com/watch?v=ZXB5b-7HJHk 3. Recursive CTE - http://www.youtube.com/watch?v=GGoV0wTMCg0 Here is the problem definition: 1. Employees table contains the following columns a) EmployeeId, b) EmployeeName c) ManagerId 2. If an EmployeeId is passed, the query should list down the entire organization hierarchy i.e who is the manager of the EmployeeId passed and who is managers manager and so on till full hierarchy is listed. For example, Scenario 1: If we pass David's EmployeeId to the query, then it should display the organization hierarchy starting from David. Scenario 2: If we pass Lara's EmployeeId to the query, then it should display the organization hierarchy starting from Lara. We will be Employees table for this demo. SQL to create and populate Employees table with test data Create table Employees ( EmployeeID int primary key identity, EmployeeName nvarchar(50), ManagerID int foreign key references Employees(EmployeeID) ) GO Insert into Employees values ('John', NULL) Insert into Employees values ('Mark', NULL) Insert into Employees values ('Steve', NULL) Insert into Employees values ('Tom', NULL) Insert into Employees values ('Lara', NULL) Insert into Employees values ('Simon', NULL) Insert into Employees values ('David', NULL) Insert into Employees values ('Ben', NULL) Insert into Employees values ('Stacy', NULL) Insert into Employees values ('Sam', NULL) GO Update Employees Set ManagerID = 8 Where EmployeeName IN ('Mark', 'Steve', 'Lara') Update Employees Set ManagerID = 2 Where EmployeeName IN ('Stacy', 'Simon') Update Employees Set ManagerID = 3 Where EmployeeName IN ('Tom') Update Employees Set ManagerID = 5 Where EmployeeName IN ('John', 'Sam') Update Employees Set ManagerID = 4 Where EmployeeName IN ('David') GO Here is the SQL that does the job Declare @ID int ; Set @ID = 7; WITH EmployeeCTE AS ( Select EmployeeId, EmployeeName, ManagerID From Employees Where EmployeeId = @ID UNION ALL Select Employees.EmployeeId , Employees.EmployeeName, Employees.ManagerID From Employees JOIN EmployeeCTE ON Employees.EmployeeId = EmployeeCTE.ManagerID ) Select E1.EmployeeName, ISNULL(E2.EmployeeName, 'No Boss') as ManagerName From EmployeeCTE E1 LEFT Join EmployeeCTE E2 ON E1.ManagerID = E2.EmployeeId
Views: 299046 kudvenkat
07-Oracle PL-SQL(Working With Composite Data Types Part 1) By Eng-Helal Ahmed
 
27:46
07-Oracle PL-SQL(Working With Composite Data Types Part 1) By Eng-Helal Ahmed www.facebook.com/free4arab http://www.free4arab.com http://twitter.com/free4arab1 https://plus.google.com/114278484973373035289/posts نور الهدى لتكنولوجيا المعلومات
Oracle PLSQL Bangla Tutorials 5  :: Plsql || Datatype
 
02:08
Topics : Plsql -Datatype Md.Rahim Uddin Shohag Founder - Oracle Bangla www.oraclebangla.com www.facebook.com/oracle.shohag email:[email protected]
Views: 675 Oracle Bangla
Joins in sql server - Part 12
 
17:43
In this video we will learn about 1. The different types of Joins in sql server 2. Cross Join 3. Inner Join 4. Outer Join -- Left , Right and Full Outer Join. Text version of the video http://csharp-video-tutorials.blogspot.com/2012/08/joins-in-sql-server-part-12.html Slides http://csharp-video-tutorials.blogspot.com/2013/08/part-12-joins.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 611651 kudvenkat
Oracle SQL Constraints
 
29:35
In the previous video, we talked about creating users and granting privileges to users in Oracle 10G. In this video, we are going to talk about constraints and see a simple query related to constraints. Topics covered in this video are : -Constraints -Reason for learning Constraints in DBMS -Defining Constraints on Table Level or Column Level -Guidelines for defining the name of the constraint -Types of Constraints -Adding Constraints to existing Table -Enabling or Disabling constraints -Dropping Constraints
Views: 54 Ajay Technical
Oracle SQL 02  Database Management System DBMS   Part 02 THEORY
 
13:17
USING SQL COMMAND Types of SQL Commands The following sections discuss the basic categories of commands used in SQL to perform various functions. These functions include building database objects, manipulating objects, populating database tables with data, updating existing data in tables, deleting data, performing database queries, controlling database access, and overall database administration. The main categories are DDL (Data Definition Language) DML (Data Manipulation Language) DQL (Data Query Language) DCL (Data Control Language) Data administration commands Transactional control commands Defining Database Structures Data Definition Language, DDL, is the part of SQL that allows a database user to create and restructure database objects, such as the creation or the deletion of a table. Some of the most fundamental DDL commands discussed during following hours include the following: CREATE TABLE ALTER TABLE DROP TABLE CREATE INDEX ALTER INDEX DROP INDEX CREATE VIEW DROP VIEW Manipulating Data Data Manipulation Language, DML, is the part of SQL used to manipulate data within objects of a relational database. There are three basic DML commands: INSERT UPDATE DELETE Selecting Data Though comprised of only one command, Data Query Language (DQL) is the most concentrated focus of SQL for modern relational database users. The base command is as follows: SELECT This command, accompanied by many options and clauses, is used to compose queries against a relational database. Queries, from simple to complex, from vague to specific, can be easily created. The SELECT command is discussed in exhilarating detail during Hours 7 through 16. A query is an inquiry to the database for information. A query is usually issued to the database through an application interface or via a command line prompt. Data Control Language Data control commands in SQL allow you to control access to data within the database. These DCL commands are normally used to create objects related to user access and also control the distribution of privileges among users. Some data control commands are as follows: ALTER PASSWORD GRANT REVOKE CREATE SYNONYM You will find that these commands are often grouped with other commands and may appear in a number of different lessons throughout this book. Data Administration Commands Data administration commands allow the user to perform audits and perform analyses on operations within the database. They can also be used to help analyze system performance. Two general data administration commands are as follows: START AUDIT STOP AUDIT Do not get data administration confused with database administration. Database administration is the overall administration of a database, which envelops the use of all levels of commands. Database administration is much more specific to each SQL implementation than are those core commands of the SQL language. Transactional Control Commands In addition to the previously introduced categories of commands, there are commands that allow the user to manage database transactions. COMMIT Saves database transactions ROLLBACK Undoes database transactions SAVEPOINT Creates points within groups of transactions in which to ROLLBACK SET TRANSACTION Places a name on a transaction Transactional commands are discussed extensively during Hour 6, "Managing Database Transactions." sql interview questions,sql interview questions and answers,interview questions for freshers,SQL,sql tutorial BEGINNERS,oracle,pl sql,pl/sql,mysql,oracle interview,google interview question,trigger in oracle,dbms,rdbms, oracle tutorial,pl sql basics,pl sql tutorials, pl sql example,sql,sql server ,query,sql query,questions,interview questions,coding interview,sql coding, code , database interview questions and answers,interview questions sql, interview questions,sql server,sql interview,interview sql,interview question sql join ,inner join, group by,select sql,interview questions ,sql basic, PL SQL Programs,PL SQL,PL SQL block,PL SQL Function,PL SQL Package,PL SQL Package body,PL SQL Procedure ,PL SQL Trigger,PL SQLType,PL SQL Type body,CREATE OR REPLACE PROCEDURE,database interview questions and answers,interview questions sql, interview questions,sql server,Procedural Language,interview sql,interview question sql join ,inner join, group by,select sql,interview questions ,sql basic,pl sql variable,oraclecoach,claire rajan, PL SQL,PL SQL block,PL SQL Function,PL SQL Package,PL SQL Package body,PL SQL Procedure,PL SQL Trigger,PL SQLType,PL SQL
Oracle SQL - Types of Clients - Lesson 06
 
04:03
This video is part of Oracle SQL tutorials. Use this video to learn about the types of clients to an Oracle Database. This will give you an understanding of Oracle SQL development process works.
Views: 5638 Sam Dhanasekaran
Oracle SQL 01  Database Management System DBMS   Part 01 THEORY
 
25:30
USING SQL COMMAND Types of SQL Commands The following sections discuss the basic categories of commands used in SQL to perform various functions. These functions include building database objects, manipulating objects, populating database tables with data, updating existing data in tables, deleting data, performing database queries, controlling database access, and overall database administration. The main categories are DDL (Data Definition Language) DML (Data Manipulation Language) DQL (Data Query Language) DCL (Data Control Language) Data administration commands Transactional control commands Defining Database Structures Data Definition Language, DDL, is the part of SQL that allows a database user to create and restructure database objects, such as the creation or the deletion of a table. Some of the most fundamental DDL commands discussed during following hours include the following: CREATE TABLE ALTER TABLE DROP TABLE CREATE INDEX ALTER INDEX DROP INDEX CREATE VIEW DROP VIEW Manipulating Data Data Manipulation Language, DML, is the part of SQL used to manipulate data within objects of a relational database. There are three basic DML commands: INSERT UPDATE DELETE Selecting Data Though comprised of only one command, Data Query Language (DQL) is the most concentrated focus of SQL for modern relational database users. The base command is as follows: SELECT This command, accompanied by many options and clauses, is used to compose queries against a relational database. Queries, from simple to complex, from vague to specific, can be easily created. The SELECT command is discussed in exhilarating detail during Hours 7 through 16. A query is an inquiry to the database for information. A query is usually issued to the database through an application interface or via a command line prompt. Data Control Language Data control commands in SQL allow you to control access to data within the database. These DCL commands are normally used to create objects related to user access and also control the distribution of privileges among users. Some data control commands are as follows: ALTER PASSWORD GRANT REVOKE CREATE SYNONYM You will find that these commands are often grouped with other commands and may appear in a number of different lessons throughout this book. Data Administration Commands Data administration commands allow the user to perform audits and perform analyses on operations within the database. They can also be used to help analyze system performance. Two general data administration commands are as follows: START AUDIT STOP AUDIT Do not get data administration confused with database administration. Database administration is the overall administration of a database, which envelops the use of all levels of commands. Database administration is much more specific to each SQL implementation than are those core commands of the SQL language. Transactional Control Commands In addition to the previously introduced categories of commands, there are commands that allow the user to manage database transactions. COMMIT Saves database transactions ROLLBACK Undoes database transactions SAVEPOINT Creates points within groups of transactions in which to ROLLBACK SET TRANSACTION Places a name on a transaction Transactional commands are discussed extensively during Hour 6, "Managing Database Transactions." sql interview questions,sql interview questions and answers,interview questions for freshers,SQL,sql tutorial BEGINNERS,oracle,pl sql,pl/sql,mysql,oracle interview,google interview question,trigger in oracle,dbms,rdbms, oracle tutorial,pl sql basics,pl sql tutorials, pl sql example,sql,sql server ,query,sql query,questions,interview questions,coding interview,sql coding, code , database interview questions and answers,interview questions sql, interview questions,sql server,sql interview,interview sql,interview question sql join ,inner join, group by,select sql,interview questions ,sql basic, PL SQL Programs,PL SQL,PL SQL block,PL SQL Function,PL SQL Package,PL SQL Package body,PL SQL Procedure ,PL SQL Trigger,PL SQLType,PL SQL Type body,CREATE OR REPLACE PROCEDURE,database interview questions and answers,interview questions sql, interview questions,sql server,Procedural Language,interview sql,interview question sql join ,inner join, group by,select sql,interview questions ,sql basic,pl sql variable,oraclecoach,claire rajan, PL SQL,PL SQL block,PL SQL Function,PL SQL Package,PL SQL Package body,PL SQL Procedure,PL SQL Trigger,PL SQLType,PL SQL
Part 1   How to find nth highest salary in sql
 
11:45
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2014/05/part-1-how-to-find-nth-highest-salary_17.html This is a very common SQL Server Interview Question. There are several ways of finding the nth highest salary. By the end of this video, we will be able to answer all the following questions as well. How to find nth highest salary in SQL Server using a Sub-Query How to find nth highest salary in SQL Server using a CTE How to find the 2nd, 3rd or 15th highest salary Let's use the following Employees table for this demo Use the following script to create Employees table Create table Employees ( ID int primary key identity, FirstName nvarchar(50), LastName nvarchar(50), Gender nvarchar(50), Salary int ) GO Insert into Employees values ('Ben', 'Hoskins', 'Male', 70000) Insert into Employees values ('Mark', 'Hastings', 'Male', 60000) Insert into Employees values ('Steve', 'Pound', 'Male', 45000) Insert into Employees values ('Ben', 'Hoskins', 'Male', 70000) Insert into Employees values ('Philip', 'Hastings', 'Male', 45000) Insert into Employees values ('Mary', 'Lambeth', 'Female', 30000) Insert into Employees values ('Valarie', 'Vikings', 'Female', 35000) Insert into Employees values ('John', 'Stanmore', 'Male', 80000) GO To find the highest salary it is straight forward. We can simply use the Max() function as shown below. Select Max(Salary) from Employees To get the second highest salary use a sub query along with Max() function as shown below. Select Max(Salary) from Employees where Salary [ (Select Max(Salary) from Employees) To find nth highest salary using Sub-Query SELECT TOP 1 SALARY FROM ( SELECT DISTINCT TOP N SALARY FROM EMPLOYEES ORDER BY SALARY DESC ) RESULT ORDER BY SALARY To find nth highest salary using CTE WITH RESULT AS ( SELECT SALARY, DENSE_RANK() OVER (ORDER BY SALARY DESC) AS DENSERANK FROM EMPLOYEES ) SELECT TOP 1 SALARY FROM RESULT WHERE DENSERANK = N To find 2nd highest salary we can use any of the above queries. Simple replace N with 2. Similarly, to find 3rd highest salary, simple replace N with 3. Please Note: On many of the websites, you may have seen that, the following query can be used to get the nth highest salary. The below query will only work if there are no duplicates. WITH RESULT AS ( SELECT SALARY, ROW_NUMBER() OVER (ORDER BY SALARY DESC) AS ROWNUMBER FROM EMPLOYEES ) SELECT SALARY FROM RESULT WHERE ROWNUMBER = 3
Views: 970249 kudvenkat
Tutorial#9 How to Rename Table in oracle SQL database
 
06:15
Oracle SQL Tutorial on How to change the name of the existing table using the rename command, rename table syntax, alter SQL statement -------------------------------------------------- Oracle SQL Practice Question for Rename table : https://drive.google.com/open?id=19vb5eqFomn8y8XQaxIzTazH9k708ySOWgWMDaQVgWl0 -------------------------------------------------- Frequently asked interview question on Oracle SQL https://www.youtube.com/watch?v=f7E30fV8wJA&index=1&list=PLiLpmqwkwkCv4qmtBnz4M3zIs1_ukkboT In this series we cover the following topics: SQL basics, create table oracle, SQL functions, SQL queries, SQL server, SQL developer installation, Oracle database installation, SQL Statement, OCA, Data Types, Types of data types, SQL Logical Operator, SQL Function,Join- Inner Join, Outer join, right outer join, left outer join, full outer join, self-join, cross join, View, SubQuery, Set Operator. follow me on: Facebook Page: https://www.facebook.com/LrnWthr-319371861902642/?ref=bookmarks Contacts Email: [email protected] Instagram: https://www.instagram.com/lrnwthr/ Twitter: https://twitter.com/LrnWthR #RenameTableInOracle #OracleOnlineTraining #SQLCourse
Views: 195 EqualConnect Coach

Uwajimaya seattle wa
Hss inc denver
Bravo tv download free
Rainbow station charlotte nc
Car wallpaper for pc free download