SQL Server General DBA

Overview of the SQL Server Security Model and Security Best Practices

This article discusses the security model of Microsoft SQL Server 7.0 and 2000, along with security best practices to help you secure your data. Special thanks to my friend Divya Kalra for her valuable input and content review.Security is a major concern for the modern age systems, network, and database administrators. It is natural for […]

SQL Server 7.0 Undocumented Stored Procedures

In this article, I want to tell you about some useful undocumented stored procedures shipped with SQL Server 7.0. sp_columns_rowsetThis stored procedure returns the complete column description, including the length, type, name, and so on. Syntax sp_columns_rowset table_name [, table_schema ] [, column_name] where table_name - is the table name, table_name is sysname. table_schema – is […]

SQL Server Replication from 6.5 to 2000

These are the steps needed to successfully establish transactional replication from SQL Server 6.5 to 2000. They has been tested and are known to successfully work. This article assumes you have some previous experience with SQL Server replication. Prepare publishing server/database Set subscribing servers Update sp_articleview in master (6.5) Publish tables Configure security on 2000 […]

Data Page Structures in SQL Server 6.5

In this article, I want to tell you about data page structure in MS SQL Server 6.5, which are substantially different that what you currently find in SQL Server 7.0 and SQL Server 2000.There are five kinds of pages in MS SQL 6.5: Data pages Index pages Allocation pages Text/Image pages Distribution pages The size […]

How to Troubleshoot SQL Server 7.0 Installation Issues

Should you have problems installing SQL Server 7.0, review this troubleshooting checklist to find potential solutions. 1. Check the Hardware RequirementsYou should have: Alpha AXP, Intel or compatible platform Pentium 166 MHz or higher (Pentium Pro, Pentium II and compatible) 32MB RAM (minimum), 64MB RAM and more (recommended) 180MB (full installation), 170MB (typical), 65MB (minimum) […]

How Updates are Performed in SQL Server 6.5

SQL Server 6.5 can use two different methods to update records, depending on the circumstances. They include: Direct Update Deferred Update Each method affects performance in a different way, as we shall see in this article.A Direct Update includes three different methods of modification: In-place update On-page delete/insert Full delete/insert Think of these above three […]

Creating Logins for Databases Restored to a Replacement SQL Server

In planning to migrate our production server from SQL Server 7.0 to SQL Server 2000, we decided to repartition the hard drives, reinstall Windows 2000 Advanced Server, and install SQL Server 2000. To handle the web traffic with minimal interruption, we planned to backup all ten production databases and restore them to a temporary replacement […]

Start Preparing Today for the SQL Server 2000 Enterprise Certification Exam

If you plan to take the upcoming “Installing, Configuring, and Administering Microsoft SQL Server 2000 Enterprise Edition” (Exam 70-228) exam, which is scheduled to be released in January 2001, you will want to start preparing now.I has fortunate enough to be invited to take the beta test for this exam last November, and while I […]

SQL Server 6.5 Useful Undocumented Stored Procedures

In this article, I want to tell you about some useful undocumented stored procedures shipped with SQL Server 6.5. sp_fixindex This stored procedure can be used to fix a corruption in a system table by recreating the indexes on the system table. This is an example: EXEC sp_fixindex pubs, sysindexes, 2 sp_lock2 As a SQL […]

Compare SQL Server Databases with sp_CompareDB

Editor’s Note: Not only has this author produced a very useful stored procedure to compare SQL Server database structure and data, his code provides valuable insights in to how to write advanced Transact-SQL code. This article include much of the thought process used when the author created the sp_CompareDB stored procedure. Even if you don’t […]
Software Reviews | Book Reviews | FAQs | Tips | Articles | Performance Tuning | Audit | BI | Clustering | Developer | Reporting | DBA | ASP.NET Ado | Views tips | | Developer FAQs | Replication Tips | OS Tips | Misc Tips | Index Tuning Tips | Hints Tips | High Availability Tips | Hardware Tips | ETL Tips | Components Tips | Configuration Tips | App Dev Tips | OLAP Tips | Admin Tips | Software Reviews | Error | Clustering FAQs | Performance Tuning FAQs | DBA FAQs |