SQL Server Trace Events
I answered a forum post the other day over on SSC on the differences between the trace events stmtcompleted and...
2010-02-11
2,941 reads
I answered a forum post the other day over on SSC on the differences between the trace events stmtcompleted and...
2010-02-11
2,941 reads
I have been having an IO subsystem issue recently and I found the whitepapers very useful and wanted to post...
2010-02-09
776 reads
This is a short post on SQL Server storage best practice and what i have learned over the years… Much...
2010-02-07
1,335 reads
Useful link. This is a great best practice article/white paper from Tom Davidson and Danny Tambs.
The word document (880kb) can...
2010-02-07
584 reads
The default trace in SQL Server is something I have been experimenting with lately. It is a feature included in...
2010-02-04
3,861 reads
I recently watched Steve Jones’ (Blog | Twitter) "Building a better blog" presentation from the 24 hours of PASS virtual conference...
2010-02-02
839 reads
I recently discovered the Professional Association of SQL Server (PASS) virtual chapters. For those of you who struggle to make...
2010-01-31
2,023 reads
I was going to spend today finishing off some SQL Server related blog posts, I currently have a list of...
2010-01-30
1,645 reads
This is just a very short post regarding the use of wildcards in a WHERE Clause
It is possible that the...
2010-01-27
586 reads
I run into a small issue at the end last week, a CHECKDB job was reporting corruption on one of...
2010-01-24
657 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