SQLServerCentral Article

Eliminating Cursors

T-SQL does some things wonderfully, but cursors are the bane of the language, often causing performance issues. Changing your queries around to remove cursors can be tricky and new author Kamran Ali brings us one technique he has used to dramatically improve performance.

External Article

Close these Loopholes - Reproduce Database Errors

This is the final part of Alex's ground-breaking series on unit-testing Transact-SQL code. Here, he shows how you can test the way that your application handles database-related errors such as constraint-violations or deadlocks. With a properly-constructed test-harness you can ensure that the end-user need never see the apparent gobbledegook of database system error messages, and that they are properly and robustly handled by the application.

Technical Article

Security Overview for Database Administrators

SQL Server 2008 is secure by design, default, and deployment. Microsoft is committed to communicating information about threats, countermeasures, and security enhancements as necessary to keep your data as secure as possible. This paper covers some of the most important security features in SQL Server 2008. It tells you how, as an administrator, you can install SQL Server securely and keep it that way, even as applications and users make use of the data stored within.

Blogs

AI Center of Excellence: How to build one in 90 days

By

A practical guide to building an AI Center of Excellence, from choosing the right...

Monday Monitor Tips: Cloud Migration

By

We added costing information awhile back to Monitor for your cloud VM estate. We’ve...

Word to the wise: don’t turn on SQL vulnerability checks on a blog about SQL

By

Recently, in an attempt to thwart leechers (1990s kids will know), I added some...

Read the latest Blogs

Forums

Layanan BCA KCP Curup TELP//CS 0823 7845 7012

By Halo_BCA

TELP//CS 0823 7845 7012 Jl. Merdeka No.151, Ps. Tengah, Kec. Curup, Kabupaten Rejang Lebong,...

Layanan BCA KCP Pecenongan TELP//CS 0823 7845 7012

By layanan 24jam BCA

TELP//CS 0823 7845 7012 Jl. Pecenongan No.86, RT.2/RW.4, Kb. Klp., Kecamatan Gambir, Kota Jakarta...

The Speed of Count

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Speed of Count

Visit the forum

Question of the Day

The Speed of Count

Which of these might run quicker on the AdventureWorks database in SQL Server 2025?

-- A
select count(*) from AdventureWorks.Sales.OrderDetail

-- B
select count(1) from AdventureWorks.Sales.OrderDetail

-- C
select count(OrderDetailID) from AdventureWorks.Sales.OrderDetail

See possible answers