Counting more efficiently

Nearly a decade ago, I wrote a post called “Bad habits : Counting rows the hard way.” In that post, I talked about how we can use SQL Server’s metadata to instantly retrieve the row count for a table.
The post Counting more efficiently appeared first on SQLServerCentral.

Connecting SQL Server to SaaS applications with a Linked Server

But nowadays, most services are in the cloud. They're not on your servers; they're somewhere else. With most software-as-a-service (SAAS) offerings, you don't have many options to configure connectivity. What if you need data from one SaaS service into another?
The post Connecting SQL Server to SaaS applications with a Linked Server appeared first on SQLServerCentral.

Using a SQL Tokenizer

Imagine this: you have several directories full of SQL script files, and you need to know where a certain table is used. You’d rather like the context too, so you can check the whole SQL Expression and work out why it is running so slowly.
The post Using a SQL Tokenizer appeared first on SQLServerCentral.