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
SYNONYM' SQL Server Tool Window.

SQL SERVER – 2005 – Introduction and Explanation to SYNONYM – Helpful T-SQL Feature for Developer

January 7, 2008
Pinal Dave
SQL Performance
SQL Scripts

SQL Server 2005 added SYNONYM, a single-part name that replaces a long four part object name. I explain how it saves typing and shields code from changes.

Read More
Gouache painting: two lengths of smooth cream rope lie on a polished wooden floor: one forms a closed oval, the other a closed figure eight that crosses itself once in the middle, where a small vermilion bead sits

geometry STIsClosed and STIsSimple: Ask Both Questions

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

geometry STIsClosed does not establish simplicity. These three complete line descriptions compare endpoint closure with self-intersection.

Read More
SQL SERVER - Most Frequently Asked Generic Interview Questions

SQL SERVER – Most Frequently Asked Generic Interview Questions

January 5, 2008
Pinal Dave
SQL Interview Questions and Answers
Database, DBA

A list of the most frequently asked generic interview questions, from why you left your last job to what co-workers say about you. Think through your answers.

Read More
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
SQL SERVER - 2005 - Last Ran Query - Recently Ran Query

SQL SERVER – 2005 – Last Ran Query – Recently Ran Query

January 3, 2008
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL System Table

Want to see the last ran query on SQL Server 2005? This quick script uses sys.dm_exec_query_stats to list recent queries with the time each one ran.

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
SQLAuthority News - Thank You to Blog Readers

SQLAuthority News – Thank You to Blog Readers

December 31, 2007
Pinal Dave
SQLAuthority News
Database, DBA

Thank you very much to all my blog readers for reading SQLAuthority.com through 2007. I wish you the very best for the year 2008.

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
Previous 1 … 544 545 546 547 548 549 550 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

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