Development

Limitation of In-Memory OLTP in SQL Server 2016 – Sp_rename not allowed

Hi friends, one more limitation of In-Memory OLTP is SQL Server 2016 is that sp_rename is not allowed to change the name of in-memory OLTP objects. Sp_rename is a system stored procedure which allows to change the name of the user-defined objects like table name, column name, datatype of a column etc. in the current… Continue reading Limitation of In-Memory OLTP in SQL Server 2016 – Sp_rename not allowed

Development

Getting started with In Memory OLTP in SQL Server 2016 – Part 1

In Memory OLTP (Hekaton) introduced in SQL Server 2014 is a new database engine component which is optimized for OLTP workloads to achieve the performance by storing data in memory and accessing data from memory. Memory optimized tables can be accessed using Transact –SQL. When memory optimized tables are accessed all data is stored into… Continue reading Getting started with In Memory OLTP in SQL Server 2016 – Part 1

Development

Limitation of In-Memory OLTP in SQL 2016 – Create Index is not supported

Hi friends, in this blog I will discuss another limitation of In Memory OLTP in SQL Server 2016. Once you create a table you cannot create any index created on memory optimized table using CREATE INDEX statement. So to create indexes you need to create them with column definition of memory optimized table. Let’s create… Continue reading Limitation of In-Memory OLTP in SQL 2016 – Create Index is not supported

Development

SQL Server – How to retrieve SQL plans from Cache

Hi friends, in this blog post I will tell you how we can retrieve the SQL plan from the cache. In SQL Server there are multiple DMV (Dynamic Management Views) and DMO (Dynamic Management Objects) which can be used to retrieve the information about execution plan. Sys.dm_exec_query_plan is most commonly used DMO which is used… Continue reading SQL Server – How to retrieve SQL plans from Cache

Development

SQL Server – String_Escape function in SQL Server 2016

Hi friends, in SQL server 2016 another string function that introduced is String_Escape. This function can escape special characters within texts and will return text with escaped characters. Syntax STRING_ESCAPE (expression, type) Currently only the value that is supported for type argument is ‘json’ only. If you try to specify another type it will result… Continue reading SQL Server – String_Escape function in SQL Server 2016

Certification

Microsoft SQL Server 2016 Certifications Announced

Hi friends, Microsoft has announced the release of three new SQL 2016 certifications, based on the different working database professional’s roles. MCSA: SQL 2016 Database Development can be achieved by passing the following two exams: 70-761 – Querying Data with Transact-SQL 70-762 – Developing SQL Databases MCSA: SQL 2016 Database Administration can be achieved by passing the… Continue reading Microsoft SQL Server 2016 Certifications Announced

Development

SQL Server – STRING_SPLIT function in SQL Server 2016

Hi friends, in SQL server 2016 another new function STRING_SPLIT gets introduced which helps in splitting the character expression using separator. Previously, to do this type of work we need to write some code or function to split the character expression but in SQL 2016 function STRING_SPLIT reduce that work to write multiple lines of… Continue reading SQL Server – STRING_SPLIT function in SQL Server 2016