标签:sys cal sql server data select column cts objects
--sqlserver查看存在字段的表
select object_name(id) objName,Name as colName
from syscolumns
where (name like‘%条形码%‘)
and id in(select id from sysobjects where xtype=‘u‘)
order by objname
;
--oracle查看存在字段的表
select column_name,
table_name,data_type ,data_length,data_precision,data_scale
from user_tab_columns where column_name=‘登录号‘;
标签:sys cal sql server data select column cts objects
原文地址:https://www.cnblogs.com/Px-Passion/p/13857797.html