Happy Thanksgiving Readers!
I wanted to take a moment and wish an easy week in the office and a Happy Thanksgiving to everyone!
The...
2018-11-19
225 reads
I wanted to take a moment and wish an easy week in the office and a Happy Thanksgiving to everyone!
The...
2018-11-19
225 reads
I ran across an interesting property set in a SQL Server database for a customer, the property is called “Trustworthy”. ...
2018-11-29 (first published: 2018-11-19)
25,828 reads
Be sure to subscript to our RSS feed to keep up with the latest SQL Server news and tips!
http://vitamindba.com/feed/
The post...
2018-11-16
294 reads
As a SQL Server DBA it is important to understand why and how the SQL engine works. Understanding as much...
2018-11-13
2,812 reads
Statistics on database objects are very important to the SQL Server engine optimizing execution plans and running at the most...
2018-11-06
293 reads
Creating a table to be in memory compared to standard tables that use the files on disk can have several...
2018-11-13 (first published: 2018-10-31)
7,629 reads
As DBA’s we are sometimes put in a rock and hard place when it comes to database performance. This situation...
2018-11-06 (first published: 2018-10-29)
4,518 reads
This week’s post will be a short one to talk about a very helpful stored procedure in SQL Server called...
2018-08-30
274 reads
Sometimes the SQL logs and application logs provide some great info in regards to errors and issues. When building an...
2018-08-22
4,974 reads
Over the last few days we have been tracking down the cause of some really high async network IO waits. ...
2018-08-30 (first published: 2018-08-15)
2,980 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