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
comment

SQL SERVER – Two Different Ways to Comment Code – Explanation and Example

August 3, 2007
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

SQL Server has two different ways to comment code. Let us learn all of them here in this blog post. Various the options in the blog posts.

Read More
Two plain brass keys with different teeth beside a small wooden lock block on a table.

Orphaned Users After a Restore, and How to Fix Them

August 2, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Security

Find orphaned users after a SQL Server restore, compare user and login SIDs, and repair the intended mapping with ALTER USER.

Read More
A confused wooden mannequin mail carrier holding a parcel between two look-alike mannequins in different scarves

MSSQL or MySQL? Clearing Up the Name Mix-Up

August 1, 2007
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Humor, SQL Server, Starting SQL

MSSQL or MySQL? The names are one letter apart and the products are not. Here’s who makes each, and the syntax differences that trip people up.

Read More
Two hands lift a stack of nested ceramic mixing bowls, the largest red bowl holding all the others.

Why SQL Server Has Cumulative Updates, Not Service Packs

August 1, 2007
Pinal Dave
SQL Tips and Tricks
Cumulative Update, DBA, SQL Patch, SQL Server, SQL Service Pack

Understand why SQL Server uses Cumulative Updates instead of service packs, what each CU contains, and how to plan a reliable patch cycle.

Read More
A warehouse of pallets stacked in neat labelled rows under high windows, the labels too small to read.

SQL SERVER – Data Warehousing Interview Questions and Answers – Part 1

July 26, 2007
Pinal Dave
SQL Interview Questions and Answers
Data Warehousing, SQL Server

Part 1 of my Data Warehousing interview questions and answers, starting with the basics: what a data warehouse is and how it supports decision making.

Read More
A long sheet of rolled dough cut into many identical shapes in one press, a single small cookie cutter lying beside it.

Replacing a Cursor With a Set-Based Query

July 25, 2007
Pinal Dave
SQL Performance
SQL Cursor, SQL Joins, SQL Scripts, SQL Server

Replacing a cursor with one set-based update can simplify row processing; this worked example shows correctness checks and fair timing.

Read More
Gouache painting: at a market stall a wicker basket holds one whole peach, the largest, left behind

XQuery FLWOR: Filter and Rebuild a Small XML Result

July 25, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL XML

XQuery FLWOR can iterate over source items and construct a different XML result. I use it to filter three products and reorder the survivors. The new elements deliberately differ from the source elements.

Read More
Previous 1 … 399 400 401 402 403 404 405 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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