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
McAfee HIP Engine.

SQL SERVER – Event ID: 2004 – Resource Exhaustion Diagnosis Events

October 8, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Memory, SQL Scripts, SQL Server

A client with SQL Server memory issues saw Event ID 2004, Resource Exhaustion Diagnosis Events, naming sqlservr.exe for low virtual memory. Here is what it means.

Read More
Failed validation.

SQL SERVER – SSIS – Package Error: “ODBC Source” Failed Validation and Returned Validation Status “VS_NEEDSNEWMETADATA”

October 5, 2018
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL Scripts, SQL Server, SQL Utility, SSIS

A client’s SSIS package failed: “ODBC Source” failed validation and returned validation status “VS_NEEDSNEWMETADATA”. I explain which metadata and the fix.

Read More
SQL SERVER - Error: 45207 - SQL Server Managed Backup to Microsoft Azure Cannot Configure the Database Because a Container URL was Either not Provided or Invalid

SQL SERVER – Error: 45207 – SQL Server Managed Backup to Microsoft Azure Cannot Configure the Database Because a Container URL was Either not Provided or Invalid

October 4, 2018
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Backup and Restore, SQL Error Messages, SQL Log, SQL Scripts, SQL Server, SQL Server Security

After a cleanup on my Azure SQL VM, I hit Msg 45207: SQL Server Managed Backup to Microsoft Azure cannot configure the database. Here is how I fixed it.

Read More
Tongs select individual fruit while a shovel would scoop everything

How to STOP the Usage of SELECT * For Views? – Interview Question of the Week #193

September 30, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Error Messages, SQL Scripts, SQL Server, SQL View

How do you stop people from using SELECT * in views? A slow query in a Health Check came from SELECT * over a wide view, so here is one way to prevent it.

Read More
An icon set with time, calendars and checkmarks.

SQL Server – Formatted Date and Alias Name in ORDER BY Clause

September 28, 2018
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Order By, SQL Scripts, SQL Server

Format a date with CONVERT, then use its alias in ORDER BY, and the rows come back in a different order. Here is a simple example of this formatted date surprise.

Read More
A small sample dish holds selected tiles beside a larger populated source tray.

SQL SERVER – Selecting Random n Rows from a Table

September 24, 2018
Pinal Dave
SQL Tips and Tricks
SQL Random, SQL Scripts, SQL Server

To select random-looking n Rows, I can sort by NEWID and use TOP. A developer wanted ten AdventureWorks Product rows.

Read More
Two matching brass clips hold a ribbon safely inside a wooden frame

How to Escape a Single Quote in SQL Server? – Interview Question of the Week #192

September 23, 2018
Pinal Dave
SQL Interview Questions and Answers
Quotes, SQL Scripts, SQL Server

How do you escape a single quote in SQL Server? A college student asked me at a Bangalore user group, a few people laughed, and here is the simple answer.

Read More
Previous 1 … 89 90 91 92 93 94 95 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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