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
A clear tumbler and a corked glass bottle with a sage ribbon on warm paper.

STRING_ESCAPE JSON Text: Escaping Is Not Serialization

May 20, 2008
Pinal Dave
SQL Tips and Tricks
JSON, SQL Function, SQL Server, SQL String

STRING_ESCAPE JSON text is still text that belongs inside a JSON string. This example compares quotations, backslashes and a newline with complete FOR JSON PATH objects.

Read More
An open chef's knife roll with one small paring knife taken out and laid beside a single apple.

Least Privilege for Application Logins

May 19, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, SQL Login, SQL Server Security

Design least privilege for SQL Server application logins with roles, schema permissions, and stored procedures, then test real workflows.

Read More
SQLAuthority News - SQL SERVER Database Administrator Job Description

SQLAuthority News – SQL SERVER Database Administrator Job Description

May 18, 2008
Pinal Dave
SQLAuthority News
Database, DBA, Software Development

An updated SQL Server Database Administrator Job Description: support for the database environment, new technology, reliability and long-term planning.

Read More
SQL SERVER - Ideal TempDB FileGrowth Value

SQL SERVER – Ideal TempDB FileGrowth Value

May 17, 2008
Pinal Dave
SQL Performance
SQL Server, SQL TempDB

What is a good TempDB FileGrowth value? Here are simple size-based guidelines, from 10 MB growth for small files to 10 percent for large ones.

Read More
Gouache painting: a short wooden rack holds eight cream balls in one row

Bit Shifts: Move Bits Without Rotating Them

May 16, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

Bit shifts fill vacant positions with zero and discard bits past the type width. Compare tinyint with int and a negative shift direction.

Read More
A shocked wooden mannequin in front of a wide-open safe that is empty except for one moth

Untested Backup: The Joke That Ends With a Resignation Letter

May 15, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Humor, SQL Server DBCC

An untested backup is the darkest joke in the DBA world. Here’s how the story usually ends, and the simple restore drill that keeps you out of it.

Read More
SQL SERVER - Orphaned MS DTC Transaction Information

SQL SERVER – Orphaned MS DTC Transaction Information

May 14, 2008
Pinal Dave
SQL Performance
SQL Error Messages, SQL Scripts

An orphaned MS DTC transaction kept crashing our IIS application pool. A quick script on sys.syslockinfo shows if you have one, and a Microsoft hotfix solved it.

Read More
Previous 1 … 759 760 761 762 763 764 765 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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