Data security guidance must be the first step to analysing whether a company has taken the necessary steps in making there are no security breaches. If companies has failed...
You can always create a function that returns a table to mimic the view functionality but with parameters. Then you go into the arena of # temp tables vs...
I second Gails comment... and just to add, part of writing SPs is determining the expected limits of variables and using the most suitable data type. By determining the suitable...