In most database design tools, you rename a field in the design grid by selecting its name cell and typing a new name, or by right-clicking the field row and choosing Rename. The key condition is that in a graphic query grid the header text is the field's display alias, while a true column rename must happen in the table design view or with an ALTER statement. Confusing the two is the most common reason a rename seems to work and then "reverts." This guide separates those layers, gives ordered steps for both, and covers the checks and details that keep queries, forms, and app code working after the change.
Reference date: November 13, 2026. The steps below describe stable behavior of widely used desktop and web database tools, including Microsoft Access, SQL Server Management Studio, SSMS Query Designer, LibreOffice Base, and phpMyAdmin. Menu labels vary slightly by version and language pack, so treat exact wording as a map rather than a guarantee.
First Decide Which "Name" You Are Changing
A field can carry several names at once, and the design grid exposes more than one of them. Before touching anything, decide what you actually want:
The stored column name. This is the name in the table definition, used by SQL, code, reports, and imports. Changing it is a schema change, permanent, and potentially breaking. The caption. In Access, a field has a Caption property that controls what users see in datasheets, forms, and labels, while the underlying column name stays intact. Renaming the caption is safe and invisible to queries. The query alias. In a query design grid, the Field row often shows either the raw field name or an alias like Expr1: [LastName]. Editing that header changes only how the result set labels the column. It doesn't touch the table.
If you only want a friendlier label on a report, change the caption. If you want cleaner SQL, change the column. If you want a column heading in a query result, change the alias. Pick one and follow the matching path below; mixing them up is what produces "it renamed but then went back."
Rename the Actual Column in Table Design View
This is the path for Access, SQL Server Management Studio's table designer, LibreOffice Base, and similar desktop tools. The design grid for a table shows Column Name, Data Type, and Description (SSMS) or Field Name, Data Type, and Description (Access).
Prerequisites. Close every open query, form, report, and datasheet that uses the field, or at least save and be ready to fix them. Have a backup or a recent export. Note any indexes, validation rules, default values, or lookup properties attached to the field, because some tools drop or relocate them during a rename. In multi-user databases, confirm nobody else is editing the table.
1: Open the table in Design View (right-click the table in the navigation pane and choose Design View, or use the equivalent menu command). 2: Click once in the Field Name (Access) or Column Name (SSMS) cell for the field you're renaming. The whole name highlights. 3: Type the new name and press Enter or Tab. Avoid spaces and reserved words; use underscores or camelCase instead. 4: Review the row's other properties. If the tool asks whether to update related objects, read the prompt carefully. 5: Save the table (Ctrl+S). In Access, if the field is used elsewhere, a dialog warns that related objects can't be updated and lists what you must fix manually. In SSMS, saving may instead open the "Save Change Script" or "Prevent saving changes that require table re-creation" warning. 6: Close Design View and reopen the table to confirm the new header. 7: Test one representative query, form, or report that used the old name.
Check for success. The new name appears in the table's datasheet header and in the field list, and the old name no longer autocompletes. A SELECT statement naming the old column now fails with an "invalid column name" or similar error; that error is expected and tells you which dependent objects still need updating.
If it fails or reverts. In SSMS, a rename that appears accepted but isn't saved is usually the "Prevent saving changes that require table re-creation" option blocking the save. You can either allow the re-creation for that operation after reviewing the generated script, or rename via sp_rename instead (below). In Access, a name that snaps back usually means you edited a query header rather than the table.
Rename a Field Directly in the Query Design Grid
Many people asking this question are looking at a query grid, where the Field row lists TableName.FieldName or an alias. You can change what that grid shows without altering the table.
For a display alias only:
1: Click in the Field cell of the column you want to relabel. 2: Move the cursor to the start of the entry and type an alias followed by a colon, for example Customer: [LastName] or FullName: [FirstName] & " " & [LastName]. The text before the colon becomes the column heading; the expression after it is the field reference. 3: Run the query. The datasheet or result grid should show the alias as the column header.
For an actual field rename from within a query:
1: Right-click the field row in the grid and look for a Rename Column or Rename Field command, or select the column and use the query design menu's rename option. 2: Accept the prompt that offers to update the field name in the underlying table and in related objects. Read the list it shows before confirming. 3: Save the query, then check the table design to confirm the column itself changed.
Check for success. The alias approach changes only the header; reopen the table design and the stored column name is untouched. The rename approach changes the table design too, so the field list shows the new name everywhere.
Watch for a subtlety. Aliases made with a colon can collide with saved queries that sort or filter on the old header. If a report references [LastName] as a column and you alias it to Surname, the report breaks unless you update it. Aliases are cheap to make and cheap to break; treat them as interface text, not as refactoring.
Use SQL When the Tool's Grid Is Blocking You
Sometimes the safest path is a statement rather than a menu, especially on servers where the designer's save is disabled or shared.
SQL Server:
sp_rename changes the column name and, for most objects, updates references inside stored procedures, views, and functions that SQL Server can track. It does not fix dynamic SQL, application code, or strings built at runtime, and it warns that renaming can break dependent scripts. Test in a copy first.
MySQL or MariaDB:
Or the older form ALTER TABLE customers CHANGE last_name surname VARCHAR(100);, which requires repeating the full type. RENAME COLUMN is the cleaner choice on current versions.
PostgreSQL:
SQLite: Recent versions support ALTER TABLE customers RENAME COLUMN last_name TO surname;. Older files require the table-rebuild routine: create a new table, copy data, drop the old one, rename the new one, and recreate indexes and triggers.
Check for success. Query the catalog (INFORMATION_SCHEMA.COLUMNS in SQL Server, MySQL, and PostgreSQL) and confirm the new name appears with the same data type and nullability. Then run your application's critical read and write paths.
Stop condition. If the column is referenced by replication, change data capture, an ORM's generated mappings, or a third-party integration you don't control, pause and coordinate with whoever owns those systems. Renaming a column that feeds a production integration is an outage waiting to happen, and the fix belongs with a DBA or integration owner rather than a lone grid edit.
Update Everything That Depended on the Old Name
A rename is only finished when the dependents are updated.
Queries and views. Open each saved query or view definition and confirm the old field name is gone. Tools that offer to update dependents mostly handle these; verify rather than assume. Forms, reports, and dashboards. In Access, bound controls store the field name in their Control Source property; the rename prompt lists them, but you still have to edit each one. Application code and ORM mappings. Search the codebase for the old name. Entity classes, DTOs, migration files, and raw SQL all carry it. Update them in the same release as the schema change. Indexes, constraints, and triggers. Most tools keep these attached when renaming, but a renamed column inside a manually written trigger body may not update. Inspect them. Imports, exports, and ETL. A CSV import that maps columns by name will fail or silently null the field. Documentation and data dictionaries. Cheap to forget, expensive to rediscover six months later.
Check for success. Run a full-text search for the old name in code and documentation; only intentional historical references should remain. Open the busiest form or report and confirm it loads.
Keep Old Queries Working During the Transition
If you can't update every dependent at once, a view can buy time.
1: Rename the column in the base table. 2: Create a view with the old name: CREATE VIEW v_customers AS SELECT customer_id, surname AS last_name FROM customers; 3: Point legacy reports and scripts at the view instead of the table. 4: Migrate dependents at your own pace, then drop the view.
The view keeps the old shape available without keeping the old column. Its limit is that it only covers readers; writers targeting the old name still need the real column or an updatable view. Plan a retirement date so the compatibility layer doesn't become permanent.
Pick Names That Survive the Next Rename
Avoid reserved words like order, group, or date unless quoted; they force awkward bracketing forever. Use a consistent case and separator convention, and stick to it. Mixed conventions make searches harder. Don't encode type or status in a name unless it's genuinely stable; phone_str ages badly. Prefer descriptive over abbreviated: customer_signup_date beats csdt. Watch length limits: SQL Server allows 128 characters for identifiers, MySQL 64, PostgreSQL 63. Keep names well under the limit in case table prefixes grow. Check for collisions with existing fields in the same table before saving.
A name chosen with these rules in mind rarely needs a second rename, which is the cheapest change of all.
Compare the Three Rename Paths
| Path | What changes | Scope of impact | Reversible? | Best for |
|---|---|---|---|---|
| Caption property | Display label only | Forms, datasheets, labels | Yes, instantly | Cosmetic labels |
| Query alias | Result column heading | That query's output | Yes, edit the grid | Report headings |
| Table design or ALTER | Stored column | Schema, queries, code, integrations | No, needs another rename | Real refactoring |
The trade-off is effort against permanence. Captions and aliases are one-click and harmless. Real renames are correct but require the dependent sweep above. Don't use a heavier path than the problem needs, and don't use a lighter one to fake a rename.
Common Snags and How to Read Them
"The rename won't stick." You're almost certainly editing an alias in a query grid, or in SSMS you're blocked by the table-recreation save option. Check the table design view to see the true stored name.
"It saved but queries now fail." The rename went through and some dependents weren't updated. Read the error's column name to find which query or view still uses the old one, then fix it.
"The rename prompt lists objects I don't recognize." Those are internal or hidden queries, possibly in the system tables or in an add-in. Note them, back up first, and don't blindly accept updates to objects you can't identify.
"Access updated the table but not my form." Access's rename reminder is a warning, not an automatic fixer. Open the form in Design View and update the Control Source for the affected control.
"The data type changed." Some SQL tools rebuild the table during rename and may reset collation, default constraints, or identity settings. Compare the full column definition before and after and restore anything that drifted.
A Worked Estimate of the Cost of Getting It Wrong
Suppose your application has 40 queries, 12 forms or pages, and a nightly ETL job that maps a last_name column by name. A real rename that misses the ETL will null the surname in tomorrow's warehouse load, and fixing it means a re-run and a data-quality reconciliation. Spending twenty minutes on a text search for the old name before you save is a trivial investment against that. The arithmetic is not the point; the point is that the dependent sweep is the actual work and the rename itself is the easy part.
If you're unsure whether something counts as a dependent, search first and decide second. The search is reversible; the production incident isn't.