Building Smarter Scripts for SQL Server Data Updates