Re: Strange schema behaviour
From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 01/07/05
- Next message: Paul Clement: "Re: timestamp insert / update only stores date"
- Previous message: Paul Clement: "Re: system.data.odbc.dataadapter fill bug? (framework 1.1)"
- In reply to: scbate_at_hotmail.com: "Strange schema behaviour"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 07 Jan 2005 07:36:46 -0600
On 7 Jan 2005 04:07:24 -0800, scbate@hotmail.com wrote:
¤ I have a schema that defines some tables.
¤
¤ Table1 say, has columns A, B, C, D and E
¤
¤ I would expect that when I create Table1 that the columns would be in
¤ the order specified i.e A,B,C,D,E.
¤
¤ However, for some reason that I cannot see the columns appear mixed up.
¤ When I place a breakpoint and examine the ColumnFromName collection
¤ which is a property of the Columns property of the Table they are in a
¤ different order.
¤
¤ Can anyone explain why this is so?
¤
¤ The tables are populated from CSV files produced by an ECR and so I'm
¤ relying on the column order.
¤
¤ Does anyone know why this happens or how I can ensure the table is
¤ created with columns in the same order as they are defined in the
¤ schema?
¤
I don't recall ever seeing this happen with a CSV file. Do you have some code you can post and a few
sample lines of the CSV file?
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
- Next message: Paul Clement: "Re: timestamp insert / update only stores date"
- Previous message: Paul Clement: "Re: system.data.odbc.dataadapter fill bug? (framework 1.1)"
- In reply to: scbate_at_hotmail.com: "Strange schema behaviour"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|