Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

TSQL Challenge 76 - Identify the sequence of accounting transactions

By Jacob Sebastian,

TSQL Challenge 76 - Identify the sequence of accounting transactions

The challenge is to identify the sequence of accounting transactions. The table has data which is ordered. You need to follow the order of the data, and detect a certain condition which lasts for a sequence of data rows, you need to give these data points a common which uniquely identifies the sequence, possibly together with other keys in the data.

http://beyondrelational.com/puzzles/challenges/110/identify-the-sequence-of-accounting-transactions.aspx

 
Total article views: 1583 | Views in the last 30 days: 2
 
Related Articles
SCRIPT

Identify Missing Sequence/Identity Numbers

This script is used to identify the missing sequence numbers or identity numbers.

FORUM

Best code for generating sequence numbers

Sequence generation

ARTICLE

TSQL Challenge 67 - Find the longest sequence of alphabets in a string

This challenge invites you to identify the largest sequence of alphabets from a string.

FORUM

identify which user creates the foreign key (creator name)

identify which user creates the foreign key (creator name)

ARTICLE

TSQL Challenge 70 - Find the longest sequence of alphabets in a string

This challenge invites you to identify the longest sequence of alphabets from a string.

Tags
 
Contribute