SQL Server 2014 New Features: Cardinality Estimation in the Query Optimizer

Is it Better or Worse? What is Cardinality Estimation A fancy-sounding phrase, “cardinality estimation” basically means “guessing how many”. The ability of the query optimizer to select a superior query plan from among many possibilities requires the estimation of how many rows will be extracted from the participating tables and how these rows will be […]
Read More ›

SQL Server 2014 New Features: Fundamentals of Clustered Columnstore Indexes

SQL Server Columnstore Indexes Columnstore indexes were introduced into SQL Server in 2012, but in a sense the columnstore index is older than that, since the fundamental structure was first used for the tabular storage model of Power Pivot (and then used in the Analysis Services tabular model). In SQL Server 2012, however, columnstore indexes were […]
Read More ›

SQL Server 2014 New Features: Encrypted Backup

James X. from Learning Tree’s Course 535 Developing High Performance SQL Server Databases asked a question (during coffee break) that wasn’t related to performance, but was important nonetheless. “Is it true that someone can circumvent a lot of SQL Server’s security by simply restoring a database backup to a different machine where he or she […]
Read More ›

Are Cursors in SQL Server Evil? Part Two: How to Use Cursors in Transact-SQL

In the previous installment, we looked at the numerous options for declaring a cursor. All that remains is the easy part: fetching data from a cursor. To do this, we shall have to declare variables for each of the columns of the cursor. For purposes of clarity and ease of understanding, I see no reason […]
Read More ›

Are Cursors in SQL Server Evil? Part One: How to Declare Cursors in Transact-SQL

Henry K., from Learning Tree’s class Developing High Performance SQL Server Databases, writes “My sysadmin said that cursors are evil, and I should never use them in my stored procedures. Is this true?” Henry: Cursors are just another tool in the T-SQL toolbox, and like any tool they can be used properly or used poorly. […]
Read More ›

Type to search blog.learningtree.com

Do you mean "" ?

Sorry, no results were found for your query.

Please check your spelling and try your search again.