2014-04-21 143 views
1

我想上传一个表,它给我的错误消息:“下面的新表具有无效的名称:”。它没有指出哪一个是无效的。我所有的专栏名称都是单词。不知道我可能违反哪些规则。以下是截图。SQL:无效的列名

enter image description here

DMS NOTDMS engine arsenic sediment cartilage articular bone freight solutions neutrino heart stripe plasma indoor calcium power fixture eye chloride tellurium alloys egg corrosion market antenna metal ice quantum invasibility interrupt ventilation ammonia pollen syringae text auxin editing compression copper dpp clock enduring taxes blue kinase dolomite meristem isoprene proteins halo context information type detector oxygen invariants aequorin attractors ribosome actin cellulose tubulin binding site disulfide midgut alternative oxidase fischeri agreement snow cements excluded attitudes law nucleotide music homotopy periplasmic translocation stomatal phosphoprotein flagellar late motors operons replication sigma recombination streamflow fluidity police muscle blood heme replicative kelps estrogen elderly witnesses fire splicing scaffolding subunits erosion reef climate abnormal operator holographic braided seeding kidney cortical photonic functor homology river alluvial sand inlet import nitrogenase aleurone maturation guard light inositol membrane clay lightning recycling amoebae dyneins thioredoxin coat 3-manifolds mercury diving sludge sources fluorine conductivity hydraulic glucose designs condensate amorphous treeline

+0

粘贴您的列名..可能是其中之一是关键字或contaisn无效字符 –

+0

列'引擎'可能导致此问题。 – Akshay

+0

该列表非常长... –

回答

0

短版:

  • 列名是没有问题的错误消息
  • 标题可能表明,并不是每一个记录有数据类型,你想他们是

我使用microsoft sql server 2008 R2 Express导入了上面提供的相同列名的平面文件(csv)。进口工作正常;每个列名都被导入。难道你的列名有一些不可见的字符会引起麻烦吗?

如果您提供更多信息,我们可以提供更好的帮助。

    SQL Server的版本是您使用
  • 提供文件的源
  • 提供额外的错误信息,并要导入的文件

的方式,也

  • 我的回答是,列名称不是问题 - 至少不用sql server 2008 R2 express。

  • 0

    甲骨文关键字:

    • (在信息类型

    SQL关键字可能会导致此问题:

    • 功率
    • 操作

    您需要更改这些列名,以避免任何进一步的错误。

    如何检查:将列表粘贴到任何SQL编辑器(Notepad ++)中。关键字突出显示。

    +0

    感谢提示。 –