กลับไปหน้าบทความ

อ่าน 2 นาที

Varchar

ชนิดข้อมูล/ต้นขั้วฐานข้อมูล/SQL

A VARCHAR or variable character field is a set of characterdata of indeterminate length.

Varchar

A VARCHAR or variable character field is a set of characterdata of indeterminate length. The term varchar refers to a data type of a field (or column) in a database which can hold letters and numbers.[1] Varchar fields can be of any size up to a limit, which varies by databases: an Oracle 11g database has a limit of 4000 bytes,[2] a MySQL 5.7 database has a limit of 65,535 bytes (for the entire row)[3] and Microsoft SQL Server 2008 has a limit of 8000 bytes (unless varchar(max) is used, which has a maximum storage capacity of 2 gigabytes).[4]

nvarchar is a variation of varchar,[5] and which is more suitable depends on the use case.

See also

Retrieved from "https://en.wikipedia.org/w/index.php?title=Varchar&oldid=1324155377"

สรุปเนื้อหา

ข้อมูลสำคัญจากบทความ

ข้อมูลสำคัญเกี่ยวกับ Varchar

A VARCHAR or variable character field is a set of characterdata of indeterminate length.

See also

SQL data types Retrieved from "https://en.wikipedia.org/w/index.php?title=Varchar&oldid=1324155377"