SQL Azure Server テーブル定義取得

select * from sysobjects where xtype = 'U' order by xtype, name

Azure ではこれ使えなかったんで View で
ちょっと追加してるけど。

select	objs.name
	, objs.object_id
	, objs.type
	, cols.name
	, cols.column_id
from	sys.all_objects objs
	, sys.all_columns cols
where	objs.object_id = cols.object_id
and	( type = 'U' or type = 'V' )
order by	type
	, objs.object_id
	, column_id

Azure は RDB じゃないんで Insert とかガシガシやって select してみたいな。