gurbanov.1984 (6/18/2014)
thanks for your precious time
but why us # RG_SalesOut_Report (test pattern) that it give us?
baseline data about 12 million lines and how you want to write such a request with a list of data, the database is increased 1.5 million / month.?
if you are not understood correctly verify pls
Please post readily consumable sample data. If you're not sure how to do this, please read this article: http://qa.sqlservercentral.com/articles/Best+Practices/61537/[/url]