This stored procedure returns the UserID, Name and Email for all registered users.
Definition:
CREATE PROCEDURE GetUsers
AS
SELECT
UserID,
Name,
Email
FROM
Users
ORDER BY
Email, Name
Database Tables Used:
Users: Each record in the Users table is a unique user identity. The primary key in this table is the UserID identity field.