select Name from sysobjects where id=object_id('表名')

解决方案 »

  1.   

    好象不行啊,能说具体点吗?
    我用的是access数据库,
    假如我有个表叫Company,
    具体该怎么写?
    谢谢!
      

  2.   

    用DELPHI吗 ADOTABLE1.gettablename(listbox1.items)
      

  3.   

    你用的是access数据库,关SQL--SERVER什么事。
      

  4.   

    select col_name(object_id('填写你的表名'),ordinal_position)
    from information_schema.columns 
    where table_name='你的表名'