# Setting length for a column in the schema

You can use the length setting of a schema for the following two purposes.

* Setting the length of a table column when creating a database table.
* Validating incoming data through tSchemaComplianceCheck.

This section gives an example of using the length setting in a schema to set the length of a column of a database table. For more information about using tSchemaComplianceCheck to validate data, see [Validating data](https://help.qlik.com/talend/r/en-US/8.0/validation/tschemacompliancecheck-tlogrow-tfileinputdelimited-tfileinputdelimited-validating-data-against-schema-standard-component-enterprise-this).

### In this section

* [Setting the length of a database table column using schema](https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2024-06/setting-table-column-length-using-schema)