SQL Server

Limiting permissions with “Execute as” when using dynamic SQL

When using dynamic SQL there is always the possibility that someone will inject SQL that does harm. They can put queries that can drop objects or can create sysadmin logins. Running the scripts as low permission users can reduce the potential harm. But that takes time to research and is easy to cut. You can

Limiting permissions with “Execute as” when using dynamic SQL Read More »

SSIS Template, changing GUIDs

There has been a basic method from SSIS 2005 for creating an SSIS package template.  You create package, then put that package into a magical folder (under the Common7 folder of the appropriate version of Visual Studio), and voila you have a package template (see http://www.mssqltips.com/sqlservertip/2841/creating-ssis-package-templates-for-reusability  for the full process).  A major problem with this process has been

SSIS Template, changing GUIDs Read More »