Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Field-length
Message
De
07/02/2001 07:23:08
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Divers
Thread ID:
00472915
Message ID:
00473365
Vues:
22
You've not provided enough information to make any real judgement. Step through the following script using the Query Analyzer.
CREATE TABLE x (
	y VARCHAR(30) NULL
)

INSERT INTO x VALUES (REPLICATE('Q', 10))
SELECT DATALENGTH(y) FROM x

UPDATE x SET y = REPLICATE('T', 15)
SELECT DATALENGTH(y) FROM x
-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform