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 - 2005 Best Practices Analyzer (July BPA)

SQL SERVER – 2005 Best Practices Analyzer (July BPA)

July 4, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Download, SQL Utility

The July release of the SQL Server 2005 Best Practices Analyzer checks Windows and SQL Server settings against Microsoft best practices. Download link inside.

Read More
SQL SERVER - Definition, Comparison and Difference between HAVING and WHERE Clause

SQL SERVER – Definition, Comparison and Difference between HAVING and WHERE Clause

July 4, 2007
Pinal Dave
SQL Interview Questions and Answers
Best Practices, SQL Scripts

I asked every candidate the difference between HAVING and WHERE clause, and none got it right. HAVING filters groups, while WHERE filters individual rows.

Read More
SQL SERVER - Comparison : Similarity and Difference #TempTable vs @TempVariable

SQL SERVER – Comparison : Similarity and Difference #TempTable vs @TempVariable

July 3, 2007
Pinal Dave
SQL Performance
SQL Scripts, SQL TempDB

#TempTable and @TempVariable both live in tempdb, but they differ in scope and purpose. Their similarities and differences, explained side by side.

Read More
SQL SERVER - 2005 Comparison SP_EXECUTESQL vs EXECUTE/EXEC

SQL SERVER – 2005 Comparison SP_EXECUTESQL vs EXECUTE/EXEC

July 2, 2007
Pinal Dave
SQL Performance
SQL Cursor, SQL Download, SQL Scripts, SQL Stored Procedure

SP_EXECUTESQL vs EXECUTE/EXEC in SQL Server 2005: what they share for dynamic SQL, like late compile and variable scope, and how they differ.

Read More
SQL SERVER - Explanation of WITH ENCRYPTION clause for Stored Procedure and User Defined Functions

SQL SERVER – Explanation of WITH ENCRYPTION clause for Stored Procedure and User Defined Functions

July 1, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Server Encryption, SQL Stored Procedure

Use WITH ENCRYPTION to hide the code of a stored procedure or UDF, but keep a copy of the script. Once encrypted, there is no simple way to decrypt it.

Read More
SQL SERVER - Fix : Error : Server: Msg 131, Level 15, State 3, Line 1 The size () given to the type 'varchar' exceeds the maximum allowed for any data type (8000)

SQL SERVER – Fix : Error : Server: Msg 131, Level 15, State 3, Line 1 The size () given to the type ‘varchar’ exceeds the maximum allowed for any data type (8000)

June 30, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL String

Msg 131 says the size given to varchar exceeds the maximum allowed (8000). Use VARCHAR(8000), or VARCHAR(MAX) in SQL Server 2005 as the TEXT replacement.

Read More
SQL SERVER - Recompile All The Stored Procedure on Specific Table

SQL SERVER – Recompile All The Stored Procedure on Specific Table

June 29, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Stored Procedure

After BCP or DTS mass inserts, stored procedures can slow down. I use sp_recompile to recompile all the stored procedure on a table, or just one procedure.

Read More
Previous 1 … 806 807 808 809 810 811 812 … 840 Next
  • Books
  • Testimonials
  • Privacy Policy

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