title: How does one change the default varchar 255 of a column when importing data from Excel to Sql Server using Import Export Wizard?
body: <p>I am trying to import data from excel to Sql Server using Import wizard. Everything seems fine in the first steps. The wizard is able to read the excel file and properly identify columns. But in the final step when the process actually runs, it fails giving the following errors:</p>
  
  <blockquote>
    <p>Error 0xc020901c: Data Flow Task 1: There was an error with output
    column "AlternateName" (24) on output "Excel Source Output" (9). The
    column status returned was: "Text was truncated or one or more
    characters had no match in the target code page.".  (SQL Server Import
    and Export Wizard)</p>
    
    <p>Error 0xc020902a: Data Flow Task 1: The "output column "AlternateName"
    (24)" failed because truncation occurred, and the truncation row
    disposition on "output column "AlternateName" (24)" specifies failure
    on truncation. A truncation error occurred on the specified object of
    the specified component.  (SQL Server Import and Export Wizard)</p>
    
    <p>Error 0xc0047038: Data Flow Task 1: SSIS Error Code
    DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "Source
    - Sheet1$" (1) returned error code 0xC020902A.  The component returned
    a failure code when the pipeline engine called PrimeOutput(). The
    meaning of the failure code is defined by the component, but the error
    is fatal and the pipeline stopped executing.  There may be error
    messages posted before this with more information about the failure. 
    (SQL Server Import and Export Wizard)</p>
  </blockquote>
  
  <p>The column, AlternateName has max data length of 658 chars. The destination table has the column AlternateName defined as varchar(1000). So I was not sure why am I getting this error. But then I noticed this </p>
  
  <p><img src="https://i.stack.imgur.com/pMMme.png" alt="enter image description here"></p>
  
  <p>I have a hunch that this may be causing the issue. But then how do I change the Source column defined as varchar 255 ?</p>