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
Z-A ordering by letters.

SQL SERVER – Order of Result Set of SELECT Statement on Clustered Indexed Table When ORDER BY is Not Used

September 24, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Order By, SQL Server

“What will be the order of the result set of a SELECT statement on clustered indexed table when the ORDER BY clause is not used?”

Read More
SQLAuthority News - NASDAQ Uses SQL Server 2005 - Reducing Costs through Better Data Management

SQLAuthority News – NASDAQ Uses SQL Server 2005 – Reducing Costs through Better Data Management

September 17, 2007
Pinal Dave
SQLAuthority News
Data Warehousing, Database, DBA, SQL Server

How NASDAQ moved its market data system from mainframes to SQL Server 2005, handling about 5,000 transactions per second at market open.

Read More
Neatly arranged plain wooden building pieces beside a pencil on a quiet worktable.

Writing T-SQL Somebody Else Can Maintain

September 15, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Write maintainable T-SQL with clear names, explicit results, focused procedures, and comments that explain the business reason behind the code.

Read More
A large yellow key icon.

SQL SERVER – 2005 – Find Tables With Foreign Key Constraint in Database

September 4, 2007
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server, SQL System Table

Keys are critical to any database. This script finds every table with a foreign key constraint in SQL Server 2005, with its column and the referenced table.

Read More
How to Attach and Detach Database.

SQL SERVER – T-SQL Script to Attach and Detach Database

August 24, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Scripts, SQL Server

Move a database to a new server in three steps: Detach Database with sp_detach_db, copy the data and log files, then attach it again with CREATE DATABASE.

Read More
A CSV file.

SQL SERVER – T-SQL Script to Insert Carriage Return and New Line Feed in Code

August 22, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL String

Add a carriage return with CHAR(13) and a New Line Feed with CHAR(10) in T-SQL. Handy for formatting output, dynamic SQL with GO, and saving user text.

Read More
Three small plain wooden blocks and a single empty space arranged neatly on an oak tabletop.

The SQL Basics Almost Everybody Skips

August 19, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Revisit SQL basics that change query results: NULL logic, logical processing order, grouped filters, and the difference between two common counts.

Read More
Previous 1 … 346 347 348 349 350 351 352 … 360 Next
  • Books
  • Testimonials
  • Privacy Policy

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