This procedure gets a tablename, column and an integer number N as parameters
and finds the Nth maximum value of the column's value in a table
for example : running it with 'products', 'UnitPrice' , 13 , @res
will get the 13TH largest value of unitprice from products
is no such N exist an error message is printed.
SP that shows information from a given database
It is used to show information from a database. It shows the creation date, it calculates the time in days, months and hours since its creation and it shows all the users with rights in that database.
2002-01-27
2,169 reads