Thank this author by sharing:
By Jacob Sebastian, 2011/05/02
TSQL Challenge 55 - Multiply two very long decimal strings and return the product
We recently saw a number of challenges that deal with Binary, Decimal and Hexadecimal strings (TSQL Challenge 40 and 51). Here is yet another challenge that deals with Decimal strings, but presents a different problem.
Your task is to multiply two positive integer strings and return their product. The strings can be really long: up to 1024 digits :-)
http://beyondrelational.com/blogs/tc/archive/2011/05/02/tsql-challenge-55-multiply-two-very-long-decimal-strings-and-return-the-product.aspx
This challenge invites you to write a query that converts binary values into decimal format.
allow string and decimal from a varchar string
Comments posted to this topic are about the item [B]TSQL Challenge 55 - Multiply two very long deci...
This challenge invites you to identify the largest sequence of alphabets from a string.
This challenge invites you to identify the longest sequence of alphabets from a string.
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