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 pile of unsorted paper on a desk beside a neatly filed drawer with tabs

What Is a Heap in SQL Server?

May 4, 2007
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

A heap in SQL Server is a table with no clustered index. Forwarded records pushed one count from 11,113 reads to 199,844, and a single REBUILD put it back. When a heap is fine and when it is not.

Read More
A rich gouache cabinet separates ceramic pieces, carved molds and brass connectors in three independent drawers.

SQL SERVER – What DBCC Memory Cache Commands Actually Clear

May 3, 2007
Pinal Dave
SQL Tips and Tricks
SQL Memory, SQL Scripts, SQL Server, SQL Server DBCC, SQL Stored Procedure

SQL Server retains memory caches to support later work. I investigate memory pressure before trying to release them.

Read More
A gouache key cupboard keeps a heavy brass key separately from everyday keys, beside a closed lockbox.

SQL SERVER – Enable Login – Disable Login using ALTER LOGIN – Change name of the ‘SA’

May 3, 2007
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

ALTER LOGIN can enable, disable or rename a SQL Server login. I verify another administrative access path before changing sa.

Read More
SQL SERVER - FIX : ERROR 1101 : Could not allocate a new page for database because of insufficient disk space in filegroup

SQL SERVER – FIX : ERROR 1101 : Could not allocate a new page for database because of insufficient disk space in filegroup

May 2, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Error Messages

Error 1101, could not allocate a new page because of insufficient disk space in filegroup. Free up hard disk space and turn on AUTOGROW for the filegroups.

Read More
SQL SERVER - 2005 TOP Improvements/Enhancements

SQL SERVER – 2005 TOP Improvements/Enhancements

May 2, 2007
Pinal Dave
SQL Performance
SQL Scripts

SQL Server 2005 brings two enhancements to the TOP clause: pass a variable or sub-query as the TOP value, and use TOP in INSERT, UPDATE and DELETE.

Read More
SQL SERVER - User Defined Functions (UDF) to Reverse String - UDF_ReverseString

SQL SERVER – User Defined Functions (UDF) to Reverse String – UDF_ReverseString

May 1, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

UDF_ReverseString returns a reversed string starting from any position you pass. The script of the function plus usage examples, like reversing from the third character.

Read More
SQL SERVER - Copy Column Headers in Query Analyzers in Result Set

SQL SERVER – Copy Column Headers in Query Analyzers in Result Set

May 1, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices

To copy column headers with your results in Query Analyzer, set Results to Text, Tab Delimited and turn on Print column headers in Options. Video included.

Read More
Previous 1 … 826 827 828 829 830 831 832 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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