SSC Editorial: Design a Better SQL Server Pricing Model
Design a Better SQL Server Pricing Model ran on January 21, 2016 and as you can guess from the title is...
2016-02-01
583 reads
Design a Better SQL Server Pricing Model ran on January 21, 2016 and as you can guess from the title is...
2016-02-01
583 reads
Quick reminder that the call for speakers for Orlando Code Camp is open through Feb 6 (next week!).
2016-01-29
1,079 reads
This ran a couple weeks ago (Turn Out The Lights) to see if I could spark a discussion about how/when/why...
2016-01-29
1,044 reads
I did my presentation on automated restores for the second time, changed a few things. It was/is a presentation with...
2016-01-22
643 reads
Late posting, so reduced notes!
Speaker party was good. Room was loud when full due to wood walls and nothing to...
2016-01-22
622 reads
I was interested/intrigued to see that we’ll have a Powershell Saturday on March 19th in Tampa. This will be the...
2016-01-05
615 reads
Over the past couple of days I’ve posted several times about the Advent of Code Contest and worked my way through...
2015-12-24
713 reads
Adding to my solution for #3 part 2, I finally got it, but I paid the price for not adding...
2015-12-23
687 reads
Part 1 isn’t bad. Parse a string that has direction indicators and track each location you stop at. I’m trying...
2015-12-23
968 reads
This one gives you a 1000 rows of package dimensions. You calculate the surface area needed for wrapping paper, plus...
2015-12-23
663 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...
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