Re: JDBC - varchar or nvarchar fields?
- From: "Jack Vamvas" <delete_this_bit_jack@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 10 May 2006 10:59:07 +0100
what is the nature of the data you are storing?
varchar sores variable length non-Unicode
nvarchar stores variable length Unicode
Essentially if your not storing multilingual data use varchar , as nvarchar
takes up twice as much storage space.
--
----
Jack Vamvas
___________________________________
Receive free SQL tips - www.ciquery.com/sqlserver.htm
___________________________________
"D." <d@xxxxx> wrote in message news:e3qd4l$tri$1@xxxxxxxxxxxxxxxxxxxxxxxxxx
Hi, I'm starting a new application in java using JTDS jdbc driveruse
(http://jtds.sourceforge.net) and SQLServer 2005 Express.
I have to design the database from scratch and my doubt is if I have to
varchar or nvarchar fields to store string data.
Any experience about performance issues using nvarchar instead of varchar
(considering that Java internally works in unicode too)?
Thanks in advance,
Davide.
.
- References:
- JDBC - varchar or nvarchar fields?
- From: D.
- JDBC - varchar or nvarchar fields?
- Prev by Date: Re: Need Emergency Advice
- Next by Date: Re: Need Emergency Advice
- Previous by thread: JDBC - varchar or nvarchar fields?
- Next by thread: Re: JDBC - varchar or nvarchar fields?
- Index(es):
Relevant Pages
|
Loading