Viewing 2 posts - 2,461 through 2,463 (of 2,463 total)
I started with the first few:
Create Sample Data:
CREATE table x(Value varchar(20))
INSERT INTO x VALUES
('a'),
('A'),
('NULL'),
('NULL xxx'),
('113Y'),
('111Y'),
('1')
-- 1. string starts with 3 digit same number Example 111Y,333Y, 555 H etc
-- a....
-- Itzik Ben-Gan 2001
July 6, 2012 at 5:01 pm
This is a very interesting quandary indeed. I am sure this can be done using a little less code but here is what I came up with:
SET NOCOUNT ON
GO
/***********************************************************************
1) Create...
-- Itzik Ben-Gan 2001
June 29, 2012 at 9:47 am
Viewing 2 posts - 2,461 through 2,463 (of 2,463 total)