Home
Search results “Select stored procedure oracle”
Oracle Part 17 Select in Stored Procedure, Exceptions
 
22:21
Select into statement in SP, exception handler in
Views: 7063 Free OpenMentor
Oracle : Stored Procedure with Input and Output Parameters
 
04:04
Java Source Code here: http://ramj2ee.blogspot.com/2015/07/oracle-stored-procedure-with-input-and.html Oracle : Stored Procedure with Input and Output Parameters JavaEE Tutorials and Sample code - Click here : http://ramj2ee.blogspot.in/
Views: 40369 Ram N
PL/SQL tutorial 40 : Introduction to PL/SQL Stored Procedure in Oracle Database By Manish Sharma
 
04:59
Learn what are "stored procedures" in Oracle Database By Manish Sharma from RebellionRider.com ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/stored-procedure Previous Tutorial ► How To Create PL/SQL function: https://youtu.be/93uqcFVtfWA ------------------------------------------------------------------------- ►►►Let's Get Free Uber Cab◄◄◄ Use Referral Code UberRebellionRider and get $20 free for your first ride. ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/imthebhardwaj http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ http://rebellionrider.tumblr.com/ http://www.pinterest.com/rebellionrider/ ___Facebook Official Page___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 59814 Manish Sharma
Stored Procedures in PL/SQL | Oracle PL/SQL Tutorial Videos | Mr.Vijay Kumar
 
18:54
Stored Procedures:- A Stored Procedure is also a Named PL/SQL block the accepts some input in the form of parameters and performs some task and many or many not returns a value Procedures are created to perform one or more dml operations over database.
Views: 61573 Naresh i Technologies
Select Insert Update Delete Using Stored Procedure in Oracle
 
06:25
Select Insert Update Delete Using Stored Procedure in PLSQL
Views: 352 Adam Tech
Oracle PL/SQL - Procedures
 
10:41
Oracle PL/SQL - Procedures
Views: 134700 Chris Ostrowski
HOW TO RETURN MULTIPLE VALUES FROM A PROCEDURE IN ORACLE PL/SQL? (USING OUT PARAMETERS)
 
04:46
This video tutorial explains how an oracle procedure can return multiple values with a proper example. The video tutorial shows how this problem can be tacked using simple and easy to understand out parameters!!!
Views: 15283 Kishan Mashru
Oracle Part 14 Stored Procedure Create and Execute
 
29:43
Create, replace, drop stored procedures, comment, variables, assignment, for loop, serveroutput, in parameter, execute SP
Views: 34345 Free OpenMentor
Dynamic SQL in Stored Procedure
 
