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 - Find Database Collation Using T-SQL and SSMS - Part 2

SQL SERVER – 2005 – Find Database Collation Using T-SQL and SSMS – Part 2

April 11, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

Reader jwwishart shared another way to find database collation in SQL Server 2005: a one line SELECT of collation_name from sys.databases.

Read More
SQL SERVER - 2005 - Restore Database Using Corrupt Datafiles (.mdf and .ldf) - Part 2

SQL SERVER – 2005 – Restore Database Using Corrupt Datafiles (.mdf and .ldf) – Part 2

April 10, 2008
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Function, SQL Scripts

A last resort for corrupt datafiles with no backup: emergency mode, single user, then DBCC CHECKDB with repair_allow_data_loss. Back up the files first.

Read More
SQL SERVER - 2005 - Connection Strings For .NET

SQL SERVER – 2005 – Connection Strings For .NET

April 9, 2008
Pinal Dave
SQL Tips and Tricks
SQL Utility

SQL Server 2005 connection strings for .NET, ODBC and OLE DB with SQL Native Client: standard security, trusted connection and named instance examples.

Read More
SQL SERVER - Change Order of Column In Database Tables

SQL SERVER – Change Order of Column In Database Tables

April 8, 2008
Pinal Dave
SQL Tips and Tricks

How do you change the order of column in a database table? SQL Server has no direct way, and I explain when column order matters and when it should not.

Read More
SQL SERVER - 2005 - Restore Database Using Corrupt Datafiles (.mdf and .ldf)

SQL SERVER – 2005 – Restore Database Using Corrupt Datafiles (.mdf and .ldf)

April 7, 2008
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Data Storage

Can you restore database using corrupt datafiles when there is no full backup and both .mdf and .ldf are damaged? My honest answer and the one thing to try.

Read More
Best Practices

SQL SERVER – 15 Best Practices for Better Database Performance

April 6, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server

Best practices for better Database Performance: keep only needed data, normalize tables, use lookup tables and small primary keys. I list 14; you suggest the 15th.

Read More
SQL SERVER - 2005 - Transferring Ownership of a Schema to a User

SQL SERVER – 2005 – Transferring Ownership of a Schema to a User

April 5, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

Transferring ownership of a schema to another user in SQL Server 2005 takes one ALTER AUTHORIZATION ON SCHEMA statement. A reader asked, so here it is.

Read More
Previous 1 … 765 766 767 768 769 770 771 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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