Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Re: Performance...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 10993 of 11517
Post > Topic >>

Re: Performance question concerning varchar(max)

by Hugo Kornelis <hugo@[EMAIL PROTECTED] > Apr 23, 2008 at 08:44 PM

On Wed, 23 Apr 2008 07:17:30 -0700 (PDT), Bill E. wrote:

(snip)
>I would think that the optimizer would first use the index on
>QuestionID and this would eliminate the "baggage" of having to sort
>through the responses to long questions in the AnswerText column but
>perhaps this isn't the case.

Hi Bill,

I'd think so too.

The only way to be sure is to test it. Preferably on the same hardware
and with the same data that your production system willl use.

Frankly though, I see no reason to choose the extra column. I do wonder
however if the column for the answer really has to be varchar(MAX). Are
you actually expecting ever to get answers over 8,000 characters in
length? You are aware that an average Word do***ent has about 2,000
character per (full) page, are you?

-- 
Hugo Kornelis, SQL Server MVP
My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
 




 3 Posts in Topic:
Performance question concerning varchar(max)
"Bill E." <b  2008-04-23 07:17:30 
Re: Performance question concerning varchar(max)
Hugo Kornelis <hugo@[E  2008-04-23 20:44:13 
Re: Performance question concerning varchar(max)
"Bill E." <b  2008-04-25 07:57:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 22:08:28 CST 2008.