Determine the Sharpness of a Word

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

use master
DECLARE @ VARCHAR(100)='GOLF'
SELECT
SUM(iif('P'=type,nullif(substring(
translate(@,'AVNZMWCUSO','4455662210'),
number,1),substring(@,number,1))-3,0))
FROM spt_values

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results