Thank this author by sharing:
By Jacob Sebastian,
The challenge idea is taken from a problem discussed in the MSDN TSQL forum. The database field contains long string with data for Quantity and Parts. The challenge is to parse the data into separate (Quantity and Parts) fields for displaying in a report. The Quantity of Parts is placed before the hyphen (-) and the Part number after the hyphen. If there is more than one part, each part is separated by a semi-colon.
The challenge is to create a query for a report that show expiring material
Cursors are bad! Can this be set based?
A strange T-SQL challenge - At least to me
Comments posted to this topic are about the item [B]TSQL Challenge 74 - Find the expiring quantity ...
Thanks for your time.
I only have basic info about Sql Server database handling. What I ne...
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.