Re: VarChar VS. nVarChar
- From: "Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx>
- Date: Wed, 9 Jan 2008 15:16:36 -0700
Heh, well, I guess if the things I'm trying to figure out now are things that "experts" have conflicting ideas about, then I must finally be starting to pick this stuff up. :-)
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
"Jay" <-> wrote in message news:%23%23sUAOwUIHA.3556@xxxxxxxxxxxxxxxxxxxxxxx
This may be a bit dated, but in my "Inside SQL Server 7.0" book (1999) it
strongly advises using the least amount of storage in a row. The less you
store, the more rows you can fit in a page, so the fewer disk accesses you
need - these are the things that take time.
"Andrew Backer" <awbacker@xxxxxxxxx> wrote in message
news:67f4065d1d35a8ca20c2beb695ef@xxxxxxxxxxxxxxxxxxxxx
Unless I was working on a really memory constrained system I would use
NVarChar.
And if the system was that memory constratined, i probably wouldn't be
using
SQL Server. So far I have never used varchar other than when I needed the
extra size for something, just to e safe, and didn't want the hastle of
dealing
with 'text' and 'ntext' types. DB stored html pieces is one case.
If you have too much data then you could just use varchar, but I doubt that
is actually the case for you. Just think, with these damn 64 bit machiens,
all our ints are going to double in size too :(
Go with nvarchar unless there is a real reason not to.
// Andrew
I'm just curious how many people use the Unicode string types for
their data.
At this stage, it doesn't seem needed and takes up about twice the
storage. Am I better off using nVarChar, or is VarChar just fine?
Thanks.
.
- Follow-Ups:
- Re: VarChar VS. nVarChar
- From: Andrew Backer
- Re: VarChar VS. nVarChar
- References:
- VarChar VS. nVarChar
- From: Jonathan Wood
- Re: VarChar VS. nVarChar
- From: Andrew Backer
- VarChar VS. nVarChar
- Prev by Date: Re: VarChar VS. nVarChar
- Next by Date: Re: VarChar VS. nVarChar
- Previous by thread: Re: VarChar VS. nVarChar
- Next by thread: Re: VarChar VS. nVarChar
- Index(es):
Relevant Pages
|