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
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
SQL SERVER - Puzzle - Why Decimal is Rounded Up?

SQL SERVER – Puzzle – Why Decimal is Rounded Up?

December 24, 2014
Pinal Dave
SQL Puzzle
SQL Scripts

Why decimal is rounded up in one script and not in the other when both divide 10000 by 17? Try this holiday puzzle before you read the comments.

Read More
SQL SERVER - Story of Temporary Objects

SQL SERVER – Story of Temporary Objects

December 23, 2014
Pinal Dave
SQL Tips and Tricks
Devart, SQL Scripts, SQL Server, SQL TempDB

Temp tables, table variables and more: the story of Temporary Objects in SQL Server, why you would use them and how they can help performance and scalability.

Read More
SQL SERVER - List the Name of the Months Between Date Ranges - Part 2

SQL SERVER – List the Name of the Months Between Date Ranges – Part 2

December 22, 2014
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts, SQL Server

Part 2 on listing the names of the months between date ranges, with an improved script from readers Miladin Joksic and Peter Lalovsky that adds more details.

Read More
SQL SERVER - Reverse String Word By Word - Part 2

SQL SERVER – Reverse String Word By Word Part 2

December 15, 2014
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

In Reverse String Word By Word Part 2, Sanjay Monpara and Yuri Petrov improve my script. The new, more robust version uses a Split function.

Read More
Identical hockey pucks sit in open sleeves of three different colors.

Primary Data File Extensions: Does the .mdf Name Matter?

December 14, 2014
Pinal Dave
SQL Tips and Tricks
Database, SQL Data Storage, SQL Scripts, SQL Server Architecture

Can a primary data file end in something other than .mdf? I built a demo database with odd names, checked each file, then detached and attached it.

Read More
Previous 1 … 170 171 172 173 174 175 176 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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