Last active
August 25, 2017 21:32
-
-
Save bertwagner/193c8dec526c9da468d6a0cde31a6848 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE PROCEDURE dbo.sp_GetFullName | |
@ParmUserName varchar(100) | |
AS | |
BEGIN | |
DECLARE @FullQuery varchar(1000) | |
SET @FullQuery = 'SELECT FullName FROM dbo.RegisteredUser WHERE UserName = ''' + @ParmUserName + '''' | |
EXEC(@FullQuery); | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment