SQL Server写法
select [name] from sysobjects where id in(select id from syscolumns Where name='StudentID')
Oracle写法
select TABLE_NAME from SYS.USER_CONS_COLUMNS where COLUMN_NAME ='StudentID'
SQL Server写法
select [name] from sysobjects where id in(select id from syscolumns Where name='StudentID')
Oracle写法
select TABLE_NAME from SYS.USER_CONS_COLUMNS where COLUMN_NAME ='StudentID'