Although this option is automatically enabled by default for probably good reason, if this option is getting in your way, then you can disable it. It's simple:
Showing posts with label RDBMS. Show all posts
Showing posts with label RDBMS. Show all posts
Wednesday, July 29, 2009
Prevented from saving changes when changing database schema in SQL Server 2008
Although this option is automatically enabled by default for probably good reason, if this option is getting in your way, then you can disable it. It's simple:
.sql script to export, transfer or copy SQL Server 2008 database
Oftentimes there are many solutions to a problem and we want the simplest here. SQL Server 2008 has a surprisingly simple solution if it's not immediately obvious at first.
- open up SQL Server 2008 Management Studio
- right click on your database
- context menu appears, navigate to Tasks, then "Generate scripts..."
- you get a wizard which brings you to a window with the following options:

the only option worth noting is to set "Script Data" to true if you want to copy data with the schema.
The rest is self-explanatory because, well it's a wizard, but now you at least know that this tool exists.
Subscribe to:
Posts (Atom)