- Jan 19, 2006
- 1,117
- 1
- 0
I don't have experience with many DB's, so apologies if this is an obvious question.
Just learned that SQL Server allows importing files with variable columns into a table. So if table exists with 5 columns, then
Col1, Col2, Col3, Col4, Col5
aaa,bbb,ccc,ddd,eee
111,222,333
fff,ggg,hhh,iii,jjj
is imported as
Col1, Col2, Col3, Col4, Col5
aaa,bbb,ccc,ddd,eee
111,222,333, NULL, NULL
fff,ggg,hhh,iii,jjj
Teradata doesn't allow this, and I could be wrong but I don't THINK Oracle allows this. Is this common among other DB's? Just seems odd to allow this, I'd imagine different number of columns in a record usually means a data issue, can't really make an assumption whether missing columns were from beg/mid/end.
Just learned that SQL Server allows importing files with variable columns into a table. So if table exists with 5 columns, then
Col1, Col2, Col3, Col4, Col5
aaa,bbb,ccc,ddd,eee
111,222,333
fff,ggg,hhh,iii,jjj
is imported as
Col1, Col2, Col3, Col4, Col5
aaa,bbb,ccc,ddd,eee
111,222,333, NULL, NULL
fff,ggg,hhh,iii,jjj
Teradata doesn't allow this, and I could be wrong but I don't THINK Oracle allows this. Is this common among other DB's? Just seems odd to allow this, I'd imagine different number of columns in a record usually means a data issue, can't really make an assumption whether missing columns were from beg/mid/end.
