문제

Running a select on sys.objects for a type I created:

CREATE TYPE [dbo].[IntListType] AS TABLE(
[ID] [int] NULL) 


Select * From sysObjects Where Name Like '%listtype%'

I get the names back as follows:

name : TT_IntListType_2E4CAB33
xtype : TT
type : TT 

and stuff.

How do I get the access to the original name of dbo.IntListType?

도움이 되었습니까?

해결책

Query sys.table_types instead.

다른 팁

Check out the sys.types table.

select * from sys.types
 where name like '%listtype%'
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top