3
As I can make better use of the @sqlstatement variable in SQL Server, I couldn’t understand what its real function is.
Please explain to me and leave some examples?
I ask that if possible do not use image because I am visually impaired and readers can not read prints.
I didn’t get it right. As far as I know, this is a variable name like any other. But by name, I suppose it contains an SQL statement. Is that it? In that case, you can use
sp_executesql
to execute the instruction contained in the variable.– bfavaretto
I also don’t understand the question, this is not a reserved word and it seems that you are having trouble understanding a specific example of code. Please rephrase the question and post the code you’re not understanding
– jean