09:32
In this video we will discuss, using dynamic sql in a stored procedure and it's implications from sql injection perspective. We will discuss performance implications of using dynamic sql in a stored procedure in a later video. Text version of the video http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-in-stored-procedure.html Slides http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-in-stored-procedure_11.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 SQL Server Tutorial Videos https://www.youtube.com/playlist?list=PL08903FB7ACA1C2FB 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 Consider the following stored procedure "spSearchEmployees". We implemented this procedure in Part 139 of SQL Server tutorial. This stored procedure does not have any dynamic sql in it. It is all static sql and is immune to sql injection. Create Procedure spSearchEmployees @FirstName nvarchar(100) = NULL, @LastName nvarchar(100) = NULL, @Gender nvarchar(50) = NULL, @Salary int = NULL As Begin Select * from Employees where (FirstName = @FirstName OR @FirstName IS NULL) AND (LastName = @LastName OR @LastName IS NULL) AND (Gender = @Gender OR @Gender IS NULL) AND (Salary = @Salary OR @Salary IS NULL) End Go Whether you are creating your dynamic sql queries in a client application like ASP.NET web application or in a stored procedure, you should never ever concatenate user input values. Instead you should be using parameters. Notice in the following example, we are creating dynamic sql queries by concatenating parameter values, instead of using parameterized queries. This stored procedure is prone to SQL injection. Let's prove this by creating a "Search Page" that calls this procedure. Create Procedure spSearchEmployeesBadDynamicSQL @FirstName nvarchar(100) = NULL, @LastName nvarchar(100) = NULL, @Gender nvarchar(50) = NULL, @Salary int = NULL As Begin Declare @sql nvarchar(max) Set @sql = 'Select * from Employees where 1 = 1' if(@FirstName is not null) Set @sql = @sql + ' and FirstName=''' + @FirstName + '''' if(@LastName is not null) Set @sql = @sql + ' and LastName=''' + @LastName + '''' if(@Gender is not null) Set @sql = @sql + ' and Gender=''' + @Gender + '''' if(@Salary is not null) Set @sql = @sql + ' and Salary=''' + @Salary + '''' Execute sp_executesql @sql End Go Add a Web Page to the project that we have been working with in our previous video. Name it "DynamicSQLInStoredProcedure.aspx". Copy and paste the HTML and code available on my blog at the following link http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-in-stored-procedure.html At this point, run the application and type the following text in the "Firsname" text and click "Search" button. Notice "SalesDB" database is dropped. Our application is prone to SQL injection as we have implemented dynamic sql in our stored procedure by concatenating strings instead of using parameters. ' Drop database SalesDB -- In the following stored procedure we have implemented dynamic sql by using parameters, so this is not prone to sql injecttion. This is an example for good dynamic sql implementation. Create Procedure spSearchEmployeesGoodDynamicSQL @FirstName nvarchar(100) = NULL, @LastName nvarchar(100) = NULL, @Gender nvarchar(50) = NULL, @Salary int = NULL As Begin Declare @sql nvarchar(max) Declare @sqlParams nvarchar(max) Set @sql = 'Select * from Employees where 1 = 1' if(@FirstName is not null) Set @sql = @sql + ' and [email protected]' if(@LastName is not null) Set @sql = @sql + ' and [email protected]' if(@Gender is not null) Set @sql = @sql + ' and [email protected]' if(@Salary is not null) Set @sql = @sql + ' and [email protected]' Execute sp_executesql @sql, N'@FN nvarchar(50), @LN nvarchar(50), @Gen nvarchar(50), @sal int', @[email protected], @[email protected], @[email protected], @[email protected] End Go On the code-behind page, use stored procedure spSearchEmployeesGoodDynamicSQL instead of spSearchEmployeesBadDynamicSQL. We do not have to change any other code. At this point run the application one more time and type the following text in the "Firstname" textbox and click the "Search" button. ' Drop database SalesDB -- Notice "SalesDB" database is not dropped, So in this case our application is not succeptible to SQL injection attack. Summary : Whether you are creating dynamic sql in a client application (like a web application) or in a stored procedure always use parameters instead of concatnating strings. Using parameters to create dynamic sql statements prevents sql injection.
Views: 38164 kudvenkat
10-Oracle PL-SQL(Creating Stored Procedures Part 1) By Eng-Helal Ahmed
 
25:22
10-Oracle PL-SQL(Creating Stored Procedures Part 1) By Eng-Helal Ahmed www.facebook.com/free4arab http://www.free4arab.com http://twitter.com/free4arab1 https://plus.google.com/114278484973373035289/posts نور الهدى لتكنولوجيا المعلومات
Stored Procedure - in out parameters
 
04:57
Stored Procedure - in out parameters. Plus performing calculations in a called procedure and sending it back to caller procedure. DB2 UDB, Oracle, SQL Server, MySQL
Views: 3929 Professor Saad
StoredProcedure Select
 
02:36
stored procedure,ict 130,web dev't and internet technology,select statement
Views: 1641 Arnie Mateo
Crear stored procedure en Oracle
 
05:52
Este pequeño video trata de explicar brevemente como crear un procedimiento almacenado(stored procedure) en oracle .
Views: 14815 xola139
Insert into Table Select From Stored Procedure
 
04:58
Click here to Subscribe to IT PORT Channel : https://www.youtube.com/channel/UCMjmoppveJ3mwspLKXYbVlg Single Insert Statement to Insert data into a table from Stored Procedure
Views: 5982 IT Port
PL/SQL tutorial 41: How To Create PL/SQL Stored Procedure Without Parameters in Oracle Database
 
06:30
RebellionRider.com present you the PL/SQL Tutorial 41 on How To Create PL/SQL Stored Procedure Without Parameters in Oracle Database By Manish Sharma ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/create-procedure-1 Previous Tutorial ► PL/SQL Blocks: https://youtu.be/rbarR4_gaH8 ► Introduction To Stored Procedures: https://youtu.be/buaSuEMi4lw ------------------------------------------------------------------------- ►►►Let's Get Free Uber Cab◄◄◄ Use Referral Code UberRebellionRider and get $20 free for your first ride. ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/imthebhardwaj http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ http://rebellionrider.tumblr.com/ http://www.pinterest.com/rebellionrider/ ___Facebook Official Page___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check 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: 45810 Manish Sharma
PL/SQL: Stored Procedures Part-1
 
06:19
In this tutorial, you'll learn what are stored procedures 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: 17012 radhikaravikumar
Stored Procedure - Copy value from one table to another
 
02:28
Stored Procedure - Copy value from one table to another using program variables as temporary place holders. DB2 UDB, Oracle, SQL Server, MySQL
Views: 4136 Professor Saad
Calling a Stored Procedure from another Stored Procedure
 
11:55
Calling a Stored Procedure from another Stored Procedure - DB2 UDB, Oracle, SQL Server, MySQL
Views: 7546 Professor Saad
STORE PROCEDURE INSERT AND SELECT IN SQL SERVER
 
09:48
Simple Step How to Create Store Procedure in Sql Server
Views: 2718 Tech Sol
PL/SQL tutorial 73: Bulk Collect with SELECT-INTO statement in Oracle Database
 
07:26
RebellionRider.com presents a PL/SQL tutorial on how to use the BULK COLLECT clause with SELECT INTO statement in Oracle Database by Manish Sharma. In this tutorial, you will also learn how to overcome the overhead caused by context switch and improve the query performance. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/bulk-collect-2 Previous Tutorial ►Introduction to Bulk Collect: https://youtu.be/CrJSlf_m3yA ►PL/SQL Tutorial 51-Nested Table: https://youtu.be/EUYyiFCzU0I ►Collection Method Count:https://youtu.be/NNq80CcC5K8 ------------------------------------------------------------------------- ►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: 13595 Manish Sharma
DIFFERENT WAYS TO CALL / EXECUTE A PROCEDURE IN ORACLE PL/SQL? (Position, Named and Mixed Notations)
 
06:53
This video tutorial is a demonstration on different ways that a subroutine can be called / executed in Oracle PL/SQL. The video demonstrates the Position notation call, Named notation call and Mixed Notation call with proper examples.
Views: 4738 Kishan Mashru
Create Stored procedure in Oracle
 
08:51
Visit : http://informatica4dummys.blogspot.in/
Views: 43182 Srivatsan Ganesh
How to create Stored procedure select query
 
11:43
stored procedure (also termed proc, storp, sproc, StoPro, StoredProc, StoreProc, sp, or SP) is a subroutine available to applications that access a relational database management system (RDBMS). Such procedures are stored in the database data dictionary. Uses for stored procedures include data-validation (integrated into the database) or access-control mechanisms. Furthermore, stored procedures can consolidate and centralize logic that was originally implemented in applications. To save time and memory, extensive or complex processing that requires execution of several SQL statements can be saved into stored procedures, and all applications call the procedures. One can use nested stored procedures by executing one stored procedure from within another. Stored procedures may return result sets, i.e., the results of a SELECT statement. Such result sets can be processed using cursors, by other stored procedures, by associating a result-set locator, or by applications. Stored procedures may also contain declared variables for processing data and cursors that allow it to loop through multiple rows in a table. Stored-procedure flow-control statements typically include IF, WHILE, LOOP, REPEAT, and CASE statements, and more. Stored procedures can receive variables, return results or modify variables and return them, depending on how and where the variable is declared.
Views: 304 AIO Studio
One(insert,Update,Delete,Select) procedure at the same time
 
08:03
sql server 2008 R2 how to create a stored procedure to insert ,update,delete on specific table at the same time
Views: 7181 Ammar Rasras
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: 786392 kudvenkat
Cómo crear procedimientos almacenados en Oracle SQL Developer
 
10:15
A cada persona que ve este video y se suscribe al canal me ayuda a llegar los 1000 subs y no ser eliminado del Youtube Partner Program, de verdad estoy agradecido por el apoyo que me dan. Los procedimientos almacenados son subprogramas que se encargan de realizar tareas en mis tablas, estos quedan guardados como objetos en la BD y pueden ser modificados o eliminados. *****GRATIS****** Pueden descargar mis libros gratis sobre Oracle, android y más en mi página web: http://bit.ly/gratis_books **********Ko-Fi************* Si mi video te ayudó puedes invitarme a un café o suscribirte :) https://ko-fi.com/codingraph ***************************** ******Gracias por Suscribirse!****** Saludos a 🇮🇳🇺🇸🇧🇷🇨🇱🇨🇴🇪🇨🇵🇪 desde 🇨🇷 Gracias por apoyar este proyecto. Lista completa de video tutoriales: http://bit.ly/2DyOy75 Blog: http://codingraph.com/blog/ Facebook: https://www.facebook.com/Codingraph Perfil LinkedIn: https://goo.gl/pBx2o8 Instagram: http://instagram.com/codingraph Twitter: https://twitter.com/Codingraph -----------------------
Views: 6241 Codingraph
PL-SQL Procedure, How to Create Procedure, Calling Procedure in Oracle 11g Database
 
10:56
PL-SQL Procedure, How to Create Procedure, Calling Procedure in Oracle 11g Database PL-SQL tutorial for Beginners in Hindi and English
Oracle DB - Stored Procedure & Function
 
13:35
Oracle DB - Stored Procedure & Function Watch More Videos at: https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Parth Panjabi, Tutorials Point India Private Limited
Adv Java || JDBC Session - 90 || How to Create and execute Stored Procedure in Oracle
 
16:54
Course Content ======================= 1) JDBC In Simple Way 2) Storage Areas 3) JDBC 4) JDBC Architecture 5) JDBC API 6) Types of Drivers 7) Standard Steps For Developing JDBC Application 8) Select Operations And Non-Select Operations 9) Programs On Database Operations 10) Aggregate Functions 11) Real Time Coding Standards For JDBC Application 12) Working With MySQL Database 13) Life Cycle of SQL Query Execution 14) PreparedStatement (I) 15) SQL Injection Attack 16) Stored Procedures and CallableStatement 17) Cursors 18) Functions 19) Batch Updates 20) Handling Date Values For Database Operations 21) Working with Large Objects (BLOB and CLOB) 22) Connection Pooling 23) Properties 24) Transaction Management in JDBC ============================================= jdbc jdbc java tutorila jdbc java examples jdbc mysql examples Java Database Connectivity (JDBC) Adv Java JDBC Tutorial Java JDBC Tutorial jdbc tutorial for beginners JDBC Tutorial Introduction to JDBC Advanced Java Tutorial JDBC Tutorial in depth JAVA Database Tutorial JDBC with MySql Complete Course JDBC in Simple Way ============================== You an see more Java videos following link: Java tutorial by durga sir https://goo.gl/XWb4RL Java 9 by durga sir https://goo.gl/hXGyBW Java 1.8 Version New Features by Durga sir https://goo.gl/iHXXYU Adv Java JDBC Tutorial by Durga sir https://goo.gl/8q16Eo OCJA 1.8 Java SE 8 Programmer - I (1Z0 - 808 ) By Durga sir https://goo.gl/gC6R7f Core Java by NagoorBabu sir https://goo.gl/s6Nvj1 Advenced Java by Nagoorbabu sir https://goo.gl/ZZonzJ CoreJava by Ratan https://goo.gl/3VM19v Advanced Java jdbc by Ratan https://goo.gl/Rn2UXr Advjava tutorials - JSP by Ratan https://goo.gl/Z6ytxm Adv java servlets tutorial by ratan https://goo.gl/zTwi9y Servlet and JSP Tutorial by anji reddy https://goo.gl/jZMRUv Advanced Java Jdbc by Anjireddy https://goo.gl/16CGzX Hibernate byAnjireddy https://goo.gl/qQojvZ Struts by Anjireddy https://goo.gl/nE1Eof Spring by Mr.AnjiReddy https://goo.gl/NfN14R ADV JAVA by Naveen https://goo.gl/bhSsXF Spring by Mr.Naveen https://goo.gl/huVwFN Hibernate by Mr. Naveen https://goo.gl/TY3Wpd Struts by Mr.Naveen https://goo.gl/Vkmiw7
Calling a stored procedure with output parameters   Part 7
 
20:13
Text version of the video http://csharp-video-tutorials.blogspot.com/2012/10/calling-stored-procedure-with-output.html Slides http://csharp-video-tutorials.blogspot.com/2013/09/part-7-calling-stored-procedure-with.html All ADO .NET Text Articles http://csharp-video-tutorials.blogspot.com/p/free-adonet-video-tutorial.html All ADO .NET Slides http://csharp-video-tutorials.blogspot.com/p/adonet-slides.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 In this video, we will learn about calling a stored procedure with output parameters from an asp.net web application.
Views: 198059 kudvenkat
PLSQL Básico - Procedimientos (stored procedures)
 
14:04
Los procedimientos son almacenados en la base de datos con un nombre identificativo y puede tener o no parametros. Son de las estructuras más importantes junto con los paquetes y funciones. declaración básica: DECLARE PROCEDURE miprocedure_prc AS BEGIN ... END miprocedure_prc; hay 3 tipos de parametros, IN (entrada), OUT (salida), IN OUT (entrada/salida) Nota: El nombre de los parametros declarados en el procedimiento no necesariamente tiene que ser igual a los enviados al momento de ejecucion. Ejemplo: CREATE PROCEDURE procedure1_prc(p_1 number) .... al ser llamado puede ser: procedure1_prc(5); procedure1_prc(var_1); --- var_1 puede contener cualquier numero
Views: 30306 Daniel Nieto
Dynamic sql table name variable
 
11:59
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-table-name-variable.html Slides http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-table-name-variable_20.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 SQL Server Tutorial Videos https://www.youtube.com/playlist?list=PL08903FB7ACA1C2FB 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 In this video we will discuss how to pass table name dynamically for stored procedure in sql server. This is one of the sql questions that is very commonly asked. I have a web page with a textbox. When I enter a table name in the textbox and when I click "Load Data" button, we want to retrieve data from that respective table and display it on the page. Copy the SQL Script to create the tables from my blog using the link below http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-table-name-variable.html Create the following stored procedure. Notice we are passing table name as a parameter to the stored prcoedure. In the body of the stored procedure we are concatenating strings to build our dynamic sql statement. In our previous videos we discussed that this open doors for SQL injection. Create procedure spDynamicTableName @TableName nvarchar(100) As Begin Declare @sql nvarchar(max) Set @sql = 'Select * from ' + @TableName Execute sp_executesql @sql End So the obvious question that comes to our mind is, why are we not creating parameterised sql statement instead. The answers is we can't. SQL Server does not allow table names and column names to be passed as parameters. Notice in the example below, we are creating a parameterised query with @TabName as a parameter. When we execute the following code, the procedure gets created successfully. Create procedure spDynamicTableName1 @TableName nvarchar(100) As Begin Declare @sql nvarchar(max) Set @sql = 'Select * from @TabName' Execute sp_executesql @sql, N'@TabName nvarchar(100)', @TabName = @TableName End But when we try to execute it we get an error - Must declare the table variable "@TabName" Execute spDynamicTableName1 N'Countries' Add a Web Page to the project that we have been working with in our previous video. Name it "DynamicTableName.aspx". Copy and paste the HTML from my blog using the link below http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-table-name-variable.html Copy and paste the code from my blog in the code-behind page http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-table-name-variable.html At this point, run the application and type the following text in the "Table Name" textbox and click "Load Data" button. Notice "SalesDB" database is dropped. Our application is prone to SQL injection as we have implemented dynamic sql in our stored procedure by concatenating strings instead of using parameters. Employees; Drop database SalesDB One way to prevent SQL injection in this case is by using SQL Server built-in function - QUOTENAME(). We will discuss QUOTENAME() function in detail in our next video. For now understand that by default, this function wraps that string that is passed to it in a pair of brackets. SELECT QUOTENAME('Employees') returns [Employees] Modify the stored procedure to use QUOTENAME() function as shown below. Alter procedure spDynamicTableName @TableName nvarchar(100) As Begin Declare @sql nvarchar(max) Set @sql = 'Select * from ' + QUOTENAME(@TableName) Execute sp_executesql @sql End At this point, type the following text in the "Table Name" textbox and click "Load Data" button. Notice you will see a message - Invalid object name 'Employees; Drop database SalesDB'. Also "SalesDB" database is not dropped. Employees; Drop database SalesDB The entire text in "Table Name" textbox is wrapped in a pair of brackets by the QUOTENAME function and is treated as table name. Since we do have a table with the specified name, we get the error - Invalid object name.
Views: 29845 kudvenkat
Call Stored Procedure in ASP.NET MVC Controller
 
17:41
7 Steps Easy video Tutorial for call Stored Procedure in MVC Step: 1 Configure Application like Create Model & add Controller etc... Step: 2 Create Stored Procedure Step: 3 Syntax to call SQL Statement Step: 4 Loading data From Simple SQL Statement Step: 5 Loading data From Stored Procedure Step: 6 Pass Parameters to Stored Procedure Step: 7 Select Particular Field data For more details watch this tutorial Hope this video tutorial make sense regarding call Stored Procedure in ASP.NET MVC Controller. Thanks! Learn Everyday!! DIPAK TALAVIYA
Views: 10178 Dipak Talaviya
Aula 05 - Oracle Procedure PL/SQL
 
06:28
Chegamos a nossa quinta aula do curso de Oracle onde você vai aprender o básico que todo profissional que manipula um banco de dados deve aprender. Para assistir a todas as aulas do curso acesse a nossa playlist https://www.youtube.com/playlist?list=PLMaqczuL07LlmZva7iRS8DjyMYg2tptIk Nesta aula você vai aprender como criar a sua primeira procedure baseado no código do Bloco anônimo que foi criado na nossa 04 aula. https://www.youtube.com/watch?v=jZ19rKuRsSk Após esta aula você estará preparado para assistir a última aula onde eu mostro para você o que um profissional de Banco de Dados completo e todos os fundamentos que você precisa. http://formacaodbaoracle.aprendaplsql.com/
Views: 10798 Aprenda PL/SQL
Call stored procedure which returns ref cursor from C#
 
01:49
Bu dersimizde C# ile plsql terefde yazilmis procedur ve ya funkyalari nece cagirirq onu goreceyik ...
Views: 2811 Horumcek Toru
PL/SQL tutorial 42: How To Create PL/SQL Stored Procedure With Parameters In Oracle Database
 
04:17
Manish from RebellionRider.com presents PL/SQL Tutorial 42 on How To Create PL/SQL Stored Procedure With Parameters In Oracle Database ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog : http://bit.ly/create-procedure-2 Previous Tutorial ► PL/SQL Tutorial 40: https://youtu.be/buaSuEMi4lw ► PL/SQL Tutorial 41: https://youtu.be/Uld8eE016Kg ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ------------------------------------------------------------------------- ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ ___Facebook Official Page___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check the About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 33559 Manish Sharma
MySQL Stored Procedures and Functions (Topic #5: MySQL course from JPassion.com)
 
20:02
This is a partial presentation. For complete presentation, hands-on lab document, and sample apps, please go to http://jpassion.com and acquire full subscription.
Views: 76965 Sang Shin
Oracle developer g11- 28- Creating Stored procedures and functions
 
10:06
============ رابط دورة C#: http://goo.gl/SFrRC8 رابط دورة aps.net: http://goo.gl/NtH3q5 رابط دورة Wordpress: http://goo.gl/6hYT0q رابط دورة artisteer: http://goo.gl/Lnax8k رابط دورة Visual basic 2012: http://goo.gl/fXYjcT رابط دورة MCITP: http://goo.gl/4vcmgM رابط دورة Autoplay media studio8: http://goo.gl/hFbdil رابط دورة dreamweaver cs5: http://goo.gl/p8EIle رابط دورة Oracle developer g11: http://goo.gl/NY2a64 رابط دورة Access 2007: http://goo.gl/gtQdr1 رابط دورة sql 2008: http://goo.gl/hjdXM0 رابط دورة primavira: http://goo.gl/Abq8eA رابط دزورة Linux: http://goo.gl/uJqkH2 رابط دورة Photoshop cs6: http://goo.gl/2UAb7P رابط دورة التسويق الشبكي: http://goo.gl/9F9PA2 رابط دورة التنمية الإدارية: http://goo.gl/6bJnHW ------------ لمتابعة باقي دورات موقعنا يمكنك زيارتنا على موقع وصفحة وقف أون لاين http://www.waqfonline.com http://www.facebook.com/Waqfonline
Oracle || PL/SQL Stored  Procedures || Conditional Statements Part - 2  by dinesh
 
23:30
DURGASOFT is INDIA's No.1 Software Training Center offers online training on various technologies like JAVA, .NET , ANDROID,HADOOP,TESTING TOOLS ,ADF,INFORMATICA,TABLEAU,IPHONE,OBIEE,ANJULAR JS, SAP... courses from Hyderabad & Bangalore -India with Real Time Experts. Mail us your requirements to [email protected] so that our Supporting Team will arrange Demo Sessions. Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696. http://durgasoft.com http://durgasoftonlinetraining.com https://www.facebook.com/durgasoftware http://durgajobs.com https://www.facebook.com/durgajobsinfo......
Oracle Part 15 Stored Proc Conditions and Calls
 
26:13
If conditions, insert statement in SP, call another SP
Views: 4780 Free OpenMentor
Temp tables in dynamic sql
 
04:36
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/05/temp-tables-in-dynamic-sql.html Slides http://csharp-video-tutorials.blogspot.com/2017/05/temp-tables-in-dynamic-sql_9.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 SQL Server Tutorial Videos https://www.youtube.com/playlist?list=PL08903FB7ACA1C2FB 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 In this video we will discuss the implications of creating temp tables in dynamic sql Temp tables created by dynamic SQL are not accessible from the calling procedure. They are dropped when the dynamic SQL block in the stored procedure completes execution. Let us understand this with an example. Notice in the example below, all the following 3 operations are in the block of dynamic sql code. 1. Creating the Temp Table 2. Populating the Temp Table 3. Select query on the Temp Table Create procedure spTempTableInDynamicSQL as Begin Declare @sql nvarchar(max) Set @sql = 'Create Table #Test(Id int) insert into #Test values (101) Select * from #Test' Execute sp_executesql @sql End So when we execute the above procedure we are able to access data from the Temp Table. Execute spTempTableInDynamicSQL Now, let's move the SELECT statement outside of the dynamic sql code block as shown below and ALTER the stored procedure. Alter procedure spTempTableInDynamicSQL as Begin Declare @sql nvarchar(max) Set @sql = 'Create Table #Test(Id int) insert into #Test values (101)' Execute sp_executesql @sql Select * from #Test End At this point, execute the stored procedure. Notice, we get the error - Invalid object name '#Test'. This is because temp tables created by dynamic SQL are not accessible from the calling procedure. They are dropped when the dynamic SQL block in the stored procedure completes execution. Execute spTempTableInDynamicSQL On the other hand, dynamic SQL block can access temp tables created by the calling stored procedure. Let's prove this by modifying the stored procedure as shown below. Alter procedure spTempTableInDynamicSQL as Begin Create Table #Test(Id int) insert into #Test values (101) Declare @sql nvarchar(max) Set @sql = 'Select * from #Test' Execute sp_executesql @sql End At this point, execute the stored procedure. Notice that we are able to access the temp table, which proves that dynamic SQL block can access temp tables created by the calling stored procedure. Execute spTempTableInDynamicSQL Summary 1. Temp tables created by dynamic SQL are not accessible from the calling procedure. 2. They are dropped when the dynamic SQL block in the stored procedure completes execution. 3. On the other hand, dynamic SQL block can access temp tables created by the calling stored procedure
Views: 28191 kudvenkat
Learn sql server 2012 r2 in Tamil Part - 31 Stored Procedure select
 
05:22
Learn microsoft sql server management studio 2012 r2 in Tamil Part - 31 Stored Procedure select by Anto sujesh for more videos http://theadal.com Contact : 9884523493,9962728827 tamil tutorial management studio
Views: 4030 Theadal
Oracle dynamic sql select while opening ref cursor sys ref cursor Part 8
 
07:57
Oracle SQL PLSQL and Unix Shell Scripting
Views: 1692 Sridhar Raghavan
Simple Recursion in SQL
 
15:15
A simple example of recursion using SQL Server and Common Table Expressions (CTEs). Thanks to +Nikola Gujanicic for the request.
Views: 27030 Database by Doug
Introduction to creating Basic stored procedures in SQL Server 2008
 
05:55
Get your first month for just $1 with code YOUTUBE1. Visit www.joes2pros.com Must redeem by July 1, 2015. This is a great way for taking basic query knowledge and learning how to create stored procedures.
Views: 241939 Joes2Pros SQL Trainings
Oracle execute immediate dynamic sql procedure in parameter Part 6
 
06:40
Oracle SQL PLSQL and Unix Shell Scripting
Views: 922 Sridhar Raghavan
NULL Value in Oracle Database | Oracle Tutorials for Beginners
 
03:18
NULL Value in Oracle Database | Oracle Tutorials for Beginners NULL Value in Oracle Database NULL Value in Oracle SQL NULL Value in SQL NULL Value in Oracle Database Oracle Tutorials for Beginners Oracle Tutorials for Beginners Oracle PL/SQL Tutorials for Beginners Oracle PL/SQL Tutorials for Beginners Oracle PL/SQL Tutorials for Beginners how to select null values in oracle oracle compare null values in where clause null=null in oracle how to handle null in case statement in oracle how to check null value in oracle stored procedure oracle nvl null value in oracle query how to check empty column value in oracle how to select null values in oracle oracle is null vs = null oracle nvl oracle is not null oracle decode oracle isnull oracle case when null select null from table in oracle oracle compare null values in where clause oracle select null how to check empty column value in oracle oracle sql not null or empty oracle is not null how to handle null in case statement in oracle oracle isnull oracle nvl
Views: 864 Oracle PL/SQL World