Solution
DECLARE @LENGTH AS SMALLINT DECLARE @FOUND AS NVARCHAR(10) DECLARE @Value AS NVARCHAR(10) SET @LENGTH = LEN(@Value) WHILE @LENGTH > 0 AND @FOUND IS NULL BEGIN SET @FOUND = (SELECT ukRegion from __PostcodeRegions WHERE SUBSTRING(@Value, 1, @LENGTH ) = ukRegion AND LEN(__PostcodeRegions.postcode) = @LENGTH) SET @LENGTH = @LENGTH -1 END SELECT @FOUND AS FOUND_VALUE
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add helpdesk@awaken.io to your trusted senders list in your email software.