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
FK table in foreign keys.

SQL SERVER – What is is_not_trusted in sys.foreign_keys?

January 9, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

What does the is_not_trusted column in sys.foreign_keys mean? Books Online is not very clear, so I explain it with a simple example using three tables.

Read More
BimlScript connections.

SQL SERVER – Iterating over Metadata with BimlScript – Notes from the Field #061

January 8, 2015
Pinal Dave
SQL Tips and Tricks
BIML, Notes from the Field, SQL Server Security

Reeves Smith continues his Biml series and shows how iterating over metadata with BimlScript helps automate repetitive SQL Server BI work.

Read More
Schema changes history window.

SQL SERVER – Finding Tables Created Last Week – DBA Tip

January 6, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

A security team wanted a report of tables created last week on production. Here is the simple query I sent my DBA friend instead of building an audit.

Read More
SQL SERVER - Filter In-Memory OLTP Tables in SSMS

SQL SERVER – Filter In-Memory OLTP Tables in SSMS

January 5, 2015
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Scripts, SQL Server Management Studio

Need to spot In-Memory OLTP tables among thousands of tables? I show a simple T-SQL query and the SSMS options that list only those tables.

Read More
Dialog box displaying error.

SQL SERVER – UNION With TEXT DataType Returns Error but and UNION ALL Works – Reasons

January 3, 2015
Pinal Dave
SQL Tips and Tricks
SQL Union clause

Why does UNION with TEXT datatype return an error while UNION ALL works? It comes down to how UNION removes duplicate rows. Here is the reason.

Read More
Feature Selection Window.

SQL SERVER – Fix – Missing “Mirroring” and “Transaction Log Shipping” option in the Database Properties

January 2, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

The Mirroring and Transaction Log Shipping options were missing in Database Properties for my freshly created database. Here is what caused it and the fix.

Read More
An old chair with one new leg being glued in, held by a red clamp

Refactoring Old T-SQL One Procedure at a Time

January 1, 2015
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Server, SQL Stored Procedure, Testing

Begin refactoring old T-SQL with one procedure, repeatable inputs, duplicate-aware result checks, measured reads, and a simple change log.

Read More
Previous 1 … 250 251 252 253 254 255 256 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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