在 SQL Server Management Studio 中表的上下文菜单中,公共项 Script Table as 下有几个项目:
In the context menu of a table in SQL Server Management Studio there are several items under the common item Script Table as:
SELECT to
INSERT to
UPDATE to
DELETE to
..
并且对于所有对象都相同,例如存储过程、函数等
and the same for all objects, e.g. stored procedures, functions, etc.
如何编辑该菜单使用的模板?
How can I edit the templates used by that menus?
您无法编辑 SQL Server Management Studio 使用的模板(这将是一个不错的功能).
You cannot edit the templates used by SQL Server Management Studio (which would be a nice feature).
您可以在 C:\Users\Username\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\Templates\Sql(对于 SQL Server2008)
You can create your own (parameterised templates) in C:\Users\Username\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\Templates\Sql (for SQL Server 2008)
这篇关于如何将 SSMS 脚本表编辑为模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
将每个子标记转换为具有多个分隔符的单列-SQLConverting Every Child Tags in to a Single Column with multiple Delimiters -SQL Server (3)(将每个子标记转换为具有多个分隔符的单列-SQ
如何从多个表创建视图?How can I create a view from more than one table?(如何从多个表创建视图?)
根据前一行内的计算值创建计算值Create calculated value based on calculated value inside previous row(根据前一行内的计算值创建计算值)
如何将表格的前两列堆叠成一列,但也仅将第三How do I stack the first two columns of a table into a single column, but also pair third column with the first column only?(如何将表格的前两列堆
递归 t-sql 查询Recursive t-sql query(递归 t-sql 查询)
将月份名称转换为日期/月份编号(问题和答案的组Convert Month Name to Date / Month Number (Combinations of Questions amp; Answers)(将月份名称转换为日期/月份编号(问题和答案的组合