ntext

Variable-length Unicode data with a maximum length of 230 - 1
(1,073,741,823) characters. Storage size, in bytes, is two times the number
of characters entered. The SQL-92 synonym for ntext is national text.

text

Variable-length non-Unicode data in the code page of the server and with a
maximum length of 231-1 (2,147,483,647) characters. When the server code
page uses double-byte characters, the storage is still 2,147,483,647 bytes.
Depending on the character string, the storage size may be less than
2,147,483,647 bytes.

char[(n)]

Fixed-length non-Unicode character data with length of n bytes. n must be a
value from 1 through 8,000. Storage size is n bytes. The SQL-92 synonym for
char is character.

varchar[(n)]

Variable-length non-Unicode character data with length of n bytes. n must be
a value from 1 through 8,000. Storage size is the actual length in bytes of
the data entered, not n bytes. The data entered can be 0 characters in
length. The SQL-92 synonyms for varchar are char varying or character
varying.

Gruss,

Caroline



-----Original Message-----
From: Michael Rueetschli [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2002 09:08
To: ASP Diskussionsliste fuer Anfaenger
Subject: [aspdebeginners] Datentyp in SQL


Hallo Liste

Ich habe bis jetzt eigentlich immer mit access gearbeitet, nun aber mit SQL
7.
Mein Problem sind jetzt die Datentypen. In Access hatte ich felder wie Memo,
text usw. nun sind es aber ein paar mehr geworden... 

weiss jemand wo ich (wenn m�glich deutsche) anleitung finde zu diesen
datentypen?

Oder kann mir so jemand den unterschied zwischen
ntext
text
nchar
varchar

Oder weleches ist das besste f�r viel text und welches f�r bis zu 10
stellige zahlen?

Danke sch�n

michael rueetschli


| Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/
| [aspdebeginners] als [EMAIL PROTECTED] subscribed
| http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv
| Sie knnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

_____________________________________________________________________
Privileged/Confidential Information may be contained in this message.
If you are not the addressee indicated in this message (or responsible
for delivery of the message to such person), you may not copy or 
deliver this message to anyone. In such case, you should destroy this 
message and kindly notify the sender by reply email. Please advise 
immediately if you or your employer does not consent to Internet email 
for messages of this kind.  Opinions, conclusions and other information 
in this message that do not relate to the official business of my firm 
shall be understood as neither given nor endorsed by it.

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp

| Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/
| [aspdebeginners] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv
| Sie knnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp

Antwort per Email an