Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
911 connectés 

  FORUM HardWare.fr
  Programmation
  SQL/NoSQL

  [SQLSERVER] Champ en caracteres illimites ???

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[SQLSERVER] Champ en caracteres illimites ???

n°667561
naru75
Posté le 08-03-2004 à 17:35:37  profilanswer
 

Jaimerai un champ avec un nombre de caracteres illimites  
 
l'equivalence de memo en access je le voudrais en sql server en fait !
en ntext 16 lorsque je colle des trucs trop long j'ai du vide :/
 
quel type faut il prendre pour cela ?

mood
Publicité
Posté le 08-03-2004 à 17:35:37  profilanswer
 

n°667780
MagicBuzz
Posté le 08-03-2004 à 20:59:35  profilanswer
 

Utilise text et non pas ntext, ntext ça sert qu'à stocker du texte unicode, et du coup la capacité est plus petite.
 
Sinon, ton propblème vient d'ailleurs, parcequ'un champ text (ou ntext) accèpte 1 à 2 Go de données...
 

Citation :

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.


Message édité par MagicBuzz le 08-03-2004 à 21:00:00

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  SQL/NoSQL

  [SQLSERVER] Champ en caracteres illimites ???

 

Sujets relatifs
[PHP/SQL] Addition de valeur numérique d'un champ d'une tableVB-ACCESS fonction rechercher dans un champ
[VB] chaines de caracteres avec des caractere specio (")prog. windows : contrôles d'édition et polices de caractères
[HTML/JS] Modifier la valeur d'un champ depuis une autre fenetre[Réglé] cacher un champ
lecture d'un champ BLOBTDHTMLEdit pb utilisation des caractères spéciaux
[DOS] Renommer des fichiers + ajout de chaine de caractères[SQL] Distinct sur un champ
Plus de sujets relatifs à : [SQLSERVER] Champ en caracteres illimites ???


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR