SQL SERVER 2010
Function to Sort and copy bottom Row and paste it to the top row
In the table with large dataset
1. Sort by TRUSTID, [DATE]
2. Loop through the STATUS column, Whenever the code sees Origin, the code should copy the next bottom row from column E to I and paste it to the adjacent column on the right
3. Subtract column E from Column J (J-E) and write the answer in the Diff column O
Write it to a table called Time_Analysis_tbl
I will be running millions of records and the code should be properly index and quick.
I also want a replica code in VBA Access so that I can run it within access and SQL SEVER environment
Greetings! This is Amine and I work as a IT consultant for several key accounts in my country (Morocco). Also, I am a Microsoft Certified Professional in Implementing a Data Warehouse with SQL Server 2012. I have experience in both application development and Business Intelligence projects. I will be pleased to work with you on this project. Please feel free to check my Linkedin profil ([login to view URL]) or to start a discussion to talk about details. Thank you!
I have developed number of web application and will do this job correctly as well. I have a six years of development and designing experience. I just need to discuss some more thing with to do it correctly on one go.