Robert Hartmann

My name is Robert Hartmann. I am an M.Sc Computer Science graduate with a specialization in databases. I've worked as a DBA for 2 years now, and recently earned an MCSA certification in SQL Server 2012. My focus of interests regarding SQL Server lies in in-depth knowledge as well as query optimizing and tuning, though I also sometimes work with SSAS and SSIS. I try to be as simple as possible in my writing in order to reach as many interested readers as I can.
Outside of work, I have a beautiful son and am married enjoying my family. You can follow me on twitter, or simply subscribe to my RSS feed on http://dirtyread.de/.

Blogs

SQL Server 2025 GAs Today

By

If you aren’t watching the Ignite keynotes today, then you might have missed the...

Run SQL Server 2025 and SQL Server Management Studio on macOS Tahoe

By

Short version You want to get this running as fast as possible. Do these...

The Roundup for T-SQL Tuesday #192

By

Last week I asked you to write about SQL Server 2025 and what things...

Read the latest Blogs

Forums

The case for "Understanding our business" training

By David.Poole

Comments posted to this topic are about the item The case for "Understanding our...

Specifying the Collation

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Specifying the Collation

SQL Server 2025 has arrived!

By bobward

Comments posted to this topic are about the item SQL Server 2025 has arrived!

Visit the forum

Question of the Day

Specifying the Collation

I am dealing with issues on my SQL Server 2022 instance related to collation. I have an instance collation of Latin1_General_CS_AS_KS_WS, but a database collation of Latin1_General_CI_AS. I want to force a few queries to run with a specified collation by using code like this:

DECLARE @c VARCHAR(20) = 'Latin1_General_CI_AS'

SELECT  p.PersonType,
        p.Title,
        p.LastName,
        c.CustomerID,
        c.AccountNumber
 FROM Person.Person AS p
 INNER JOIN Sales.Customer AS c
 ON c.PersonID = p.BusinessEntityID
 COLLATE @c
Will this solve my problem?

See possible answers