• I just do a simple call to a stored procedure with 3 input parameters in ssms,

    no output value.

    for example I just want to execute sp_WhoIsActive with some input parameters in SSMS,

    and it returns the result at the grid. I guess it is not requried to declare parameters data type, unless it will reused after execute statement, is that correct?

    In SSMS, when generating script, it always declare the datatype of parameters, so wondered if it is required.

    Thanks