Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Visual studio 2010 ssis

Visual studio 2010 ssis

Scheduled Pinned Locked Moved Database
sql-servercsharpdatabasevisual-studiosysadmin
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Joanna Webster
    wrote on last edited by
    #1

    Hi Have a column in excel with department code like 23.45.345 I can't seem to import this column into SQL server table 2012.. trying a derived column with no joy...even tried formatting to string and SQL column is formatted to nvarchar Please help

    L S C 3 Replies Last reply
    0
    • J Joanna Webster

      Hi Have a column in excel with department code like 23.45.345 I can't seem to import this column into SQL server table 2012.. trying a derived column with no joy...even tried formatting to string and SQL column is formatted to nvarchar Please help

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      It is difficult to help without knowing how you are trying to import it, and exactly what happens in your code.

      1 Reply Last reply
      0
      • J Joanna Webster

        Hi Have a column in excel with department code like 23.45.345 I can't seem to import this column into SQL server table 2012.. trying a derived column with no joy...even tried formatting to string and SQL column is formatted to nvarchar Please help

        S Offline
        S Offline
        Simon_Whale
        wrote on last edited by
        #3

        Would be good to see the actual error message. Does the data that you are trying to import only have the 1 column? does the import get to a certain row number?

        Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

        1 Reply Last reply
        0
        • J Joanna Webster

          Hi Have a column in excel with department code like 23.45.345 I can't seem to import this column into SQL server table 2012.. trying a derived column with no joy...even tried formatting to string and SQL column is formatted to nvarchar Please help

          C Offline
          C Offline
          Chris Quinn
          wrote on last edited by
          #4

          SSIS has a problem importing data from Excel if the first few rows (5 I think) are in numeric format, but subsequent rows contain data that cannot be parsed as numerical. There is a way of changing the connection from SSIS to get it t not guess the column type - you need to set IMEX=1 in the connection string Check this article - [Importing data from Excel having Mixed Data Types in a column (SSIS) | Tech Updates](https://munishbansal.wordpress.com/2009/12/15/importing-data-from-excel-having-mixed-data-types-in-a-column-ssis/)

          ========================================================= I'm an optoholic - my glass is always half full of vodka. =========================================================

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups