I want to use a variable value in exec where i don't need to create the query itself. I will have a query stored in a field in my database and i just want to execute that using the parameters in that stored procedure. For Example below i declared two variables @ValueVariable is the parameter of stored procedure and what i declared @QueryString is the one i will read from data base and i want to execute that using the value of @ValueVariable.I want to use a variable value in exec where i