ADO Dataset has ten fields in it. And the size of each field is 2 bytes.
If the dataset fields are filled with null values, will it still occupy the space of 2 bytes for each field, and 20 bytes of data is sent over the network?
ADO Dataset has ten fields in it. And the size of each field is 2 bytes.
If the dataset fields are filled with null values, will it still occupy the space of 2 bytes for each field, and 20 bytes of data is sent over the network?
Some space will be taken up. The amount depends on the actual database type you're using, and it's probably an implementation detail you shoudn't care about.
For example the Firebird
database compresses all records when it writes them to disk. A raw of NULL's will probably take up less then a raw of 128 byte long strings. But it might take up the same amount of text as a raw of ZERO's.