判断对象类型 -objectpropertyex

SELECT objectpropertyex (OBJECT_ID(‘VR_bswGoods’), ‘IsView’)
IsSystemTable
IsUserTable
IsView
IsTable
IsTableFunction
IsTrigger

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注