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
Blue and sage bowls with terracotta rim beads beside two smaller cups on a pale tray.

FOR XML PATH: Choose Attributes and Nested Elements With Aliases

April 17, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL XML

FOR XML PATH interprets column aliases as directions for the output’s attributes and element hierarchy. I use three aliases to shape two rows. The source columns stay ordinary relational values.

Read More
Worn, muddy running shoes by a front door with a plain finisher's medal hanging on a hook above them.

Preparing for a Microsoft Data Certification

April 16, 2009
Pinal Dave
SQL Tips and Tricks
Career Advice, Microsoft Certifications, Professional Development, SQL Training

Prepare for a Microsoft data certification by matching an exam to your role, using its current study guide, practicing, and judging its value.

Read More
Gouache painting: three stepping stone paths cross a meadow

geometry Line Endpoints: Preserve the Described Direction

April 15, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

geometry line endpoints identify the first and last described points. Reversing the same path exchanges them, while a closed line starts and ends together.

Read More
SQL SERVER - Check if Current Login is Part of Server Role Member

SQL SERVER – Check if Current Login is Part of Server Role Member

April 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

Clients sometimes forget to give me admin rights. IS_SRVROLEMEMBER(‘sysadmin’) checks if the current login is a Server Role Member: 1 means yes, 0 means no.

Read More
All the JOIN types at a glance as small red Venn diagrams: INNER, LEFT, RIGHT, FULL, the three IS NULL forms, and CROSS JOIN as 5 times 6

Introduction to JOINs in SQL Server: INNER, OUTER and CROSS JOIN

April 13, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Joins, SQL Scripts, SQL User Group

This introduction to JOINs shows INNER, LEFT, RIGHT, FULL and CROSS JOIN with Venn diagrams and real results from two small tables. It also covers finding rows with no match and three traps that catch people. I first wrote it for members of the Gandhinagar SQL Server User Group.

Read More
A hand sharpens a plane blade on a whetstone while the empty hand plane waits nearby.

System Configuration Checker WMI Error: Fixing SQL Server Setup

April 12, 2009
Pinal Dave
SQL Tips and Tricks
Bug Fix, SQL Server Installation, SQL Setup, WMI

Setup stopped with a WMI message before installing anything? Here are the safe repair steps, in order, with a quick check at the end.

Read More
93538 Same TransactionID.

SQL SERVER – Interesting Observation of DMV of Active Transactions and DMV of Current Transactions

April 11, 2009
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL System Table, SQL Transactions

sys.dm_tran_active_transactions and sys.dm_tran_current_transaction look alike, but one lists active transactions for the instance, the other only your session.

Read More
Previous 1 … 473 474 475 476 477 478 479 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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