Viewing 15 posts - 361 through 375 (of 616 total)
That is true. There are some situations where this wouldn't work well but replacing thi:
SET @Master_Surname = LEFT(@Master_mkNormalisedName, CHARINDEX(',',@Master_mkNormalisedName)-1)
SET @Master_Forename = LEFT(SUBSTRING(@Master_mkNormalisedName, CHARINDEX(',',@Master_mkNormalisedName)+1,
LEN(@Master_mkNormalisedName)), CHARINDEX(',',SUBSTRING(@Master_mkNormalisedName,
CHARINDEX(',',@Master_mkNormalisedName)+1,LEN(@Master_mkNormalisedName)))-1)
SET @Master_MiddleName = REVERSE(LEFT(REVERSE(@Master_mkNormalisedName), CHARINDEX(',',REVERSE(@Master_mkNormalisedName))-1))
-- get...
February 5, 2013 at 4:42 am
Because I'm a stupid little boy!
Such an easy solution. Thanks mate.
February 5, 2013 at 4:18 am
So many views and no replies?! Where are the clever guys these days?! :crying:
February 5, 2013 at 4:05 am
Hah... loko this is what I had come up with but I got errors when I tried various combinations:
declare @string varchar(100) = 'surname, forename, middlename'
declare @string varchar(100) = ', forename,...
February 1, 2013 at 3:13 am
mickyT thanks so much for this! I forgot to thank you in my other thread!
Your help is much appreciated!
January 31, 2013 at 7:13 am
This I've answered my own question with this:
select postcode, LEFT(postcode,LEN(postcode)-3) + ' ' + RIGHT(postcode,3)
from flatrecord_SemiPerm
where PATINDEX('[A-Z][A-Z][0-9][0-9][0-9][A-Z]%', postcode) > 0
January 31, 2013 at 2:37 am
I should have been clearer with my problem definition!
The rules are as follows:
I have a string = 'A B C D EFG ProperWord QR S T'
I want to generate...
January 30, 2013 at 6:10 am
Thanks dwain.
You should see what I came up with lol... ii's shockingly bad compared to yours.
Mine has so many IF statments lol!
January 30, 2013 at 3:44 am
I've replaced the picture with XML text instead!
January 28, 2013 at 10:08 am
Yes, I have this covered in another section of the XML file where the match keys are defined.
Okay can you guys see both pictures now? I wonder if this is...
January 28, 2013 at 9:57 am
Thanks Chris.
I'm probably being stupid, but I've tried to modify the function so it works off a permanent table which looks like this:
And the function is changed to:
ALTER FUNCTION [dbo].[NoiseRemover]...
January 28, 2013 at 9:51 am
Okay can you see one of the pictures now?
January 28, 2013 at 9:44 am
I have a one table which contains various noise words which I would like to remove from the company name field before I generate my phoentic code. The list can...
January 28, 2013 at 8:26 am
Steven Willis (1/23/2013)
January 28, 2013 at 8:16 am
Viewing 15 posts - 361 through 375 (of 616 total)