SQL

Generate Random Number Between the Two Numbers Entered in SQL Stored Procedure

In this article we’ll learn the procedure that selects random number between the two numbers entered as parameters.


After getting succesful message we can run the below code to get random values. You can enter deferent values.

Each time you run the code, you will receive different values between 20 and 30.
I got the result : 23

Result : 20

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.