--- title: "Change Underlying SQL Server Table" slug: "making-changes-to-the-underlaying-sql-server-tables" description: "How SQL Spreads detects columns added, removed or changed in the underlying SQL Server table, and how to make it pick those changes up." updated: 2025-04-09T14:45:58Z published: 2025-04-09T14:45:58Z canonical: "sqlspreads.com/making-changes-to-the-underlaying-sql-server-tables" --- > ## Documentation Index > Fetch the complete documentation index at: https://sqlspreads.com/docs/llms.txt > Use this file to discover all available pages before exploring further. # Changing the underlaying SQL Server table ### Changing the columns in a SQL Server table SQL Spreads detects changes to the underlying SQL Server table every time the document is opened in Design mode, or when you have Design mode opened, and switch between the sheets in the document. #### Adding a new column If you add a new column to the table in SQL Server while working with the table in Design mode in SQL Spreads, then close and reopen the Design Mode in SQL Spreads by clicking the Design Mode button twice... ...and the new columns will show up in the last column position in the Columns tab in the SQL Spreads Designer: ![image.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/image%28131%29.png) You can then move the column to another position by clicking the column header and dragging it to a new position: ![image.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/image%28132%29.png) ### Renaming an column in SQL Server To detect the renaming of a column in SQL Server, close and reopen the Design mode or switch between the sheets in the document. SQL Spreads will then detect the change in the database and you will then see this confirmation dialog: ![image.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/image%28214%29.png) Specify what changes have been made to the column in the database and click OK. ### Changing the name of a database or table in SQL Server If you have changed the name of a database or table in SQL Server, close and reopen the SQL Spreads Designer by clicking the **Open Designer** button twice: ![SQL Spreads Click on Open Designer button](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/SQL%20Spreads%207.6.3%20Click%20on%20Open%20Designer%20button.PNG) SQL Spreads will then show a dialog to select the new name of the database and table: ![Moving document 5.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/Moving%20document%205.png) Click **OK** and the worksheet will be refreshed and will now use the new database and table names.