sqlserver2008中的自定义字段可不可以是表?
lg314 2009-12-08 08:11:23 看标题的话可能蒙,sqlserver2008中存储过程可以用表变量,比如,但先要create 相应的type
create type aaa as table(ino int primary key)
然后存储过程中
create proc bbb @ccc as aaa readonly
as
select * from @ccc
从这里想到有没有可能一个表的字段是 aaa类型的表字段?