Hello MDPILWL,
And as I stated, the length of the column names will be being defined by
the CREATE TABLE statement. The column names should be being created as
they are in the XL Spreadsheet. I know of no setting in the XL driver that
would limit the name this way and I certainly know of no setting in DTS that
would do this.
Have you thought about creating the tables ahead of the import? That way
you KNOW what you will be getting.
If you want to use the wizard then make sure to have a look at the CREATE
TABLE statement being issued to SQL Server.
Allan
[quoted text, click to view] > Thanx Allan, but as I stated in my question below the problem is that
> I created a simple DTS that imports some tables from an excell
> spreadsheet that have column names between 80 and 100. It should alow
> those and not truncate them, correct?
>
> Is there some setting in SQL or the DTS package itself that will allow
> those names to at least go as high as the 128 limit?
>
> Thank you
> Jeff
> "Allan Mitchell" wrote:
>
>> Hello MDPILWL,
>>
>> You are right the length cannot be greater than 128
>>
>> CREATE TABLE T
>> (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
>> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
>> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
>> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa int)
>>
>> Msg 103, Level 15, State 4, Line 3
>>
>> The identifier that starts with
>> 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
>> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
>>
>> is too long. Maximum length is 128.
>>
>> And what is the definition of the destination table?
>>
>> Allan
>>
>>> I was told the max column name length for SQL 2000 was 128.
>>> I am trying to create a DTS package to create a table and import
>>> data
>>> from
>>> an excel spreadsheet where some of the column names are over 64 but
>>> under 100
>>> in length but when finished creating the table and importing the
>>> data,
>>> I look
>>> at the table and it has column names truncated to 64 charaters.
>>> Is there a setting I need to make to use the max 128 limit?
>>> TIA
>>> Jeff