(Pinal Dave) With every release of SQL Server, Microsoft has been adding enhancements to the product. Earlier I have written below blogs talking about new features/enhancements.
Tag: sql server
Troubleshoot SQL Server Function Performance with the sys.dm_exec_function_stats DMV
(Daniel Farina) You need to collect execution statistics for a function. In previous versions of SQL Server the only way to obtain these statistics was by looking at individual statements within the function. In this tip I will introduce a new system view that will give us the execution statistics o
Tabular Models, Multiple Data Sources and Unknown Members
(Paul Turley) Self-service data modeling tools like Power BI Desktop, Power Pivot and SSAS Tabular promote the advantage of using data from multiple data sources. I’m including SSAS Tabular on the “self-service” list because it is derived from Power Pivot and often used for “quicker” IT-managed BI
#0367 – SQL Server – Fetching connection session options using SESSIONPROPERTY
(Nakul Vachhrajani) A couple of years ago, I wrote an article which demonstrated that the SET options defined for a connection influence query execution and query results. One of the questions that came up in the research was how to determine which SET options are being used for a given session.
Learn How to Insert Data From Stored Procedure Into Table?
(jacksonandrew771) Stored Procedures are considered most efficient way for calling and retrieving data and hence users always look forward to encapsulate logic in it so that it can be called when needed.
SQL SERVER – Recompiling InMemory OLTP with SQL Server 2016
(Pinal Dave) I wrote an intetresting trivia about InMemory OLTP code previously, SQL SERVER – How to take InMemory – OLTP FileGroup Offline?. Post this one of the reader was curious enough to ask me a counter question.
Incrementing SQL Sequences
(Mark Broadbent) Sequences were first introduced in SQL Server 2012 and are a way to improve performance in situations that would have traditionally been implemented using the column based identity property.
What is the current database context?
(Kenneth Fisher) Every now and again it can be very helpful to know what the current database context is when you are writing T-SQL code. It’s actually pretty simple. Use DB_Name() and/or DB_ID().
Programmatically changing SQL Server linked tables in Microsoft Access
(Tim Wiseman) I created an Microsoft Access front end that points to SQL Server using linked tables, but now I need to change which database the data is being pulled from. I may need to do this many times as I move from development to test to production. What is the best way to do this?
Use Compression to Combine Data Quality and Performance
(Steve Hood) We’ve been using the wrong data types for all the wrong reasons. DBAs, developers, data architects, etc. have all been told to keep data as narrow as possible, using the smallest data type to get the job done.
