TSQL Challenge 76 - Identify the sequence of accounting transactions
The challenge is to identify the sequence of accounting transactions.
2012-02-20
1,625 reads
The challenge is to identify the sequence of accounting transactions.
2012-02-20
1,625 reads
The challenge is to find the Episode and Sequence based on interval.
2012-02-06
1,268 reads
The challenge is to create a query for a report that show expiring material
2012-01-23
920 reads
The challenge is to wrap the text by specified position.
2012-01-09
2,883 reads
This challenge invites you to solve a payroll challenge which requires to calculate the number of hours employee worked in a week.
2011-12-26
1,815 reads
Your task is to process the input table that contains several mangled words and try to 'un-mangle' them and validate them against a 'dictionary' table.
2011-12-12
1,393 reads
This challenge invites you to identify the longest sequence of alphabets from a string.
2011-11-28
975 reads
Your job is to write a TSQL query that returns the advertisements most relevant to each web page given in the source table.
2011-11-14
597 reads
This challenge invites you to Generate kaprekar kernel or series from numbers.
2011-10-31
880 reads
This challenge invites you to identify the largest sequence of alphabets from a string.
2011-10-17
932 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