General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2012
>>I'm planning a database in MySql and wonder what are the pertinent considerations of using char, varchar, nchar and nvarchar for fields.
>>
>>I read for example that char(6) pads right with spaces when saving but reads without trailing spaces, whereas varchar saves the exact number of trailing spaces and reads them back. What would you recommend as good practice to convert dbf tables? How about totally new tables?
>>
>>TIA,
>>
>>Alex
>
>I recommend using varchar columns if you need variable length and the column size is greater than 4.
Thank you Naomi,
Alex
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only