We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
我的所有脚本都以此开头:
当然,这意味着我有一个环境表,并且其中有“生产”、“开发”、“质量保证”等,具体取决于它的托管位置。
All my scripts start with this :
Of course this means that I have an environment table and have 'production' , 'development' , 'qa' etc. in it depending on where it is hosted.
干得好:
http://www.ssmstoolspack.com/
这个免费的 SSMS 插件为每个服务器提供窗口着色。
here you go:
http://www.ssmstoolspack.com/
this free SSMS addin provides windows coloring per server.
此 SQL 代码检查您是否位于正确的服务器上:
错误(或就此而言返回)将阻止执行,直到下一个 GO 语句为止。 例如,以下命令仍会打印 hello world,并删除 user 表:
This SQL code checks if you're on the right server:
An error (or return for that matter), will prevent execution until the next GO statement. For example, the following will still print hello world, and delete the user table:
您可以为您通常使用的用户在您的实时实例上设置不同的(有限的)访问权限。
然后使用不同的用户名在实时系统上执行任何重要的操作。
You can set different (limited) access right on you live instance for the user you normally use.
And then have a different user name for doing any serious stuff on the live system.