3

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?

4

2 に答える 2

1

sys.table_types代わりにクエリを実行してください。

于 2011-08-10T23:33:00.900 に答える
0

sys.types テーブルを確認してください。

select * from sys.types
 where name like '%listtype%'
于 2011-08-10T23:34:27.117 に答える