如标题,谢谢!!

解决方案 »

  1.   

    类似于这样写
    if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Card_Info]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
    drop table [dbo].[Card_Info]
      

  2.   

    if exists(select table_name from information_schema.tables
    where table_name='name')
    drop table 'name'
      

  3.   

    select name from sysobjects
      

  4.   

    你要熟悉一下,sql2000的系统视图才行。比如楼上说的,首先你联上111。
    select name from sysobjects where name='222'
    drop table '222'.  呵呵,我这里没有sql2000,只能给你解释一下上面各位大侠的意思。你先到查询分析器里试一下,就是运用一下系统视图。
      

  5.   

    SQL2000有个系统表,,就是存放用户表的表,,,查询一下就是了