sqlsunday.com

T-SQL programming, useful tips and tutorials for the MS SQL Server developer.

Skip to content
  • Newsletter
  • About sqlsunday.com
  • Structured Concepts
    • Master data tool
    • File parser API
  • Slack app
  • Presentations
  • Downloads
  • Checklists
    • Installing SQL Server 2014
    • Installing SQL Server 2016
    • Installing SQL Server 2017
    • Installing SQL Server 2019
    • Links and utilities
Search

computed column

Computed columns with scalar functions

2018-01-262018-01-30 / Daniel Hutmacher / 9 Comments

Scalar functions can be a real headache when you’re performance tuning. For one, they don’t parallelize. In fact, if you use a scalar function in a computed column, it will prevent any query that uses that table from going parallel – even if you don’t reference that column at all!

Continue reading →

Categories

  • By difficulty (175)
    • Advanced (38)
    • Basics (50)
    • Intermediate (89)
  • CLR (1)
  • Off-topic (13)
  • Rant (5)
  • Scripts (19)
  • Series (29)
    • Efficient data (8)
    • Introduction to T-SQL (1)
    • Slowly changing dimensions (5)
    • SQL Server security (15)
  • SQL Server concepts (74)
  • T-SQL (126)
  • Tips (50)
  • Uncategorized (1)
  • Videos (2)

Search for articles

Create a website or blog at WordPress.com