Skip to content

skyblasy/SQL-stored-procedure-with-ranged-input-values

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Stored Procedure With Two Inputs for a Range of Outputs.

Schuyler Blasy

A simple example of creating a stored procedure that allows for two input values and returns a query result with a range between those two values. This example is using MySQL and the Northwinds Database as a practice, but has practical applications for a wide range of data sets when a range of data is desired.

This particular example is using OrderID as the input fields, but is also querying ProductID, UnitPrice, and Quantity when the OrderID range is specified.

Stored procedure to create a range of output

About

An example of creating a stored procedure that takes two input values and returns a range between those values.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published