Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 5760

SQL Server Management Studio - Prevent Saving changes that require table re-creation

$
0
0

Hi,

I know there's an option in the SSMS to remove the hook at the option

"Prevent Saving changes that require table re-creation".

But how can I set the option silent. I mean for instance at the setup or by a secret T-SQL command or setting a value in a hidden file? I don't want the user to open the options dialog.

Help would be appreciated. Thanks

EDIT:

Hi, thanks to all answers.

I found a way to solve this after I stumbled over the word "registry" in some community.

Then I logged the registry by a tool and alas there was it. So the thing is to set

the registry entry by our own setup after installing the SSMS.


[HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\12.0\DataProject]
"WarnTablesReCreated"=dword:00000001





Viewing all articles
Browse latest Browse all 5760


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>