This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Over and partion by query results.

SQL SERVER – Adding Values WITH OVER and PARTITION BY

June 16, 2018
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Order By, SQL Scripts, SQL Server

How do you sum values for each group without GROUP BY and still keep every row? Here is how SUM with OVER and PARTITION BY answers a reader’s question.

Read More
SQL SERVER - Performance Comparison IN vs OR

SQL SERVER – Performance Comparison IN vs OR

June 13, 2018
Pinal Dave
SQL Performance
SQL Function, SQL Operator, SQL Server

Which query runs faster, one with IN or one with OR? Here is my performance comparison IN vs OR on AdventureWorks, and both turn out equal.

Read More
Illustrated cover: Implicit Conversion

SQL SERVER – How to Fix CONVERT_IMPLICIT Warnings?

June 11, 2018
Pinal Dave
SQL Performance
SQL Function, SQL Scripts, SQL Server

CONVERT_IMPLICIT warnings are one of the most common performance issues I find in health checks. Here is how to find them in your queries and how to fix them.

Read More
Fibonacci Series.

How to Generate Fibonacci Series for the First 1000 Values? – Interview Question of the Week #174

May 20, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server

How to generate Fibonacci series for the first 1000 values? Most answers online stop near 70 or 80 values because the numbers get too big. Here is mine.

Read More
Interview Question #172.

How to Search Special Characters in Table Column? – Interview Question of the Week #172

May 6, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server

Can you find [blog.] in a column with LIKE? Most people I interview cannot. Here is how to search Special Characters in a table column the right way.

Read More
SQL Server Performance Tool Window.

SQL Server – Performance Comparison of Function Trim and LTRIM(RTRIM)

May 5, 2018
Pinal Dave
SQL Performance
SQL Function, SQL Scripts, SQL Server

A workshop question: what is the performance comparison of function TRIM and LTRIM(RTRIM) in SQL Server? Here are the test results.

Read More
Split Comma Separated Value String in a Column.

SQL SERVER – Split Comma Separated Value String in a Column Using STRING_SPLIT

May 4, 2018
Pinal Dave
SQL Tips and Tricks
CSV, SQL Function, SQL Scripts, SQL Server, SQL Server 2016

STRING_SPLIT arrived in SQL Server 2016 but is still underused. Here is how to split comma separated value string in a column into rows, quickly.

Read More
Previous 1 … 10 11 12 13 14 15 16 … 62 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com