Viewing 15 posts - 3,031 through 3,045 (of 4,081 total)
Good point, Jack. Although we do formatting at the db level for consistency, if you just stored phone numbers as integers, you would trim fat out of...
April 17, 2009 at 7:43 am
No problem, Jace 🙂
Several times, I've realized that I missed something significant in the original post. Surely it happens to other people too.
--------------
LD, you are quite welcome.
April 17, 2009 at 7:12 am
I'm really glad to hear that are you concerned about efficiency. Here are the tried and true ways to measure performance.
declare @timer datetime
Set statistics time on; ...
April 17, 2009 at 6:53 am
Note to self: Only drink water... in small sips... while reading The Thread.
April 17, 2009 at 6:42 am
Yes, John, you were.... and you were.
(applause, thunderous applause)
But now we're at 3501 and moving on towards 4,000... the moment was just too good to last.
April 16, 2009 at 8:52 pm
VARCHAR(MAX) is tough on Tally table and other pseudo-cursor solutions for a number of reasons.
So the answer is "It depends." No doubt you will be honest...
April 16, 2009 at 7:29 pm
You could also do this:
1. Use @TermPeriodId int = NULL in your parameters list.
2. Immediately following SET NOCOUNT ON;
set @TermPeriodId = isnull((select termperiodid from...
April 16, 2009 at 7:06 pm
Yes, new in 2005, CTEs are (for me) much easier to follow alternative to subqueries. They are like views that only exist for a single query. I...
April 16, 2009 at 6:02 pm
I'm part of the 1% of SQL humanity that hasn't read your article yet. Is it on your blog?
April 16, 2009 at 5:23 pm
Barry!! You're AWAKE !!
April 16, 2009 at 4:51 pm
One Thread to rule them all.
One Thread to find them.
One Thread to bring them all
and in the darkness bind them....
Glad you could join us, Flo.
April 16, 2009 at 4:49 pm
You didn't learn to program in RPG did you? 😀
I've used both SUBSTRING and STUFF. Lately I've stayed with STUFF. You should also test...
April 16, 2009 at 4:17 pm
While we're all scratching our heads, may I suggest that you simplify this a little by using a CTE up front to develop values? Use your existence test...
April 16, 2009 at 4:11 pm
You got extra points if it was a nasal coke spew.
You should get extra points... those suckers are painful !!
Pork chops... I don't even want to think about it. ...
April 16, 2009 at 3:01 pm
I'm not one to throw stones... especially where the word "fool" is involved 😉
By the way, the respect is returned.
April 16, 2009 at 2:34 pm
Viewing 15 posts - 3,031 through 3,045 (of 4,081 total)