Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Character Data Types
Message
From
14/02/2002 06:39:45
 
 
General information
Forum:
Microsoft SQL Server
Category:
Database design
Miscellaneous
Thread ID:
00619696
Message ID:
00619911
Views:
11
Does a varchar put additional overhead on the dbms making it store an offset value for each row?


>>> If this is the case can someone tell me why char is the default?
>
>I can't.
>
>>> What do y'all like to use a preference for basic text?
>
>nvarchar()
>
>When dealing with SQL Server 6.5, it was perferable to use a fixed, non-nullable datatype, like CHAR. I don't remember the exact reason but it had to do with the way that the row was organized on the page.
>
>For SQL Server 7.0 and later, those issues were addressed. Most recommendations that I have seen list using varchar() over char().
>
>-Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform