DeleteListColumn
Removes a column from a SharePoint list. Useful for refining list structures and eliminating redundant fields.
Stored Procedure-Specific Information
The DeleteListColumn stored procedure removes a column from a SharePoint list. The List parameter specifies the list name, and the ColumnName parameter specifies the name of the column to delete.To execute this procedure, enter:
EXEC DeleteListColumn List = 'organizations', ColumnName = 'testColDisplayName';
Input
| Name | Type | Required | Description |
| List | String | True | The name of the SharePoint list from which the column should be deleted. Example: 'EmployeeRecords' or 'ProjectTasks'. |
| ColumnName | String | True | The name of the column to delete from the specified list. Example: 'StartDate' or 'ProjectStatus'. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the column deletion was successful. Returns 'true' if the column was deleted successfully, otherwise 'false'. |