In order to use UNION, the column list for all the SELECTS must be the same (at least in type/length), since it's returning a single resultset; you're basically trying to return both the email and the ...
A free tool to reduce coding for developers who like to surface T-SQL database recordsets in a simple collection of customized POCO objects. Every so often, I find myself wishing that I had a utility ...
Database performance is rarely a single "fix it and forget it" task. SQL Server workloads shift over time. A sluggish ...
Dynamic SQL lets you create a query string based off of user input. SQL Server allows you to create dynamic SQL statements. The statements use a SQL string varchar data type, then you execute the ...
When you use index views in the right situations, they can dramatically improve the performance of SQL Server queries. Tim Chapman explains why performance testing is the best way to tell if indexed ...
I've been playing around with the new Microsoft service, currently in preview and it's time to show off what it can do. Have you ever struggled with a database performance problem or ever struggled to ...
Microsoft's MSSQL extension v1.45 previews a configurable T-SQL formatter while two existing features reach GA.
Microsoft has just added support for query hints to Azure SQL Database, giving database administrators a powerful tool to manage the performance of ISV application code. Here's how it works. Database ...
I have a big old view I'm working on that has a WHERE clause limiting the results to one type of document: I get a bunch of 'Bar' documents, and to get them, I have to specifically name them and them ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results