Friday Reading 2018-01-11
Phew, what a week! Have been looking for a new flat to live so it’s been a bit mad. Have...
2018-01-12
307 reads
Phew, what a week! Have been looking for a new flat to live so it’s been a bit mad. Have...
2018-01-12
307 reads
Last week I was working on a couple of SQL instances that contained databases which were part of an Always...
2018-01-10
477 reads
Hey everyone, hope you all had a great Christmas and New Year!
I took December off from blogging as had started...
2018-01-08
353 reads
I know, I know, there’s loads of different ways to test the configuration of SQL Server but I’ve started playing...
2017-12-13 (first published: 2017-11-29)
1,835 reads
Fun week, lots of stuff to organise and prepare for! Whilst I’ve had some downtime I’ve been reading…
Write your first...
2017-11-17
285 reads
I’ve previously blogged about running SQL Server in ACS but Microsoft has now released a new version still called Azure...
2017-11-15
985 reads
I find it absolutely amazing that I’ve been writing this blog for four years. My first ever post My 5...
2017-11-13
223 reads
Morning all! PASS Summit is coming next week but unfortunately I can’t make it this year. I hope everyone who...
2017-10-27
407 reads
At SQL Saturday Holland a few weeks ago I was (surprise, surprise) chatting about containers and mentioned that I hadn’t...
2017-11-06 (first published: 2017-10-25)
1,744 reads
Over the last few weeks I’ve spoken at a few conferences, the last of those being SQL Relay.
For those of...
2017-10-23
280 reads
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...
By Chris Yates
Artificial intelligence is no longer a distant concept. It is here, embedded in the...
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...
At work we've been getting better at writing what's known as GitHub Actions (workflows,...
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