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 - Introduction to Live Lock - What is Live Lock?

SQL SERVER – Introduction to Live Lock – What is Live Lock?

March 21, 2008
Pinal Dave
SQL Tips and Tricks
Software Development, SQL Lock

What is Live Lock in SQL Server? How a write request can keep waiting behind a stream of reads, how it differs from a deadlock and how to reduce it.

Read More
SQL SERVER - Add Column With Default Column Constraint to Table

SQL SERVER – Add Column With Default Column Constraint to Table

March 19, 2008
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Constraint and Keys, SQL Scripts, SQL Server

Add a NOT NULL column with a named default Column Constraint in one ALTER TABLE statement. I always name constraints instead of letting SQL Server pick one.

Read More
Gouache painting: beside it, the same ring hovers above an empty saucer and closes on nothing, so no match is made

Simple CASE and NULL: Use a Searched Condition

March 18, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

Simple CASE and NULL do not match through equality. Use a searched IS NULL branch, preserve empty text, and make the result type explicit.

Read More
A pressure cooker on a stove releasing a thin plume of steam from its safety valve, a hand resting nearby

Porting Stored Procedures Between Platforms

March 17, 2008
Pinal Dave
SQL Tips and Tricks
SQL Migration, SQL Server, SQL Stored Procedure, Temp Table

Porting stored procedures means preserving error, transaction, temporary-table, sequence, and date behavior instead of translating tokens.

Read More
SQL SERVER - 2005 - Retrieve Any User Defined Object Details Using sys objects Database

SQL SERVER – 2005 – Retrieve Any User Defined Object Details Using sys objects Database

March 16, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL System Table, SQL Utility

The sys.objects catalog view has a row for every schema-scoped object, so you can retrieve any user defined object details, like foreign keys, by object type.

Read More
SQL SERVER - 2005 - Retrieve Processes Using Specified Database

SQL SERVER – 2005 – Retrieve Processes Using Specified Database

March 15, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

Jim Sz shared a quick script to retrieve processes that use a specific database from sys.sysprocesses, with spid, status, host name and login.

Read More
Diagram of CLR inside SQL Server: a SQL query enters the query processor, which uses the SQL CLR module and the CLR hosting module; SAFE code reaches the database through the engine, EXTERNAL_ACCESS reaches files, registry and network, and UNSAFE reaches native and COM DLLs

SQL Server CLR: The Common Language Runtime Inside the Engine

March 14, 2008
Pinal Dave
SQL Tips and Tricks
CLR, SQL Function, SQL Server, SQL Server Architecture, SQL Stored Procedure

SQL Server CLR means running .NET code, such as C# stored procedures, inside SQL Server. A diagram shows how the pieces fit, and why CLR helps with the cursors and loops that slow down T-SQL.

Read More
Previous 1 … 514 515 516 517 518 519 520 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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