MSSQLTips.com Kindle Contest
I'm always wary of contests to win free stuff, but the folks running MSSQLTips.com are legitimate (I write there as...
2011-08-04
1,038 reads
I'm always wary of contests to win free stuff, but the folks running MSSQLTips.com are legitimate (I write there as...
2011-08-04
1,038 reads
I grew up immersed in security. My father was a US Marine and going on and off base meant... security....
2011-08-03
1,228 reads
We recently ran into a case where connecting to a Windows Server 2003 server with SQL Server installed on it,...
2011-08-02
15,651 reads
This is part of a series of tips on how bad/rogue admins can get access to the data in your...
2011-07-28
2,171 reads
This is part of a series of tips on how bad/rogue admins can get access to the data in your...
2011-07-25
1,054 reads
This is part of a series of tips on how bad/rogue admins can get access to the data in your...
2011-07-22
1,367 reads
In a previous post I gave suggestions on how to get speaking credentials for consideration at a larger event, such...
2011-07-21
938 reads
This is part of a series of tips on how bad/rogue admins can get access to the data in your...
2011-07-21
728 reads
Yesterday I posted about manipulating group membership to get access to a SQL Server. Today comes attack vector #2: stealing an...
2011-07-14
1,187 reads
This is a series of blog posts about how administrators can gain access to SQL Server, even if you try...
2011-07-13
1,869 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