表名:tab_abce
exec sp_MSforeachdb @command1='USE ? if exists(SELECT 1 from sysobjects where id=object_id(''tab_abce'')) PRINT ''?'''
本文来自博客园,作者:abce,转载请注明原文链接:https://www.cnblogs.com/abclife/p/16602387.html