Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Field-length
Message
General information
Forum:
Microsoft SQL Server
Category:
Database design
Miscellaneous
Thread ID:
00472915
Message ID:
00473365
Views:
23
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
Previous
Reply
Map
View

Click here to load this message in the networking platform