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 AG Listener error message.

SQL SERVER – AlwaysOn Availability Group Listener – This TCP Port is Already in Use

September 15, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Management Studio

Creating an AlwaysOn availability group listener in SSMS failed with error 19486: this TCP port is already in use. Here is what the ERRORLOG showed.

Read More
Convert Decimal to Time Format in String.

SQL SERVER – Convert Decimal to Time Format in String

September 13, 2017
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL DateTime, SQL Function, SQL Scripts, SQL Server, SQL String

A very strange question I received the other day in an email about how to convert decimal to time format string.

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
Previous 1 … 118 119 120 121 122 123 124 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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