thenaturalselector
Technical User
Hey All,
So i am writing a procedure and many of the tables i need to reference end with a date or interger, for example:
dbo.activity_equation_201106
I am wondering if there is a way to replace the '201106' on the end of the table name with a variable so that i can easily change all tables being referenced by just changing the variable value.
Any thoughts??
So i am writing a procedure and many of the tables i need to reference end with a date or interger, for example:
dbo.activity_equation_201106
I am wondering if there is a way to replace the '201106' on the end of the table name with a variable so that i can easily change all tables being referenced by just changing the variable value.
Any thoughts??