p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

sql_server thread: Local variables for objects


Message #1 by "Paul Porter" <PPorter@G...> on Wed, 31 Jan 2001 14:10:18 -0600
In a stored procedures, is it possible to use a local variable to stand for
an object such as a field or table?  If not, is their any other way to pass
a field into a stored procedure or view as a parameter?  I have a certain
set of complex calculations that I wish to perform on multiple fields
without having to repeatedly type and edit the criteria in multiple columns
in a view.


  Return to Index