What is field?

In database, rows or lines of a table have special names. Each line is called a "field". Each field has a special subject. Relational databases arrange data as sets of database records, also called rows. Each record consists of several fields; the fields of all records form the columns.
For example, in a "address list" database, such as "Name", "Phone", "Address", "Post ZIP" and so on, these are table attributes shared by all rows, so these lines are called as "Name" field, "Phone" field, "Address" field, "Post ZIP" field.

In object-oriented programming, field is also called date member, and it is the data encapsulated within a class or object. There is an instance variable for each regular field in the case. For example, a student class has a student ID field and there is one distinct ID per student. A static field is one variable, which is shared by all instances.


: What is primary key and unique key?



Tags: field   database   relational database  

Readers also visit these:

How to compare and synchronize the data in different database tables?
What is data, database (DB), DBMS and DBS?
Which license is best for me?
How to install Database Compare in my local disk?
How can I get technical support?

Related Questions:

What is Database Integrity?
What is data, database (DB), DBMS and DBS?
What is role?
What is data backup and data recovery?
What is view (database)?