This challenge refers to sanitizing text data. Your task is to read an alphanumeric string and create two output columns one containing all the digits found in the input string and the other with all the letters of the English Alphabet. Sample Input Data
Id AlphanumericData
-- ---------------------------------------------------------------------
1 I would like to invite my readers to participate in a TSQL Challenge.
2 You will receive 12 records
3 1234567Expected Result
Id AlphanumericData Numbers Alphabets
-- -------------------------- --------- ------------------------------
1 I would like to invite my No Number Iwouldliketoinvitemyreaders
readers to participate in Found toparticipateinaTSQLChallenge
a TSQL Challenge.
2 You will receive 12 records 12 Youwillreceiverecords
3 1234567 1234567 No Alphabets Found Read more: Beyond Relational
Id AlphanumericData
-- ---------------------------------------------------------------------
1 I would like to invite my readers to participate in a TSQL Challenge.
2 You will receive 12 records
3 1234567Expected Result
Id AlphanumericData Numbers Alphabets
-- -------------------------- --------- ------------------------------
1 I would like to invite my No Number Iwouldliketoinvitemyreaders
readers to participate in Found toparticipateinaTSQLChallenge
a TSQL Challenge.
2 You will receive 12 records 12 Youwillreceiverecords
3 1234567 1234567 No Alphabets Found Read more: Beyond Relational
0 comments:
Post a Comment