--- title: "Setting up your columns" slug: "selecting-columns" description: "Use the Columns tab to control how SQL Server columns appear in Excel. Changes affect only the Excel view, not the table structure in SQL Server." updated: 2026-11-11T11:06:42Z published: 2026-11-11T11:06:42Z canonical: "sqlspreads.com/selecting-columns" --- > ## 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. # Setting up your columns In the Columns tab in the SQL Spreads Designer you can setup how your SQL Server table columns will be shown in Excel. Note: Changes only affect what is shown in Excel, not how your table is setup in SQL Server. ### Video - Setup your columns and rows [![Watch video: Set up how your SQL Server columns and rows are shown in Excel](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/Set%20up%20columns%20and%20rows%20in%20SQL%20Spreads%20600px.png)](https://www.youtube.com/watch?v=lSG1eteqYqI?rel=0) ### Show or hide columns Use the checkboxes in the Show column to select which columns to show in Excel. ![Checkboxes.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/Checkboxes.png) Use the header checkbox to select/unselect all. [![Watch video: Set up how your SQL Server columns and rows are shown in Excel](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/WatchVideoButtonWhite%202%20-%20Red.svg)](https://www.youtube.com/watch?v=lSG1eteqYqI&start=17&end=31) --- ### Set columns to Read Only Use the checkboxes in the **Read Only** column to select which columns should be locked for editing in Excel. ![Read only.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/Read%20only.png) Use the header checkbox to select/unselect all. [![Watch video: Set up how your SQL Server columns and rows are shown in Excel](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/WatchVideoButtonWhite%202%20-%20Red.svg)](https://www.youtube.com/watch?v=lSG1eteqYqI&start=31&end=45) --- ### Rename columns Update the Header texts that are shown in Excel by editing the name for each column in the Designer. ![Rename.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/Rename.png) [![Watch video: Set up how your SQL Server columns and rows are shown in Excel](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/WatchVideoButtonWhite%202%20-%20Red.svg)](https://www.youtube.com/watch?v=lSG1eteqYqI&start=45&end=52) --- ### Rearrange column order To rearrange the order of the columns in Excel, use "drag and drop" to move the columns up and down in the designer. ![rearrange.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/rearrange.png) [![Watch video: Set up how your SQL Server columns and rows are shown in Excel](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/WatchVideoButtonWhite%202%20-%20Red.svg)](https://www.youtube.com/watch?v=lSG1eteqYqI&start=52&end=60) ### Move column to Top or Bottom of the table If you have many columns in a table, you might want to quickly move a column to either the top or bottom of the table. To move a column to the top or bottom of a table, you can right-click on the left hand side of the Header Text column and select one of the options "Move to Top" or "Move to Bottom". ![Move column to the top or bottom of the list(1)](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/Move%20column%20to%20the%20top%20or%20bottom%20of%20the%20list%281%29.png) --- ### Adding lookups with drop-down lists SQL Spreads can show database populated Drop-Down lists in the cells in Excel to restrict the end-users to only select from a pre-defined list of values. ![image.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/image%28169%29.png) The Drop-Down lists can also show a text value to the user but insert a corresponding key value into the database column. You can read more about setting up Drop-Down lists in the article [Lookup key columns and replace with texts](https://sqlspreads.com/docs/replace-key-values-with-texts). ### Other Column settings There are a number of additional column settings that can be reached by clicking the small Cog on the right-side of the Column tab in the SQL Spreads Designer: ![image.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/image%28172%29.png) #### View a column's data type and details To show details about a database column, you can hover over the Cog in the right-most column: ![image.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/image%28168%29.png) You can also click the Cog to view the Column Details dialog where you can see the column's details at the top: ![image.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/image%28215%29.png) #### Specifying a default value --- > ![SQLSpreadsProLogo.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/SQLSpreadsProLogo.png) Using Default values requires **SQL Spreads Pro** or higher plan --- You can set a default value for a column to use when the user does not enter any value when inserting new rows. ![image.png](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/image%28216%29.png) The Default value can be used for editable columns, and also for Read-Only, Hidden and Drop-Down list columns. ### Dynamically set columns to Read-Only This new feature allows you to dynamically lock SQL Server columns from being edited based on a formula or the value in an Excel cell. For example, in the scenario below, past months are locked when entering forecast values: ![Dynamically set columns to Read-Only example ](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/Dynamically%20set%20columns%20setting%20in%20the%20SQL%20Spreads%20Designer%20example.PNG) These are the steps required to dynamically set a column to Read-Only: 1. Go to the Columns tab in the SQL Spreads Designer. Click the new Dynamic Column Locking icon located below the list of columns: ![Dynamically set columns setting in the SQL Spreads Designer](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/Dynamically%20set%20columns%20setting%20in%20the%20SQL%20Spreads%20Designer.PNG) 2. In the dialog that appears, select the sheet and specify the cell reference containing the list of columns to be set as Read-Only: ![Dynamic set column configuration with worksheet name and cell reference](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/Dynamic%20set%20configuration%20with%20worksheet%20name%20and%20cell%20reference.PNG) 3. Click OK. 4. In the specified cell, enter a comma-separated list of column numbers that should be set to Read-Only: ![Enter comma-separated list of column numbers that need to be set to Read-Only](https://cdn.document360.io/ad9d65b3-9cdd-4b28-8cb8-86cb149873bc/Images/Documentation/Enter%20comma-separated%20list%20of%20columns%20numbers%20to%20be%20set%20to%20Read-Only.PNG) Cell reference details The cell controlling the Dynamic Read-Only setting can either contain: - A comma-separated list of columns to lock, e.g., "1,2,3", or - A range of columns to lock, e.g., "2-7". :::: Formulas You can use an Excel formula in the cell that controls the Dynamic Read-Only setting. This allows you to dynamically calculate which columns should be locked based on specific conditions or values in your spreadsheet. ::::