drop table 表
不行吗?

解决方案 »

  1.   

    不行,报Cannot use DROP TABLE with 表名 because 表名 is a unknown type. Use DROP PRIMARY KEY CONSTRAINT
      

  2.   

    sysobjects裡的这条记录對應一個表名,你直接刪除裡央的一條記錄不行的,
    要用drop table 表名
      

  3.   

    用drop table 不行,报Cannot use DROP TABLE with 表名 because 表名 is a unknown type. Use DROP PRIMARY KEY CONSTRAINT