IBM Support

Required Field and Default Value function in Database Configuration

Troubleshooting


Problem

The purpose of this document is to provide documentation on the functionality of required fields and a required default value for existing records with null values in Database Configuration.

Resolving The Problem

When a user changes a database column from not required to required, and that column has existing instances of null data, Database Configuration will require a default value be provided to update the existing records with that value once the database was configured. The purpose of this functionality is to prevent future problems that could arise for a required field if a null value existed in existing records.

Going forward the field would be required and would prevent new records from being saved without a value.


It may not be appropriate for a default value to be specified. If this is the case, once the database wa configured successfully and the records containing null values were updated, it would be possible to go back and remove the default value, save, and reconfigure the database to remove the default value.
If you are making a field required that does not contain null values, you will not be prompted for a default value.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.2.1;6.2.2;6.2.3;6.2.4;6.2.5;6.2.6;6.2.7;6.2.8;7.1.1;7.5;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKTY","label":"Maximo Asset Management for IT"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6HJK","label":"Tivoli Service Request Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSKTXT","label":"Tivoli Change and Configuration Management Database"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

M04774

Product Synonym

MAXIMO

Document Information

Modified date:
17 June 2018

UID

swg21262178