362 views
0 votes
0 votes
Can anyone give me an example of fixed length records and variable  length records with respect to any Relational table .?

I dont want definition of these terms .

1 Answer

Best answer
0 votes
0 votes

In database system, a field can have a fixed or a variable length. A variable length field is one whose length can be different in each record, depending on what data is stored in the field.

Variable length fields are useful because they save space. Suppose, for example, that you want to define a NAME field. The length of each NAME field will vary according to the data placed in it.

For example, Dexter is 6 character long, but Dexter Ji  is 9 characters long

A Fixed length record is one in which every field has a fixed length.

With Fixed-length fields, you would need to define each field to be long enough to hold the longest name. This would be a waste of space for records that had short names

selected by

Related questions

0 votes
0 votes
2 answers
1
Dexter asked Apr 29, 2016
581 views
W1(X)R2(Y)R1(Y)R2(X) ?Is it view Serializable or Conflict or both ?
0 votes
0 votes
0 answers
2
3 votes
3 votes
1 answer
3
Na462 asked Jan 26, 2019
1,956 views
2 votes
2 votes
1 answer
4
Na462 asked Jun 29, 2018
719 views
Here the indexing is done on ordered field so which to use Dense or Sparse because both can be done here ?