Tip: COLLATE for “Cannot resolve collation conflict” error
Some data professionals are VERY well versed with collation, and some never ever have to touch the concept. That second...
2014-03-17
555 reads
Some data professionals are VERY well versed with collation, and some never ever have to touch the concept. That second...
2014-03-17
555 reads
I read a terribly excited blog this morning by a guy who had just discovered Alt-F1 in SSMS. (If you don’t...
2014-03-14
630 reads
Fellow DBA: There are so many alerts! It takes me a long time to get through them all. How do...
2014-03-10
657 reads
I work in a lot of different offices and conference venues, in addition to my home office. At home, I need a...
2014-03-03
860 reads
SQL Server is a software product, right? And software has a history of having bugs, getting updates, and having support...
2014-02-24
562 reads
Ever since I worked in an office with adjustable standing desks, I’ve been thinking about getting a standing desk for...
2014-02-17
480 reads
We have here an easy, handy-dandy way to find out how much CPU is in use on your server. Of...
2014-02-10
544 reads
It’s been a long time since I’ve been a true newbie to a technology. There are plenty of things I...
2014-02-03
579 reads
Today let’s play around with the LIKE operator. Like, totally. Like, Introduction Like “determines whether a specific character string matches...
2014-01-27
728 reads
It’s awfully comforting to see all those backup and maintenance jobs in your SQL Agent list, isn’t it? It’d be...
2014-01-22
515 reads
You can find the slides of my session on the €100 DWH in Azure...
By Steve Jones
This value is something that I still hear today: our best work is done...
By gbargsley
Have you ever received the dreaded error from SQL Server that the TempDB log...
Hi everyone I am writing an SP where there is logic inside the SP...
Comments posted to this topic are about the item Planning for tomorrow, today -...
We have a BI-application that connects to input tables on a SQL Server 2022...
I try to run this code on SQL Server 2022. All the objects exist in the database.
CREATE OR ALTER VIEW OrderShipping AS SELECT cl.CityNameID, cl.CityName, o.OrderID, o.Customer, o.OrderDate, o.CustomerID, o.cityId FROM dbo.CityList AS cl INNER JOIN dbo.[Order] AS o ON o.cityId = cl.CityNameID GO CREATE OR ALTER FUNCTION GetShipCityForOrder ( @OrderID INT ) RETURNS VARCHAR(50) WITH SCHEMABINDING AS BEGIN DECLARE @city VARCHAR(50); SELECT @city = os.CityName FROM dbo.OrderShipping AS os WHERE os.OrderID = @OrderID; RETURN @city; END; goWhat is the result? See possible answers