(Jeremy Kadlec) Tuning SQL Server for performance is in many ways like constructing a house. You must find a suitable location with rich soil, build a solid foundation to support two or three levels, install the electrical and plumbing, finish the walls for painting and decorating, and finally condu
Tag: sql server
Implementing the SQL Server Multiple Publishers and Central Subscriber Replication Topology
(Paul Ibison) This article describes how to set up the following topology where P1 and P2 are two different publishers and S is the central subscriber. This is a fairly typical requirement, e.g. the subscriber might be a head office and the publishers are each separate branch of a company. In th
Using SQL Server 2005’s New Web Services Capability
(Martin Heller) Imagine that you’re a developer at a company that wants to automate its warehouse inventory process. After the usual series of meetings, the managers agree with your original proposal to track the barcodes of every box in the warehouse. They equip the warehouse staff with hand-held P
SQL Server 2005 – SQL Server Integration Services – Loop Containers
(Marcin Policht) As we briefly mentioned in the previous installment of this series, among features introduced in the SQL Server 2005 Integration Services there are For and ForEach loops, implemented in the form of containers that can be incorporated into the Control Flow part of a package design. (
The undocumented sp_gettypestring stored procedure
(Serdar Yegulalp) SQL Server 2000 has a number of useful albeit undocumented (and therefore unsupported) stored procedures. Among them is the sp_gettypestring stored procedure, which can be used to return the type string for a column in a table. If you’re trying to use a program to determine what a
Data Portion and Used threshold
(Muthusamy Anantha Kumar) When Database Administrators manage multiple databases on multiple servers, it is difficult to keep track of and monitor the used percentage of data portion on every database. Though SQL Server has the capability of auto growth whenever the data portion reaches 100%, it is
Retrieving the First N Records from a SQL Query
(Scott Mitchell) There are often times when retrieving results from a database that you only are interested in displaying the first N records from the resulting query. For example, a news website might have a database table that contains a record for each story. On the news website’s homepage, they
Understanding replication methods: Snapshot, transactional and merge (Book Excerpt)
(Mark A. Linsenbardt and Shane Stigler) A replication method or replication type is a way of describing the actual replication process. Three basic methods of replication exist, and in some instances they can be combined to create custom solutions. At the heart of all replication schemes, you will f
WMI behavior change for June’s version of SQL Server 2005
(Larry Chesnut) Building with beta products always holds it own unique challenges, but then again, that’s what makes it fun for a lot of us. Solving problems not seen before is a pretty cool. I was reminded of that idea recently when I was trying to use our WMI demo with the latest CTP from June, ID
The identity crisis in replication columns
(Hilary Cotter) This article discusses three common problems DBAs are likely to encounter when replication columns have the identity property, which is defined as an attribute of int, smallint, bigint, decimal, numeric or tinyint columns that will auto-increment their value when data is inserted. Th
