Update Column Properties for a Data Extension
This page contains information about updating the properties of a column within an existing data extension.
You can update column properties in an existing data extension to change how the data extension handles information. For example, you can change the number of characters allowed within a field as necessary.
Note that you must specify the ObjectID for the DataExtensionField object to ensure you update the correct field. Otherwise, the SOAP API tries to add the update as a new column with the same name as the existing column and produces an error. Use the Retrieve method on the DataExtensionField object to find the ObjectID value. Use the sample code below as a model for your own API calls: