2014-04-21 65 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

    感謝提示。 –