sp_MSforeachtable @command1 = "select * from ? where uuid = '40f128ba-fd52-46a7-9856-622f8cf33d3e'"

解决方案 »

  1.   

    exec sp_MSforeachtable @command1 = "select * from ? where uuid = '40f128ba-fd52-46a7-9856-622f8cf33d3e'"
      

  2.   

    exec sp_MSforeachtable @command1 = "select * from ? where uuid = '40f128ba-fd52-46a7-9856-622f8cf33d3e'"
    只能返回一百条记录,但是数据库中的表有上百个,系统报错:
    The query has exceeded the maximum number of result sets that can be displayed in the results grid. Only the first 100 result sets are displayed in the grid.
    请问如何解决?