gpt4 book ai didi

sql-server - T-SQL : sp_MSdependencies Flags parameter

转载 作者:行者123 更新时间:2023-12-03 02:34:23 30 4
gpt4 key购买 nike

谁能告诉我

的 flags 参数的有效值是什么

sp_MSdependencies 存储过程

尤其是它们的含义。

最佳答案

运行此命令将为您枚举选项。

exec sp_MSdependencies '?'

返回:

sp_MSobject_dependencies name = NULL, type = NULL, flags = 0x01fd
name: name or null (all objects of type)
type: type number (see below) or null
if both null, get all objects in database
flags is a bitmask of the following values:
0x10000 = return multiple parent/child rows per object
0x20000 = descending return order
0x40000 = return children instead of parents
0x80000 = Include input object in output result set
0x100000 = return only firstlevel (immediate) parents/children
0x200000 = return only DRI dependencies
power(2, object type number(s)) to return in results set:
0 (1 - 0x0001) - UDF
1 (2 - 0x0002) - system tables or MS-internal objects
2 (4 - 0x0004) - view
3 (8 - 0x0008) - user table
4 (16 - 0x0010) - procedure
5 (32 - 0x0020) - log
6 (64 - 0x0040) - default
7 (128 - 0x0080) - rule
8 (256 - 0x0100) - trigger
12 (1024 - 0x0400) - uddt
shortcuts:
29 (0x011c) - trig, view, user table, procedure
448 (0x00c1) - rule, default, datatype
4606 (0x11fd) - all but systables/objects
4607 (0x11ff) - all

关于sql-server - T-SQL : sp_MSdependencies Flags parameter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4606598/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com