yah, i agree with you george, it would make my life easier. i cant change the way these tables are created but i do have the ability to create new tables within a different database. perhaps i should just create a table that aggregates these monthly tables and use that in my procedure?
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.