Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
General
»
Import data into multiples tables or one?
Import data into multiples tables or one?
Rate Topic
Display Mode
Topic Options
Author
Message
AVB
AVB
Posted Monday, October 22, 2012 7:15 AM
SSC-Addicted
Group: General Forum Members
Last Login: Friday, March 01, 2013 6:02 AM
Points: 472,
Visits: 725
I'm building an import package for a CSV file that has about 200 columns. If every column was maxed out it would be about 2200 bytes and is well below the max table size. Should I split this up into multiple tables because of the amount of columns?
Post #1375412
Sean Lange
Sean Lange
Posted Monday, October 22, 2012 9:29 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 3:12 PM
Points: 8,957,
Visits: 8,523
AVB (10/22/2012)
I'm building an import package for a CSV file that has about 200 columns. If every column was maxed out it would be about 2200 bytes and is well below the max table size. Should I split this up into multiple tables because of the amount of columns?
My guess is that with that many columns the data could stand to be normalized. I would import it into a wide table and then normalize it. I don't see any reason to break this into 2 tables. If the rows were too wide then yes but otherwise it is going to be more work than needed.
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1375523
AVB
AVB
Posted Thursday, January 03, 2013 9:23 AM
SSC-Addicted
Group: General Forum Members
Last Login: Friday, March 01, 2013 6:02 AM
Points: 472,
Visits: 725
Sean,
Thanks for the reply. Appreciate it.
Post #1402444
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.