Rank: Member
Joined: 9/15/2008(UTC) Posts: 17
|
Hi, I have a big amount of Data in CSV file is there any way to import data from CSV file to BVC5 Db.
Becuse manually doing it would take more than 4,5 days.
|
|
|
|
Rank: Member
Joined: 6/27/2007(UTC) Posts: 63
|
Nabel, what data do you have (products, categories, orders, customers, etc)? If you know .NET you could create a script that inserts these items into the db using these calls. You could also theoretically create SQL queries in the spreadsheet itself as an insert statement for each line, but with certain things when they're created they're actually inserted in more than one table, so it's just something to watch out for. If they're products you're trying to import, you'll need to be concerned about inventory, images, and categorization. We're actually working on a customization for a client right now that takes a spreadsheet and allows them to import products.... |
|
|
|
|
Rank: Member
Joined: 8/1/2007(UTC) Posts: 310
|
Best would be this: 1. Import your data from the csv files and spreadsheets to SQL directly. SQL already supports importing data from different file formats (you can create new tables to hold your imported data). 2. Once you have the data in SQL tables, move it around as appropriate using direct SQL queries.
But you need to know what data goes where. |
Thanks, Satya support @ bayquel.net Work: +1 803 883 3226 |
|
|
|
Rank: Member
Joined: 10/16/2008(UTC) Posts: 9
|
Actually we have to insert product data in tables, now i don't know whether system automatically generate primary keys where needed. or i have to insert these manually. and also these unique keys are like "GJ23HF4U5543H65GTI" mean to say looking no format.
thanks for any help.
|
|
|
|
Rank: Member
Joined: 6/27/2007(UTC) Posts: 63
|
For the primary key (bvin) you can create a primary key in your SQL statement by using the newid() parameter - this will create a unique, 32 digit GUID that is typically used by BV (36 digits if you count the 4 hyphens). Hope that helps. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.