[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 MoreSQL SERVER – Looking Inside SQL Complete – Advantages of Intellisense Features
Recently SQL Complete add-in was updated, which I use when writing SQL queries in SSMS. In the product history I saw that a several features were added, such as code refactoring or automatic semicolon insertion. However, in this post I do not want to talk about them. I have noticed a new logic for metadata queries, which significantly accelerated my work with database objects. So I decided to look inside SQL Complete… to understand how it works and what changed…. Let us learn about Advantages of Intellisense Features.
MySQL – 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 MoreInterview Question of the Week #045 – How to Do Case Sensitive Search?
One of my popular questions which helps me to understand lots of understanding of SQL by SQL developer. Question: How doing a case sensitive search in SQL Server? Answer: If Column1 of Table1 has following values ‘CaseSearch, casesearch, CASESEARCH, CaSeSeArCh’, following statement will return you all the four records. SELECT…
Read MoreSQL SERVER – What is T-SQL Window Function Framing? – Notes from the Field #102
[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 – What is SQL Server Operating System?
Sometimes the strangest of questions come from unusual places. This blogging journey is all about revisiting the basics. I have always felt getting some of these basic questions can make us learn even more and look into the internals of how products work. In my recent visit to SQLPass and…
Read MoreSQL SERVER – Understanding SQL Server Setup Support Rules for Cluster Nodes
SQL Server clustering is one of the oldest and most used techniques when it comes to developing a highly available configuration. Though this has been used by many for years, there are nuances that comes up once in a while if you are a junior DBA that you would like…
Read More