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 - UDF - Validate Integer Function

SQL SERVER – UDF – Validate Integer Function

August 11, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

ISNUMERIC() returns 1 for plus, minus and currency signs, so it is not a safe check. I share the UDF I use to validate integer values instead.

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
Enable autogrowth dialog.

SQL SERVER – 2005 – SSMS – Enable Autogrowth Database Property

August 8, 2007
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Server Management Studio, SQL Utility

How to enable Autogrowth for a database in SSMS: open the database Properties, go to Files and click the small button in the Autogrowth column.

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
Previous 1 … 542 543 544 545 546 547 548 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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