In this world of change, the SQL Server product is also changing. One thing which is very clear is that Microsoft is listening to feedbacks from customers and enhancing the setup experience also. Some of the classic feedback implementation can be seen in the setup of the next version of SQL Server 2016. In this blog post, I will try to bring out some of the enhancements that are being incorporated in the Setup UI. Some are critical and worth making a note. Let us learn about SQL Server 2016 Setup Wizard.
Interview Question of the Week #046 – How @@DATEFIRST and SET DATEFIRST Are Related?
Question: How @@DATEFIRST and SET DATEFIRST are related? Answer: The master database’s syslanguages table has a DateFirst column that defines the first day of the week for a particular language. SQL Server with US English as default language, SQL Server sets DATEFIRST to 7 (Sunday) by default. We can reset any day…
Read MoreSQL SERVER – Inserting into ColumnSet with SPARSE Columns
There are a number of blogs around using SPARSE columns here. Here are few of them for reference and can be used as a great learning experience. SQL SERVER – 2008 – Introduction to SPARSE Columns SQL SERVER – 2008 – Introduction to SPARSE Columns – Part 2 SQL SERVER…
Read MoreSQL SERVER – T-SQL Window Function Framing and Performance – Notes from the Field #103
[Note from Pinal]: In this episode of the Notes from the Field series database expert Kathi Kellenberger explains about T-SQL Over clause. Kathi is an amazing instructor, she was the SQL author I have read in my early career. The reason, I love SQL Server because her writing has instigated love for this…
Read MoreSQL SERVER – Puzzle with Miliseconds – Win USD 50 Amazon Gift Card
Last contest, which we had ran was in May and it had received amazing responses. I once again reached out to kind team of Embarcadero and they agreed to support the next contest. The contest has two steps and they are very simple. It took me a while to build…
Read MoreMySQL – Get Latest Identity Value by Inserts
In SQL Server, whenever you add data to a table that has an identity column, you can get the lastly generated identity value using @@identity or scope_identity(). Similarly, in MySQL you can make use of LAST_INSERT_ID () function Let us create the following dataset Create table test(id int AUTO_INCREMENT NOT…
Read More
