SQL record internals

You need to be aware of the internal layout of an SQL record in any of these situations:

Four bytes precede each structure item in an SQL record. The first two bytes are a null indicator, and a null is interpreted as any negative value. The second two bytes are reserved for use as a length field, and you should not access that field.

Related concepts
Function part
Program part
SQL support

Related reference
Assignments