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
SQL SERVER - 2005 - List All The Column With Specific Data Types

SQL SERVER – 2005 – List All The Column With Specific Data Types

August 9, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts, SQL System Table

A handy script to list all columns with specific data types in a database. We used it to find TEXT columns and change them to VARCHAR(MAX) in SQL Server 2005.

Read More
SQL SERVER - 2005 - List Tables in Database Without Primary Key

SQL SERVER – 2005 – List Tables in Database Without Primary Key

August 7, 2007
Pinal Dave
SQL Tips and Tricks
Database, SQL Constraint and Keys, SQL Scripts, SQL System Table

A simple script to list tables in database without primary key, using sys.tables and OBJECTPROPERTY TableHasPrimaryKey in SQL Server 2005.

Read More
A paper repair tag on a string tied to the handle of a stopped machine in a quiet workshop, the tag blank.

SQL SERVER – Fix: Error 2596 The repair statement was not processed. The database cannot be in read-only mode

August 6, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server DBCC

Error 2596 stops a DBCC repair because the database is read only. Here is the safe order: back up, single user, read write, repair and check again.

Read More
SQL SERVER - Stop SQL Server Immediately Using T-SQL

SQL SERVER – Stop SQL Server Immediately Using T-SQL

August 5, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts

Need to stop SQL Server immediately? Run SHUTDOWN, or SHUTDOWN WITH NOWAIT to skip checkpoints. I also note which roles have permission to run it.

Read More
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
SQL SERVER - Data Warehousing Interview Questions and Answers Complete List Download

SQL SERVER – Data Warehousing Interview Questions and Answers Complete List Download

July 29, 2007
Pinal Dave
SQL Interview Questions and Answers
Data Warehousing, Database, SQL Download, SQL Scripts

My Data Warehousing interview questions and answers complete list, with links to every part of the series and one PDF to download.

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
Previous 1 … 309 310 311 312 313 314 315 … 336 Next
  • Books
  • Testimonials
  • Privacy Policy

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