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
Performance observation of TRIM function.

SQL SERVER – Performance Observation of TRIM Function

January 17, 2018
Pinal Dave
SQL Performance
SQL Function, SQL Scripts, SQL Server

Does the new TRIM function slow your queries like other functions in a WHERE clause do? Here is my performance observation of TRIM function in SQL Server 2017.

Read More
Title card: Rule 'Cluster Remote Access' Failed

SQL SERVER – Rule Cluster Remote Access Failed During Installation on SQL Failover Clustered Instance

January 16, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Cluster

Installing a SQL Server failover clustered instance failed the Cluster Remote Access rule. Here is what Detail.txt showed and the workaround I used.

Read More
A brass balance scale on a counter with two different sets of weights beside it, only one set matching the pans.

SQL SERVER – FIX: Number Data Type from Oracle Linked Sever Shown in Scientific Notation

January 15, 2018
Pinal Dave
SQL Tips and Tricks
Linked Server, Oracle, SQL Datatype, SQL Error Messages, SQL Server

A client saw numbers from an Oracle linked server shown in scientific notation in SQL Server. Here is the query that shows the issue and how to fix it.

Read More
Each of three trays displays its two tallest stones ahead of shorter stones

How to Get Top N Records Per Group? – Ranking Function – Interview Question of the Week #156

January 14, 2018
Pinal Dave
SQL Interview Questions and Answers
Ranking Functions, SQL Function, SQL Scripts, SQL Server

I gave 40 candidates this puzzle: get the top N records per group from a student marks table. Here is the simple answer using a Ranking Function.

Read More
Image showing SQL Server results for NOEXEC command.

SQL SERVER – What Does SET NOEXEC Do?

January 13, 2018
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Configuration

What does SET NOEXEC do? With SET NOEXEC ON, SQL Server compiles your query but does not run it. Here is how the compile and execute phases work.

Read More
A brass umbrella stand of identical cream umbrellas, one marked only by a small red tassel.

The sp_ Prefix: Finding Stored Procedures Named the Risky Way

January 11, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Coding Standards, SQL Server, SQL Stored Procedure

Find user procedures with the sp_ prefix across databases, understand the lookup risk, and move callers through a synonym safely.

Read More
A sheet of paper on a cutting board with its ragged edges being squared off by a steel rule.

SQL SERVER – 2017 – How to Remove Leading and Trailing Spaces with TRIM Function?

January 10, 2018
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

TRIM finally arrived in SQL Server 2017. Here is how to remove leading and trailing spaces with the new TRIM function, in a few simple words.

Read More
Previous 1 … 139 140 141 142 143 144 145 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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