Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Are the Differences between CHAR and VARCHAR
What Are the Differences between CHAR and VARCHAR? - MySQL FAQs - Introduction to SQL Basics
✍: FYIcenter.com
CHAR and VARCHAR are both ASCII character data types by default. But they have the following major differences:
The table below shows you a good comparison of CHAR and VARCHAR data types:
Value CHAR(4) Length '' ' ' 4 bytes 'ab' 'ab ' 4 bytes 'abcd' 'abcd' 4 bytes Value VARCHAR(4) Length '' '' 1 byte 'ab' 'ab' 3 bytes 'abcd' 'abcd' 5 bytes
2007-05-11, 5216👍, 0💬
Popular Posts:
How To Control Horizontal Alignment? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells By...
How do we create DCOM object in VB6? Using the CreateObject method you can create a DCOM object. You...
How To Run Stored Procedures in Debug Mode? - Oracle DBA FAQ - Introduction to Oracle SQL Developer ...
What will happen in these three cases? if (a=0) { //somecode } if (a==0) { //do something } if (a===...
Which one of the following statements is TRUE in regard to overloading the ++ operator? 1 You cannot...