Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

TSQL Challenge 71 - Play mangled words game in TSQL

By Jacob Sebastian,

TSQL Challenge 71 - Play mangled words game in TSQL

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. You might be able to create more than one correct word from some of the input strings. It is also possible that a mangled word is completely incorrect and no valid word can be created from it.

As an example, given "xtet", the valid word that can be formed is "text".

http://beyondrelational.com/puzzles/challenges/105/play-mangled-words-game-in-tsql.aspx

Total article views: 1353 | Views in the last 30 days: 2
 
Related Articles
FORUM

Username Validation

Username Validation

FORUM

Validation warning.

Validation warning.

FORUM

stored procedure is valid or not valid.

stored procedure is valid or not valid.

FORUM

Importing Validation

Import Xcell Spreadsheet and validate

FORUM

Subscription failed validation.

Why subscription fails validation?

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