Some days ago, I received a tedious error while executing a pipeline of nested stored procedures, which contains INSERT-EXEC statements. The issue is based on a SQL Server limitation, by design since SQL Server 2005. Actually, the INSERT-EXEC was supported in SQL Server 2000, but I’ve never tried that behavior on the older version. Let’s see the behavior. Continue reading “Avoid nested INSERT EXEC (where possible)”
Tag: SQL
SQL Server latest Cumulative updates (sep. 2013)
Directly from the Microsoft Release Service blog, here is the list of latest updates for SQL Server 2008 SP3 and 2012 SP1:
SQL Server 2008 SP3
Cumulative Update #13 for SQL Server 2008 SP3
SQL Server 2012 SP1
Cumulative Update #6 for SQL Server 2012 SP1
Stay Tuned! 🙂
SQL Server latest Cumulative updates (ago. 2013)
Directly from the Microsoft Release Service blog, here is the list of latest updates for SQL Server 2008 R2 and 2012 RTM:
SQL Server 2008 R2
Cumulative Update #8 for SQL Server 2008 R2 SP2
SQL Server 2012 RTM
Cumulative Update #9 for SQL Server 2012 RTM
Stay Tuned! 🙂
How to mark SQL Server objects as deprecated with extended properties
I want to share a “trick” on how to mark SQL Server user objects as deprecated. But first, why we need to mark an object as deprecated?
- code refactors
- object schema refactors
- mandatory backward compatibility in a multi customer scenario
- sp_addextendedproperty – adds an extended property
- sp_dropextendedproperty – deletes an extended property
- sp_updateextendedproperty – updates an extended property
Continue reading “How to mark SQL Server objects as deprecated with extended properties”
SQL Server latest Cumulative updates (jul. 2013)
Directly from the Microsoft Release Service blog, here is the list of latest updates for SQL Server 2008 and 2012:
SQL Server 2008
Cumulative Update #12 for SQL Server 2008 SP3
SQL Server 2012
Cumulative Update #5 for SQL Server 2012 SP1
Stay Tuned! 🙂
SSMS Boost another cool addin for SQL Server Management Studio
During my SQL Devlife I tried lots of SQL Server management studio add-ins. Some days ago I tried SSMSBoost. Since I’ve already spoken about SSMSToolsPack and SQLPrompt, I’d like to focus this post on the capabilities that SSMSBoost adds to Sql Server Management Studio. I’ll speak about some of the available features, in the following order:
- UI/User experience capabilities
- Connections management
- Searches
- Extended menu options
- Grid commands
Continue reading “SSMS Boost another cool addin for SQL Server Management Studio”
Repeating rows based on a value in a different column
I’ve just replied to a question in dotnethell italian forum about the topic in the title. Actually it’s not the first time I got this kind of question:
“How can I repeat a row using a value that is stored in another column of the same table?”
SQL Server latest Cumulative updates (jun. 2013)
Directly from the Microsoft Release Service blog, here is the list of latest updates for SQL Server 2008 R2 and 2012:
Share t-sql snippets to the team with SQL Prompt
Red-Gate SQL Prompt is a plugin for SQL Server Management Studio that makes the developers life easier when writing t-sql. It provides improved intellisense, indent and coding styles, and also a snippet manager feature that allows the developer to create a set of useful shortcuts. Those autocomplete items can be really useful for a team, let’s see how we can share them in a team.
Continue reading “Share t-sql snippets to the team with SQL Prompt”
SQL Server latest Cumulative Updates (may 2013)
Directly from SQL release service blog, here is the list of latest updates for SQL Server 2008 SP3 and 2012 SP1
