New Domain - My blog has a new domain name gethynellis.com
About a year ago I started to write a blog, previously to that, for about three years I had been...
2010-11-28
608 reads
About a year ago I started to write a blog, previously to that, for about three years I had been...
2010-11-28
608 reads
The results of the SQLServerPedia Awards 2010 are out....I was nominated in two categories and I won the "New to...
2010-11-10
1,088 reads
I wasn’t going to make a special effort for the one hundredth post on my blog, I was intending to...
2010-11-05
774 reads
I have been catching up on some blog posts and I read a few posts by well known bloggers like...
2010-11-04
591 reads
I got asked a question today that I though was quite interesting. If my backup starts at 6pm and it...
2010-11-04
680 reads
WOW this is the 12th TSQL2Sday albeit this month’s is week early because of the PASS summit next week, so...
2010-11-02
626 reads
Some friends of mine decided to support the Movember charity this year. I would try and explain what Movember is...
2010-11-01
708 reads
In order to be able to execute bulk operations you need to certain level of privilege both on the database...
2010-10-28
32,591 reads
About two weeks ago my good friend and former colleague Justin Hostettler-Davie -JHD (Blog | Twitter) asked me via my wife...
2010-10-18
774 reads
A SQL Server database can be in one of three recovery models. FULL, BULK_LOGGED and SIMPLE. The recovery model you...
2010-10-12
1,940 reads
Do you know if your SQL Server is really running at its best? To...
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...
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