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 - SQL Joke, SQL Humor, SQL Laugh - SP

SQL SERVER – SQL Joke, SQL Humor, SQL Laugh – SP

May 28, 2007
Pinal Dave
SQL Tips and Tricks
SQL Humor, SQL Scripts, SQL Stored Procedure

A friend emailed me this stored procedure about marriage, and the bride answers with DROP HIM. Pure SQL humor, for fun only, never for a real server.

Read More
A hand fitting the matching hose connector to a brass garden tap, three other connectors on the ledge below

Which SQL Server Client Driver to Use Now

May 27, 2007
Pinal Dave
SQL Tips and Tricks
Developer, SQL Connection, SQL Server, SQL Server Encryption

Choose a SQL Server client driver by application stack: ODBC, current OLE DB, Microsoft.Data.SqlClient, or JDBC, then test security defaults.

Read More
SQL SERVER - 2005 Limiting Result Sets by Using TABLESAMPLE - Examples

SQL SERVER – 2005 Limiting Result Sets by Using TABLESAMPLE – Examples

May 27, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Random, SQL Scripts

TABLESAMPLE returns a random sample of rows by percent or row count. My examples show why the same query returns a different number of rows each time.

Read More
SQL SERVER - 2005 Replace TEXT with VARCHAR(MAX) - Stop using TEXT, NTEXT, IMAGE Data Types

SQL SERVER – 2005 Replace TEXT with VARCHAR(MAX) – Stop using TEXT, NTEXT, IMAGE Data Types

May 26, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL String

Is VARCHAR(MAX) big enough to hold TEXT? Yes. TEXT, NTEXT and IMAGE will be deprecated, so replace TEXT with VARCHAR(MAX) and use the new MAX data types.

Read More
SQL SERVER - 2005 Find Table without Clustered Index - Find Table with no Primary Key

SQL SERVER – 2005 Find Table without Clustered Index – Find Table with no Primary Key

May 26, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

A query on sys.indexes to find every table without clustered index in a database, why heaps can slow you down, and how to pick a clustered key.

Read More
Fill Factor.

SQL SERVER – Change Default Fill Factor For Index

May 25, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server, SQL Server Configuration

The Default Fill Factor in SQL Server is 0. Change it with sp_configure to leave free space on index pages and reduce page splits. I like mine at 90.

Read More
SQL SERVER - Stored Procedure to display code (text) of Stored Procedure, Trigger, View or Object

SQL SERVER – Stored Procedure to display code (text) of Stored Procedure, Trigger, View or Object

May 25, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure, SQL Trigger, SQL View

Need to display code of a stored procedure, trigger, view or function? The system stored procedure sp_helptext prints the text of any unencrypted object.

Read More
Previous 1 … 814 815 816 817 818 819 820 … 839 Next
  • Books
  • Testimonials
  • Privacy Policy

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