Quantcast
Channel: Substring In Sql | Automatic Website Traffic RSS
Viewing all articles
Browse latest Browse all 989

Finding all Palindromes Contained in Strings with SQL

$
0
0
SQL is a really cool language ... palindromes (word, palindrome, start, length) AS ( -- This part just creates the even/odd semantics SELECT word, substring(word, start, x), start, x FROM starts CROSS JOIN (VALUES(0), (1)) t(x) UNION ALL -- This part ...

Viewing all articles
Browse latest Browse all 989

Trending Articles