Just a day ago, while working with some inventory related projects, I faced one interesting situation. I had to find TOP 1 and BOTTOM 1 record together. I right away that I should just do UNION but then I realize that UNION will not work as it will only accept one ORDER BY clause. If you specify more than one ORDER BY clause. It will give an error. Let us see how we can retrieve top and bottom rows together.
SQL SERVER – Transfer The Logins and The Passwords Between Instances of SQL Server 2005
SQL SERVER – Introduction to SQL Server Encryption and Symmetric Key Encryption Tutorial
SQLAuthority News – SQL Server 2008 R2 Support Ends on July 9, 2019
It is indeed true Microsoft will official support ends of the product on July 9, 2019. Comprehensive Database Performance Health Check.Â
SQL SERVER – SELECT 1 vs SELECT * – An Interesting Observation
Many times I have seen issue of SELECT 1 vs SELECT * discussed in terms of performance or readability while checking for existence of rows in table. I ran quick 4 tests about this observed that I am getting same result when used SELECT 1 and SELECT *. I think smart readers of this blog will come up the situation when SELECT 1 and SELECT * have different execution plan when used to find existence of rows.
SQLAuthority News – Latest SQL Server Management Studio Blogs
SQL Server Management Studio is an amazing product and I am personally a big fan of the same. Here are the few latest blog written on the same subject.
SQL SERVER – 2005 – Licensing Model Compared to Other Database Products
SQL SERVER – Understanding Licensing Models
The licensing structure has evolved to reflect advances in technology and diverse use cases. Below are the primary licensing models available: