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 - Search Stored Procedure Code - Search Stored Procedure Text

SQL SERVER – 2005 – Search Stored Procedure Code – Search Stored Procedure Text

September 3, 2007
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL Scripts, SQL Stored Procedure, SQL System Table

How to search stored procedure code in SQL Server 2005 for a table or column name, using sys.procedures and OBJECT_DEFINITION instead of sp_depends.

Read More
Database status.

SQL SERVER – 2005 – Find Database Status Using sys.databases or DATABASEPROPERTYEX

August 31, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server DBCC, SQL System Table, SQL Utility

Find database status such as ONLINE, OFFLINE, RESTORING or SUSPECT using sys.databases or DATABASEPROPERTYEX, and learn what each status means.

Read More
SQL SERVER - 2005 - Find Stored Procedure Create Date and Modified Date

SQL SERVER – 2005 – Find Stored Procedure Create Date and Modified Date

August 10, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure, SQL System Table

A simple script on sys.objects that shows the stored procedure create date and modified date, handy for audits and for watching changes to your objects.

Read More
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
Numbered wooden tables arranged in rows inside a database drum.

SQL SERVER – 2005 List All Tables of Database

June 26, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

The simple way to list all tables of a database in SQL Server 2005: select from sys.tables to get every table that users have created.

Read More
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
Previous 1 … 14 15 16 17 18 Next
  • Books
  • Testimonials
  • Privacy Policy

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