Viewing 15 posts - 76 through 90 (of 252 total)
Hard to say without more details, but it's possible you're getting a number for the second argument of RIGHT that's negative, which causes it to fail.
Try this:
SELECT (LEN(LTRIM(RTRIM([address]))) - LEN(LTRIM(RTRIM((strtype)))))
FROM...
June 4, 2014 at 2:57 pm
Grant Fritchey (5/23/2014)
BWFC (5/23/2014)
May 23, 2014 at 9:57 am
djackson 22568 (5/19/2014)
hisakimatama (5/16/2014)
May 19, 2014 at 8:08 am
It's because you're not qualifying where the column is coming from in your IN clause; if you don't qualify the column, and it doesn't exist in the table in the...
May 16, 2014 at 3:27 pm
Hrm. Well, it's still rather early in my career (just under four years of being a DBA/Database programmer so far), but I'd say I've definitely failed so far, on...
May 16, 2014 at 10:00 am
Actually, I was already considering doing some index consolidation since you mentioned it in your last post, Jeff :-). Scripted out all of the indexes, and ran some tests.
I...
May 13, 2014 at 7:24 am
Alright, back in the office today, so I'm attaching two query plans here.
The first one is for a query like so:
SELECT Name FROM VoxcoSystem.dbo.tblObjects
WHERE ParentId = 137402
It pulls all workers...
May 12, 2014 at 8:12 am
Thanks for the reply, Jeff!
I promptly nixed the code in the original post and tossed it into a text file; sorry about that! I didn't realize the IFCode window...
May 10, 2014 at 10:57 am
Thanks for the interest in the problem, Gail!
The table has about 160,000 rows right now; the number of rows will vary on any given day, as they're added and deleted...
May 10, 2014 at 5:38 am
WayneS (5/7/2014)
hisakimatama (5/7/2014)
SQLRNNR (5/6/2014)
hisakimatama (5/6/2014)
SQLRNNR (5/6/2014)
hisakimatama (5/1/2014)
Anyone else from The Thread planning to...
May 7, 2014 at 11:15 am
Ugh. I've had nothing but bad management so far in my career. My current manager is quite the piece of work :-P. Everyone pretty much says that,...
May 7, 2014 at 7:23 am
SQLRNNR (5/6/2014)
hisakimatama (5/6/2014)
SQLRNNR (5/6/2014)
hisakimatama (5/1/2014)
Anyone else from The Thread planning to attend this...
May 7, 2014 at 7:16 am
SQLRNNR (5/6/2014)
hisakimatama (5/1/2014)
Anyone else from The Thread planning to attend this week's SQL...
May 6, 2014 at 12:44 pm
Whew! Alright, posting my findings back as I stated earlier, just a good while later :-D. I went to SQL Saturday Atlanta just this last weekend, and saw...
May 5, 2014 at 10:13 am
Oh, definitely! I'd be honored to speak with you :-). Atlanta's awfully busy itself, but it's kinda close to where I grew up, so it's great to have...
May 1, 2014 at 8:20 am
Viewing 15 posts - 76 through 90 (of 252 total)