求简化sql语句,或求一条语句
发布网友
发布时间:2024-10-03 01:32
我来回答
共4个回答
热心网友
时间:2024-11-06 01:27
select a.name
from run..sysobjects a
where name in(select name from run..sysobjects a , run..syscolumns b where a.id=b.id and name in('aaa','bbb','ccc')
)
热心网友
时间:2024-11-06 01:30
一个字乱
热心网友
时间:2024-11-06 01:29
给个语法实例你,,,你自己慢慢套
select d.name,a.name ,b.name ,a.length, a.isnullable from syscolumns a, systypes b,sysobjects d
where a.xtype=b.xusertype and a.id=d.id and d.xtype='U'
热心网友
时间:2024-11-06 01:34
select a.name from run..sysobjects a , run..syscolumns b where a.id=b.id and b.name in('aaa','bbb','ccc')