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
Lemons in a row beside a red citrus press, a glass of juice before each one except a dry lemon

SQL SERVER – Quick Note on CROSS APPLY

January 4, 2008
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts, SQL Server

A quick note on CROSS APPLY: think of it as an inner join to a table valued function that takes parameters, something a regular JOIN cannot do.

Read More
A wooden frame with a leather triangle in one corner and a red stone inside the frame but outside the triangle.

geometry STEnvelope: A Bounding Box Includes Extra Space

January 3, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

geometry STEnvelope can include points outside the original shape. These two triangle tests keep envelope membership beside exact containment.

Read More
SQL SERVER - Fix : Error 15281 SQL Server blocked access to STATEMENT OpenRowset/OpenDatasource of

SQL SERVER – Fix : Error 15281 SQL Server blocked access to STATEMENT OpenRowset/OpenDatasource of

January 2, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Security

Error 15281: SQL Server blocked OpenRowset/OpenDatasource because Ad Hoc Distributed Queries is off. Turn it on in Surface Area Configuration or with sp_configure.

Read More
A full bookshelf with a red bookend placed to leave room for the next volume

Adding a New Year Partition Before the Calendar Rolls Over

January 1, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server, SQL Server Agent, Table Partitioning

Add a new year partition before January data arrives by checking boundaries, preparing NEXT USED, splitting an empty range, and scheduling the work.

Read More
Gouache painting: on three barn shelves stand jars of honey from one harvest

GROUPING SETS: Choose Nonhierarchical Subtotals Explicitly

December 30, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Reports, SQL Scripts, SQL Server

GROUPING SETS lets me choose independent subtotal combinations instead of assuming one hierarchy. I list the groups the report needs explicitly. That can exclude detail rows while retaining summaries across different dimensions.

Read More
quality

SQL SERVER – Difference Between Quality Assurance and Quality Control – QA vs QC

December 28, 2007
Pinal Dave
SQL Tips and Tricks
Developer, Software Development, SQL Server

A Tea Time chat at our India office turned into a debate on Quality Assurance vs Quality Control. Here is a simple way to tell QA and QC apart.

Read More
Gouache painting: a tall glass honey jar stands filled nearly to its original line

EXP and LOG: Read Approximate Inverse Calculations

December 24, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

EXP and LOG can undo each other mathematically, but their SQL float calculations remain approximate. Keep a deliberate display scale and test only the permitted logarithm domain.

Read More
Previous 1 … 393 394 395 396 397 398 399 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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