Skip to content

Instantly share code, notes, and snippets.

@ThatRendle
Created April 22, 2013 12:17
Show Gist options
  • Save ThatRendle/5434502 to your computer and use it in GitHub Desktop.
Save ThatRendle/5434502 to your computer and use it in GitHub Desktop.
CREATE PROCEDURE [dbo].[FindAllUsers]
-- Add the parameters for the stored procedure here
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
-- Insert statements for procedure here
SELECT * FROM tblUsers ORDER BY [name]
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment