Here is my code:
ALTER PROC dbo.proceduresp AS BEGIN DECLARE @Tablestatus VARCHAR(MAX)=N\'select tablestatus from dbo.configuration\' EXEC