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, NameDatabase 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.