Viewing 15 posts - 2,251 through 2,265 (of 3,957 total)
SQLRNNR (1/4/2013)
Like Dwain said,change this line
and n.Note like '%[0-9A-Za-z.][@] [0-9A-Za-z.]%'
to this
and n.Note like '%[0-9A-Za-z.][@][0-9A-Za-z.]%'
That space is definitely the problem because when you run the query below, it also returns no...
January 4, 2013 at 1:42 am
You should recheck my last post as I edited it.
You've got a space in the pattern string that could be impacting it.
January 4, 2013 at 12:20 am
tbmabry (1/4/2013)
It doesn't put...
January 4, 2013 at 12:17 am
Not sick of you. Just not understanding why this isn't working.
You've changed the INNER JOINs to a CROSS JOIN, which I wouldn't necessarily expect to return the same result,...
January 4, 2013 at 12:04 am
eugene.pipko (1/3/2013)
Sorry Dwain for not mentioning you. I just didn't test yours yet.
No problem... I'm used to toiling in obscurity. :hehe:
January 3, 2013 at 11:39 pm
ScottPletcher (1/3/2013)
CELKO (1/2/2013)
Since SQL is a database language, we prefer to do look ups and not calculations.
That "we" is undefined and thus meaningless. But people who have to...
January 3, 2013 at 11:38 pm
eugene.pipko (1/3/2013)
I needed to identify rows where tax id value contains same...
January 3, 2013 at 11:31 pm
tbmabry (1/3/2013)
--Get all the notes from the...
January 3, 2013 at 11:28 pm
Works for all those cases:
;WITH Notes (Note) AS (
SELECT 'This is a note with email within tomme@gmail.com this ending the note.'
UNION ALL SELECT 'stacey@comcast.net at the beginning with no spaces...
January 3, 2013 at 10:58 pm
What you posted doesn't look like mine, but based on the query you just posted, it should end up looking something like this:
WITH presel AS (
SELECT s.FirstName, s.LastName, c.CustomerNo,...
January 3, 2013 at 10:47 pm
SQLRNNR (1/3/2013)
dwain.c (1/3/2013)
SQLRNNR (1/3/2013)
dwain.c (1/3/2013)
tbmabry (1/3/2013)
January 3, 2013 at 10:07 pm
zombieisdead2020 (1/3/2013)
The generalizability is necessary.
I get 324 unique, fruity combos!
Because your solution return duplicate combos! you need to filter them.
For example see ComboNo IN (1,...
January 3, 2013 at 9:51 pm
SQLRNNR (1/3/2013)
dwain.c (1/3/2013)
tbmabry (1/3/2013)
January 3, 2013 at 9:50 pm
tbmabry (1/3/2013)
January 3, 2013 at 9:36 pm
zombieisdead2020 (1/3/2013)
I get 324 unique, fruity combos!
I think your result is not correct. Run you query with following sample data:
INSERT INTO #n_objects
SELECT 1, 'Apple' UNION ALL
SELECT 2, 'Orange' UNION...
January 3, 2013 at 8:52 pm
Viewing 15 posts - 2,251 through 2,265 (of 3,957 total)