呵呵,你还卖ID挣钱!!??select name from sysobjects where typw='u'

解决方案 »

  1.   

    上面写错了:
    select name from sysobjects where type='u'
      

  2.   

    包括系统表
    select name from sysobjects where type in ('U','S')
    只有用户表
    select name from sysobjects where type = 'U'注意U必须大写
      

  3.   

    select 1 from sysobjects where type='u'
      

  4.   

    我用次语句但不型呀,亲给予帮忙!其中sa为默认用户名称,zgf为数据库名称   
     
       select    zgf    from sysobjects where type='sa '
       亲帮忙!!!!!!!!!!!!!