当我们把我们的《世界人权宣言》储存起来时,我们又增加了一个扩展的财产,表明其基础。 我想能够相互查阅<代码>sys.extised_properties,以获得一份以某一表格为准但extised_properties
的报价单。 拥有一个主要成分,其数量似乎与在<代码>sys.objects或<编码>上标的相同。
我需要什么样的魔 the?
当我们把我们的《世界人权宣言》储存起来时,我们又增加了一个扩展的财产,表明其基础。 我想能够相互查阅<代码>sys.extised_properties,以获得一份以某一表格为准但extised_properties
的报价单。 拥有一个主要成分,其数量似乎与在<代码>sys.objects或<编码>上标的相同。
我需要什么样的魔 the?
摘自有关玩具的在线入册,摘自“properties”,主自=物品_id,如果该类别=1、2或7。 如果你进行人工盘问,财产类别是什么? 我猜想如下:
select object_name([major_id]), [name], [value]
from sys.extended_properties
MSDN for sys.extended_properties describes both major_id and minor_id. Context depends on the class column.
http://msdn.microsoft.com/en-us/library/ms190324.aspx”rel=“nofollow” 当它具有意义时。
我以前曾用过这一方法来测试扩展性特性,因此我知道它是行之有效的。
然而,在阅读你的问题时,所储存的皮条延后财产与原纸上所用表格之间没有直接联系。 您必须经过sys.sql_expression_dependencies,如果我正确理解,可以联系。
major_id
。
如果班级为0,则主要班级为0。
If class is 1, 2, or 7 major_id is object_id.
其他班级似乎无证件,因此我不会依赖这些班子。 例如,CLR议会似乎有第5类(SqlAssembly ProjectRoot)。 就我而言,这种组装的<代码>major_id为65673,该编号在<代码>sys.objects中甚至有误。
EDIT:我要补充的是,有文件证明的有1,2,7 - 符合(1) 目的(如表格、储存程序)或第(2) 参数,(7) 指数。 在你看来,它应当涵盖你重新寻找的东西。
不是直接回答你的问题,而是增加一些资源:
我有关于将建筑内扩展的特性用于文件等内容的介绍:。
最近在卡斯特勒弗中央发行的Adam Aspin关于扩展财产的系列文章:
http://www.sqlserver central.com/articles/Metadata/72608/
I m trying to export some tables from SQL Server 2005 and then create those tables and populate them in Oracle. I have about 10 tables, varying from 4 columns up to 25. I m not using any constraints/...
In our database we have an SQL server account that has the correct roles to access some of the databases. We are now switching to windows authentication and I was wondering if we can create a NT user ...
I have been trying to execute a MS SQL Server stored procedure via JDBC today and have been unsuccessful thus far. The stored procedure has 1 input and 1 output parameter. With every combination I ...
Is it possible to use the sqlcmd command to dump table structure the way it can be done with mysqldump?
Hi I have the following SP, however when I use LINQ to SQL it generates 2 multiple recordsets. For my sanity I am trying to fathom out what it is in the stored procedure that is doing this and would ...
I want to create a table in MS SQL Server 2005 to record details of certain system operations. As you can see from the table design below, every column apart from Details is is non nullable. CREATE ...
I love the new DATE datatype in SQL Server 2008, but when I compare a DATE field to a DATETIME field on a linked server (SQL 2005, in this case), like this: DECLARE @MyDate DATE SET @MyDate = CONVERT(...
How to determine if a Transaction is active i.e. before issuing Begin Transaction I want to ensure that no previous transaction are open.. the platform is VB6, MS-SQL Server 2000 and ADO 2.8