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
A hand moving a magnifying glass along a shelf of plain matching books, one book pulled halfway out.

Searching Every Stored Procedure for a Word

June 1, 2007
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Scripts, SQL Server, SQL Stored Procedure, SQL System Table

Searching every stored procedure through sys.sql_modules finds text quickly, but comments, case, dynamic SQL, and other databases need care.

Read More
SQL SERVER - 2005 Constraint on VARCHAR(MAX) Field To Limit It Certain Length

SQL SERVER – 2005 Constraint on VARCHAR(MAX) Field To Limit It Certain Length

June 1, 2007
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL String

SQL Server 2005 has no VARCHAR(12500), so how do you cap a VARCHAR(MAX) field at 12500 characters? A constraint on the column does the job.

Read More
SQL SERVER - Retrieve Information of SQL Server Agent Jobs

SQL SERVER – Retrieve Information of SQL Server Agent Jobs

May 31, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Agent, SQL Stored Procedure

sp_help_job returns information about SQL Server Agent jobs in msdb. Run it with no parameters to list every job, plus a few related Agent posts.

Read More
SQL Server compatible level settings.

SQL SERVER – 2005 Change Database Compatible Level – Backward Compatibility – Part 2 – Management Studio

May 31, 2007
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Server Management Studio

How to change database compatible level in SQL Server Management Studio: right click the database, open Properties, then Options, and pick the level you need.

Read More
SQL SERVER - Primary Key Must Not Contain NULL - Primary Key are NOT NULL

SQL SERVER – Primary Key Must Not Contain NULL – Primary Key are NOT NULL

May 31, 2007
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys

Can you have a nullable primary key? No. A primary key must not contain NULL: Allow Nulls cannot be set on its columns, and all values must be unique.

Read More
An empty wooden lifeguard chair on a quiet beach at morning, a red rescue float hanging from its side.

What Hiring Managers Look for in a DBA

May 30, 2007
Pinal Dave
SQL Interview Questions and Answers
Career Advice, DBA, Professional Development, SQL Backup and Restore

Hiring managers look for DBAs who can restore data, stay calm under pressure, explain tradeoffs, and show evidence of sound operations.

Read More
SQL SERVER - Trace Flags - DBCC TRACEON

SQL SERVER – Trace Flags – DBCC TRACEON

May 30, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server DBCC

Trace flags let a DBA turn a database function on or off for a while. How to use DBCC TRACEON and TRACEOFF, with deadlock trace flag 1205 as the example.

Read More
Previous 1 … 816 817 818 819 820 821 822 … 842 Next
  • Books
  • Testimonials
  • Privacy Policy

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