Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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: 1572 | 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

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones