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
SQL SERVER - How to Create Linked Server to SQL Azure Database?

SQL SERVER – How to Create Linked Server to SQL Azure Database?

September 12, 2017
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Azure, SQL Error Messages, SQL Server

If you take the normal approach to create a linked server to SQL Azure Database, then you would end up in below error message.

Read More
Five distinct relief shapes remain in order while repeated copies are preserved in a separate tray.

SQL SERVER – Removing Duplicate String Characters with Ordered Aggregation – Part 2

September 11, 2017
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

I can Remove Duplicate characters while preserving their first-occurrence order. This second method uses explicit positions and ordered aggregation.

Read More
A slate blue fabric ribbon makes a physical fold onto a lower line

How to Insert Line Break in SQL Server String? – Interview Question of the Week #139

September 10, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server, SQL String

How do you insert a Line Break in a SQL Server string? Just press Enter inside the string, and switch SSMS results to text to see it. Here is how it works.

Read More
SQL SERVER - Unable to Get Listener Properties Using PowerShell - An Error Occurred Opening Resource

SQL SERVER – Unable to Get Listener Properties Using PowerShell – An Error Occurred Opening Resource

September 9, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, PowerShell, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Cluster

A client could not change listener properties with PowerShell and got “An error occurred opening resource”. Here is the T-SQL query I shared and what fixed it.

Read More
Execution Plan of SQL Query.

SQL SERVER – How to Find UNIQUE Key Columns? – sp_special_columns

September 8, 2017
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server, SQL Stored Procedure

Want to know which columns uniquely identify a row in a table? The system stored procedure sp_special_columns tells you. Here is a quick demo.

Read More
A key and inspection mirror sit near a doorway into a separate stocked storage room.

SQL SERVER – System Procedure to List Out Table From Linked Server

September 7, 2017
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Scripts, SQL Server, SQL Stored Procedure

The System Procedure sp_tables_ex lists table metadata from an existing linked server. I check its provider and login mapping separately.

Read More
Compatibility level table.

SQL SERVER – Different Methods to Know COMPATIBILITY LEVEL of a Database

September 5, 2017
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Scripts, SQL Server

Different methods to find the compatibility level of a database, from sp_helpdb to sp_dbcmptlevel, with a quick note on what the setting means.

Read More
Previous 1 … 156 157 158 159 160 161 162 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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