<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/tackle-real-database-changes-with-sql-projects-in-vs-code-data-exposed-oxem36wjg" -->

---
title: Tackle real database changes with SQL projects in VS...
description: A Data Exposed episode demonstrates new SQL projects capabilities in VS Code via the MSSQL extension. Using the AdventureWorks sample database, the host shows...
canonical: https://daily.dev/posts/tackle-real-database-changes-with-sql-projects-in-vs-code-data-exposed-oxem36wjg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Tackle real database changes with SQL projects in VS Code | Data Exposed | daily.dev
og:description: A Data Exposed episode demonstrates new SQL projects capabilities in VS Code via the MSSQL extension. Using the AdventureWorks sample database, the host shows...
og:url: https://daily.dev/posts/tackle-real-database-changes-with-sql-projects-in-vs-code-data-exposed-oxem36wjg
og:image: https://api.daily.dev/og/posts/oxeM36WJg.png
og:image:alt: Tackle real database changes with SQL projects in VS Code | Data Exposed
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Tackle real database changes with SQL projects in VS Code | Data Exposed

**[Microsoft Developer](https://daily.dev/sources/microsoftdeveloper)** · 7 min read · 0 upvotes · 0 comments

## Summary

A Data Exposed episode demonstrates new SQL projects capabilities in VS Code via the MSSQL extension. Using the AdventureWorks sample database, the host shows disconnected IntelliSense that flags schema errors as you edit, a rename-symbol refactor that renames a table across the whole project and generates a refactor log so deployments run as a fast SP_RENAME instead of a drop-and-recreate, and publish profiles for managing deployments to dev, staging, and production with options like automatic indexing and preserving indexes not in source. Table renaming has long existed in SQL projects but is newly available in VS Code.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=I8tgsDFJE1k>

## Questions this post answers

### How does renaming a table in a SQL project avoid losing data during deployment?

Renaming a table or column through the SQL project rename symbol feature generates a refactor log XML file that tells the deployment operation to use an SP_RENAME statement instead of a drop-and-create or copy-data operation. This means the underlying data stays in place and the rename executes quickly, rather than requiring a costly data migration.

_Track SQL tooling updates like safe schema refactoring workflows on daily.dev before your next migration._

### What is a publish profile in SQL Server database projects used for?

A publish profile captures deployment configuration such as advanced options like automatic indexing and whether to drop indexes not present in source control, tailored to a specific target like a development, staging, or production server. Saving these profiles lets developers quickly reuse deployment settings across many servers instead of reconfiguring options each time.

_Developers comparing deployment workflows across environments can follow SQL tooling changes on daily.dev._

## Similar posts on daily.dev

- [Refactor your database with SQL projects in VS Code](https://daily.dev/posts/refactor-your-database-with-sql-projects-in-vs-code-xfqstg3mx) · DevBlogs · 0 upvotes · 0 comments
- [A better way to work with SQL Server](https://daily.dev/posts/a-better-way-to-work-with-sql-server-thprghiwd) · InfoWorld · 3 upvotes · 0 comments

---

Tags: [#database](https://daily.dev/tags/database), [#vscode](https://daily.dev/tags/vscode), [#microsoft-sql-server](https://daily.dev/tags/microsoft-sql-server)

[View this post on daily.dev](https://daily.dev/posts/tackle-real-database-changes-with-sql-projects-in-vs-code-data-exposed-oxem36wjg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Tackle real database changes with SQL projects in VS Code | Data Exposed","url":"https://daily.dev/posts/tackle-real-database-changes-with-sql-projects-in-vs-code-data-exposed-oxem36wjg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/tackle-real-database-changes-with-sql-projects-in-vs-code-data-exposed-oxem36wjg"},"datePublished":"2026-08-27T16:12:01.983Z","dateModified":"2026-09-14T09:22:28.467Z","description":"A Data Exposed episode demonstrates new SQL projects capabilities in VS Code via the MSSQL extension. Using the AdventureWorks sample database, the host shows...","image":"https://i.ytimg.com/vi/I8tgsDFJE1k/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/I8tgsDFJE1k/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Microsoft Developer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Microsoft Developer","logo":"https://media.daily.dev/image/upload/s--xZzU3zUq--/f_auto/v1746714872/logos/microsoftdeveloper","url":"https://daily.dev/sources/microsoftdeveloper"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/tackle-real-database-changes-with-sql-projects-in-vs-code-data-exposed-oxem36wjg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"database,vscode,microsoft-sql-server","timeRequired":"PT7M","video":{"@type":"VideoObject","name":"Tackle real database changes with SQL projects in VS Code | Data Exposed","description":"A Data Exposed episode demonstrates new SQL projects capabilities in VS Code via the MSSQL extension. Using the AdventureWorks sample database, the host shows...","thumbnailUrl":"https://i.ytimg.com/vi/I8tgsDFJE1k/sddefault.jpg","uploadDate":"2026-08-27T16:12:01.983Z","duration":"PT7M","url":"https://api.daily.dev/r/oxeM36WJg","embedUrl":"https://www.youtube.com/embed/I8tgsDFJE1k"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Microsoft Developer","item":"https://daily.dev/sources/microsoftdeveloper"},{"@type":"ListItem","position":3,"name":"Tackle real database changes with SQL projects in VS Code | Data Exposed"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/tackle-real-database-changes-with-sql-projects-in-vs-code-data-exposed-oxem36wjg#faq","mainEntity":[{"@type":"Question","name":"How does renaming a table in a SQL project avoid losing data during deployment?","acceptedAnswer":{"@type":"Answer","text":"Renaming a table or column through the SQL project rename symbol feature generates a refactor log XML file that tells the deployment operation to use an SP_RENAME statement instead of a drop-and-create or copy-data operation. This means the underlying data stays in place and the rename executes quickly, rather than requiring a costly data migration. Track SQL tooling updates like safe schema refactoring workflows on daily.dev before your next migration."}},{"@type":"Question","name":"What is a publish profile in SQL Server database projects used for?","acceptedAnswer":{"@type":"Answer","text":"A publish profile captures deployment configuration such as advanced options like automatic indexing and whether to drop indexes not present in source control, tailored to a specific target like a development, staging, or production server. Saving these profiles lets developers quickly reuse deployment settings across many servers instead of reconfiguring options each time. Developers comparing deployment workflows across environments can follow SQL tooling changes on daily.dev."}}]}
```

