CREATE PROCEDURE XGetCluster 
AS 
    SET NOCOUNT ON 
     
    select  a.ScopeName, isnull(b.CurrentLoad,'no') As CurrentLoad,isnull(c.ConnectionCount,'no') As Con 
nectionCount,a.MasterDispatcher As MasterDispatcher,a.SiteN 
ame from XNetCluster As a, 
  XNetServer As b ,XNetRunTable As c  where a.ScopeID = b.ScopeID AND a.SiteID 
=c.SiteID  

解决方案 »

  1.   

    CREATE PROCEDURE XGetCluster 
    AS 
        SET NOCOUNT ON 
         
        select  a.ScopeName, isnull(b.CurrentLoad,'no') as CurrentLoad,isnull(c.ConnectionCount,'no') As Con 
    nectionCount,a.MasterDispatcher As MasterDispatcher,a.SiteN 
    ame from XNetCluster As a, 
      XNetServer As b ,XNetRunTable As c  where a.ScopeID = b.ScopeID AND a.SiteID 
    =c.SiteID
      

  2.   

    myflok(阿棋) pengdali(大力 V2.0) 
    感谢csdn的朋友