A new home for the SQL Server engineering team to communicate important information about SQL Server with the community. We have migrated several SQL Server related blogs to this new home in the SQL Server TechCommunity. Click here for the new SQL Server Engineering Team blog. There’s also a list of links to some of their […]
You are browsing archives for
Tag: MSSQL Performance
Get free technical eBooks on SQL Server 2017 from Microsoft
Build your Microsoft SQL Server expertise with technical deep dives for your database journey. Free PDF eBooks from Microsoft SQL Server eBook series Get the technical resources and documentation you need to explore SQL Server 2017 – a comprehensive, mission-critical database for demanding workloads. With this series of technical eBooks on SQL Server, you’ll learn […]
Tonight: SQL Server User Group Sydney – The Roadmap for SQL Server
Sydney SQL Server User Group meets tonight from 5:30pm at Microsoft Reactor. Tonight’s Speaker: Victor Isakov (MCA, MCM, MCT, MVP) More details here. Tonight will cover: With support for Linux and Containers SQL Server 2017 opened up a new world of possibilities for Microsoft. SQL Server 2019 will bring to market a new modern data […]
SQL Server Table Function Performance
Rob Farley has a great post on when is a SQL function not a function? Read the two below functions – they return the same thing, but one is more effecient than the other. If you can’t see why, head over to Rob’s post that shows the execution plans for a great explaination. CREATE FUNCTION dbo.FetchSales_inline(@salespersonid […]
Capturing STDERR output from SQLCMD.exe
Today while working with a .bat file full of SQLCMDs with really verbose output, I wanted just to capture error messages that were being sent to STDERR without changing the .sql files. I know how to capture/redirect handles in a variety of programming languages, but I haven’t tried to do this in a windows command […]
Optimising SQL Server 2005 TempDB
Microsoft’s whitepaper on Optimising TempDB in SQL Server 2005 contains a lot of useful information for anyone trying to push the performance of SQL Server 2005. Along with the internal improvements to tempdb, there are a number of things a database administrator should do as part of any installation: Increase the number of data files […]