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
Next value in a sequence.

SQL SERVER – A Puzzle Part 2 – Fun with SEQUENCE in SQL Server 2012 – Guess the Next Value

May 26, 2012
Pinal Dave
SQL Puzzle

Part 2 of fun with SEQUENCE: the same script as before, but without MINVALUE. Now guess the next value SQL Server 2012 returns after the cycle.

Read More
SQL SERVER - A Puzzle - Fun with SEQUENCE in SQL Server 2012 - Guess the Next Value

SQL SERVER – A Puzzle – Fun with SEQUENCE in SQL Server 2012 – Guess the Next Value

May 25, 2012
Pinal Dave
SQL Puzzle
SQL Scripts

A fun puzzle on SEQUENCE in SQL Server 2012: a sequence starts at 3 and cycles with a maximum of 5. Can you guess the next value it returns?

Read More
SQL SERVER - A Puzzle - Fun with NULL - Fix Error 8117

SQL SERVER – A Puzzle – Fun with NULL – Fix Error 8117

May 24, 2012
Pinal Dave
SQL Puzzle
SQL NULL, SQL Scripts, SQL Server

NULL is fun to ask about in interviews, since every answer I get is different. A short puzzle on NULL that raises Error 8117, and how to fix it.

Read More
60 x 60 clock image.

SQL SERVER – Standard Reports from SQL Server Management Studio – SQL in Sixty Seconds #016 – Video

May 23, 2012
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server Management Studio

SSMS comes with many built-in performance and activity reports. This sixty second video shows where to find the Standard Reports and how to run them.

Read More
SQL SERVER - SmallDateTime and Precision - A Continuous Confusion

SQL SERVER – SmallDateTime and Precision – A Continuous Confusion

May 22, 2012
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts, SQL Training

SmallDateTime and precision confuse a lot of people. I explain what the precision really is, using a Facebook question from Raghavendra.

Read More
SQL SERVER - Renaming Index - Index Naming Conventions

SQL SERVER – Renaming Index – Index Naming Conventions

May 21, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index

Tables got renamed to a new standard, but what about the indexes? Tell me which index naming conventions you follow when renaming an index.

Read More
Hands fitting a new wider slat into an old park bench, the old slat leaning beside it

Changing an Index In Place With CREATE INDEX and DROP_EXISTING

May 20, 2012
Pinal Dave
SQL Performance
Clustered Index, DBA, SQL Index, SQL Server

Use DROP_EXISTING to change an index definition in one operation, inspect its columns, and check online availability and dependencies.

Read More
Previous 1 … 533 534 535 536 537 538 539 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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